$\displaystyle \sum_{i=1}^n i^2 = \frac{1}{6}n(n+1)(2n+1) $

edit , it works now,