\documentclass{article}
\pagestyle{empty}
\begin{document}
\begin{math}
\bar{n}_i = \frac{1}{e^{(\varepsilon_i-\mu) / k T} + 1}
\end{math}
\end{document}
