\documentclass[12pt]{article}
\begin{document}
$$
E = \sum_{n=1,n} A_n \cos^{n-1}(\phi)
\end{document}