I recently came across the problem of finding out the sum $\sum_{k = 0}^n k^2 {n \choose k}$. The solution that I've found goes something like this: $\sum_{k = 0}^n k^2 {n \choose k}=\sum_{k = 0}^n k(k-1) {n \choose k} + \sum_{k = 0}^n k {n \choose k}$. Using the fact that $\sum_{k = 0}^n k {n \choose k}=n2^{n-1}$ and that $\sum_{k = 0}^n k(k-1) {n \choose k} =[\sum_{k = 0}^n (x^k)'' {n \choose k}]|_{x=1}=[\sum_{k = 0}^n (x^k) {n \choose k}]'' |_{x=1}=[(x+1)^n]'' |_{x=1} = n(n-1)2^{n-2}$
(where we use the binomial expansion $(x+1)^n=\sum_{k = 0}^n x^k {n \choose k}$), one can easily evaluate the desired sum as being equal to $n(n+1)2^{n-3}$.
Clearly, one can continue this method to find (recursively) formulas for the sums $\sum_{k = 0}^n k^t {n \choose k}$ where $t$ is a positive integer. For example, one more iteration gives $\sum_{k = 0}^n k^3 {n \choose k}=n^2(n+3)2^{n-3}$ (if I did not made any calculation error).
So, if we define $F(t)$ to be the polynomial such that $\sum_{k = 0}^n k^t {n \choose k} = 2^{n-t} F(t)$, my question is simply:
Is there a closed formula for $F(t)$?
Also, I would be happy with any reference on this kind of sums. Thank you!
By using Stirling numbers of the second kind we have that: $$ k^t = \sum_{j=0}^{t}j!{t \brace j}\binom{k}{j} $$ hence: $$\sum_{k=0}^n k^t \binom{n}{k} = \sum_{j=0}^{t}{t \brace j}\sum_{k=0}^{n}j!\binom{k}{j}\binom{n}{k}\tag{1}$$ but since: $$\sum_{k=0}^{n}\binom{k}{j}\binom{n}{k} = 2^{n-j}\binom{n}{j}\tag{2}$$ it follows that:
where $(n)_j$ is the falling Pochhammer symbol $(n)_j = n\cdot(n-1)\cdot\ldots\cdot(n-j+1)=j!\binom{n}{j}$.