In an inductive proof example, my book starts with the identity stating $$\sum\limits_{i=1}^n \sum\limits_{j=1}^i j = \frac{n(n+1)(n+2)}{6}\;.$$ As a sidenote, it says they reached this identity by conjecture, calculating the double sum for low values of $n$. How on earth did they see this?
I attempted this expansion (don't know if it's right): $$\sum\limits_{i=1}^n \sum\limits_{j=1}^i j = \sum\limits_{i=1}^n (1 + 2 +\ldots+i) = 1 + 2 + \ldots + \sum\limits_{i=1}^n i = 1 + 2 + \ldots + (1 + 2 + \ldots + n)\;.$$
From this, I don't see how they arrived at the fractional cubic polynomial. Any help would be appreciated! Thanks.
Hint: You have to use the identity $$ \sum_{i=1}^nn^2=\frac{n(n+1)(2n+1)}{6}. $$