\documentclass[12pt]{article}

\begin{document}

$$  
  E = \sum_{n=1,5} A_n  \cos^{n-1}(\phi)
$$

\end{document}