I don't get this formula:
$$\sum_{i=1}^n i^2 = n(n+1)(2n+1)/6$$
Of course, I know that n means that we can plug in its place any natural number and doing the computation. Instead, I am not sure if I get what is the role of i, in this case, as the formula just states that i=1.
In order to understand it, I tried the computation with n = 1 and I have an identity. However, if I try n = 2, on the right side of the equation, should I have 5: 2(2+1) (2*2+1) = 2*3*5 = 30 / 6 = 5... So, I don't understand the formula.