# Direct expression for sum of squares

How do you go from $$\sum_{n = 1}^n i^2$$ to $$\frac{n(n + 1)(2n + 1)}{6}$$?

arildno
Homework Helper
Gold Member
Dearly Missed
Prove the formula by induction.

I think you forgot to include something, what you wrote should simplify to $n i^2$.

Edit: Unless I'm missing something

arildno