test
$ $ ∑ i = 0 n i 2 = ( n 2 + n ) ( 2 n + 1 ) 6 $ $ {\displaystyle \$\$\sum _{i=0}^{n}i^{2}={\frac {(n^{2}+n)(2n+1)}{6}}\$\$}