I was looking at: n∑k=1k2=n(n+1)(2n+1)6
It's pretty easy proving the above using induction, but I was wondering what is the actual way of getting this equation?
Answer
n3−(n−1)3=3n2+3n+1
(n−1)3−(n−2)3=3(n−1)2+3(n−1)+1
⋮
23−13=3(1)2+3(1)+1
Now use telescopic cancellation.
Here are some "proof without words"(I find them more elegant):
Finally a more generalized form:1k+2k+⋯+nk=k∑i=1S(k,i)(n+1i+1)i!
Where S(k,i) represents the Stirling number of the second kind.
No comments:
Post a Comment