I'm from Italy so maybe my English could be bad. To prove that
$$
S=\sum_{k=1}^{n} k^2 = \frac{n(2n+1)(n+1)}{6}
$$
we can consider the series:
$$
\sum_{k=1}^{n}\left((k-1)^3-k^3\right) \, .
$$
Note that
\begin{align}
(k-1)^3 &= k^3 -1 -3k^2 +3k \\[5pt]
(k-1)^3 - k^3 &= -1 -3k^2 +3k
\end{align}
and so
\begin{align}
\sum_{k=1}^{n}((k-1)^3 - k^3) &= \sum_{k=1}^{n}(-1 -3k^2 +3k) \\[5pt]
-n^3 &= -n -3S + \frac{3n(n+1)}{2}
\end{align}
etc etc
I understand why this proof works, but I dont understand the initial thought to use $(k-1)^3$ and same for $\sum_{k=1}^{n} k^3$ we can start from $(k-1)^4$ and so on. Which reason there is behind that?
I hope to have been clear. Thanks for the attention.