I'm studying for my exam in discrete mathematics and found the following problem on last years exam:
Find a closed formula without using induction for $\sum_{k=0}^n k^3$.
I tried it by finding the Generating Function first:
$F(x) = F_0 + \sum_{k=1}^nF_nx^n = \sum_{k=1}^n (F_{n-1}+n^3)x^n = \sum_{k=1}^n F_{n-1}x^n + n^3x^n = \sum_{k=0}^n F_n x^{n+1} + \sum_{k=1}^n n^3x^n = xF(x) + \sum_{k=1}^nn^3x^n$
The problem seems to be, that I lack an actual recursive definition of $\sum_{k=0}^n k^3$ which is, as far as I know, needed to find a generating function. Above, I pretty much used, that $X_n = X_{n-1}+n^3$, but obviously, that`s not enough. Because a recursive definition was always given in our lectures, I don't now other possibilities to solve this, except for finding the Generating Function with help of recursive definitions.
If you'll grant me that $f(n)=\sum_{k=0}^n k^3=an^4+bn^3+cn^2+dn+e,$
then we have this system to solve:
$$ f(0)=0=e\\ f(1)=1=a+b+c+d+e\\ f(2)=9=16a+8b+4c+2d+e\\ f(3)=36=81a+27b+9c+3d+e \\ f(4)=100=256a+64b+16c+4d+e. $$
From this it follows that $e=0$ and $$9-2\times1=7=14a+6b+2c\\ 36-3\times1=33=78a+24b+6c\\ 100-4\times1=96=252a+60b+12c$$
Now can you solve that $a=\dfrac14, b=\dfrac12, c=\dfrac14,$ and $d=0$?