Generalize the argument for the Saha equation, so as to obtain the following equation for the ratio of densities of ions in a plasma:
$$
\frac{n_{i+1}}{n_i}=\frac{2 g_{i+1}}{g_i n_{\mathrm{e}}}\left(\frac{m_{\mathrm{e}} k_{\mathrm{B}} T}{2 \pi \hbar^2}\right)^{3 / 2} e^{-\Delta E / k_{\mathrm{B}} T},
$$
where $i$ is the degree of ionization and $g_i=Z_{\text {int, }, i}$.