TeX source:
\sum_{\mathrm{k}=1}^{3}\left(\mathrm{a}_{\mathrm{k}}^{2}\right)