I really don't know how to find the sum of the series: $$\sum\limits _{k=1}^{n-1} k \, (n-k)^2 = 1(n-1)^2+2(n-2)^2+3(n-3)^2+\dots+(n-1)1^2.$$
My attempt: I tried to approach the old school approach of how we find the sum of arithmetic-co geometric progression but unable to do so.
Any help is appreciated!
This is probably not the cleverest way, but it should work. You're trying to evaluate $\sum_{k=1}^{n-1}k(n-k)^2$. $$\sum_{k=1}^{n-1}k(n-k)^2=\sum(kn^2-2nk^2+k^3)=n^2\sum k-2n\sum k^2+\sum k^3$$ I know you can work out the first of those three sums. The other two are not as easy, but they are well-known and I'm sure you'll have no trouble finding places where they are done, even on this website.