I was searching for methods to compute $\sum_{k\le n} k^2$. I stumbled across this (which is an answer provided by Gareth Rees to this question).
"..Represent $k^2$ in terms of falling powers (easy by inspection in this case, but you can use Stirling subset numbers to convert): $$ k^2 = k^{\underline 2} + k^{\underline 1}$$
Sums of falling powers are easy, just like integration of ordinary powers, except for the treatment of limits: $$ \sum_{k=1}^n k^{\underline 2} + k^{\underline 1} = \bigg({1\over 3}k^{\underline 3} + {1\over 2}k^{\underline 2}\bigg)\ \bigg|^{n+1}_0$$
And then convert back into ordinary powers (by expansion, or using signed Stirling cycle numbers): $$ {1\over 3}((n+1)^3 - 3(n+1)^2 + 2(n+1)) + {1\over 2}((n+1)^2 - (n+1))..."$$
Could someone explain what is going on in this answer and provide some useful and explanatory links?
Thank you.
Partial sums of sequences $a_n$ that can be expressed as polynomials in $n$ are easily found using discrete calculus.
We start with the discrete version of the Fundamental Theorem of Integral Calculus:
\begin{align*} \sum\limits_{n=1}^k a_n &= \sum\limits_{n=1}^k (\Delta b)_n \\ &= (b_2 - b_1)+(b_3 - b_2)+ \ldots + (b_k - b_{k-1}) + (b_{k+1} - b_k) \\ &= b_{k+1} - b_1 \end{align*}
where $(\Delta b)_n = b_{n+1} - b_n$ is the forward difference. Finding the partial sum has now been reduced to finding a sequence $b_n$ such that $(\Delta b)_n = a_n$.
We will find $b$, the antiderivative of $a$, using falling powers, which are defined by
$$ n^{\underline{k}} = n(n-1)(n-2)\ldots (n-k+1) $$
where $k$ is an integer and, by a second definition, $n^{\underline{0}}=1$. For example
$$ n^{\underline{2}} = n(n-1). $$
We now need one more result: the discrete derivative of $n^{\underline{k}}$ is given by
\begin{align*} \Delta n^{\underline{k}} &= (n+1)^{\underline{k}} - n^{\underline{k}} \\ &= (n+1)n^{\underline{k-1}} - n^{\underline{k-1}}(n-k+1) \\ &= kn^{\underline{k-1}} \end{align*}
Let's now find the partial sum:
\begin{align} \sum^{k}_{n=1}n(n+1) &= \sum^{k}_{n=1} (n+1)^{\underline{2}} \\ &= \sum^{k}_{n=1} \Delta \left[\frac{1}{3} (n+1)^{\underline{3}}\right] \\ &= \frac{(k+2)(k+1)k}{3} - \require{cancel}\cancelto{0}{\frac{(1+1)(1+0)(1-1)}{3}} \end{align}
edit: I recommend watching the following lectures by Robert Ghrist: Sequences, Sequences_bonus, Differences, Discrete Calculus. You can also read the corresponding wiki sections here. And, if you are willing to read second-rate material (written by me), then read this which discusses a more difficult series.