Katex

\begin{aligned}\sum_{m = 1}^{^{\infty} _{} } & \sum_{m = n}^{^{m = \infty}} \frac{1}{m^2}\end{aligned}