Find:$$\sum_{k=1}^{n} \binom{n}{k}k^{r}$$
For r=0 the sum is obviously $2^{n}$.
For r=1 the sum is $n2^{n-1}$.
For r=2 the sum is $n(n+1)2^{n-2}$.
Here's what I've tried:
$$\frac{d(1+x)^{n}}{dx}=n(1+x)^{n-1}=\binom{n}{1}+2\binom{n}{2}x+3\binom{n}{3}x^{2}+\cdots+n\binom{n}{n}x^{n-1}$$
$$\frac{d[x\cdot n(1+x)^{n-1}]}{dx}=\binom{n}{1}+2^{2}\binom{n}{2}x+3^{2}\binom{n}{3}x^{3}+\cdots+n^{2}\binom{n}{n}x^{n-1}$$
So if we continue like this and put x=1 we will get our result.However I cannot generalize this.
I think the answer has something to do with the Stirling Numbers of the Second kind.
Another way to present this question: Find $A_{1},A_{2},\cdots ,A_{r}$ such that $$k^{r}=A_{1}k+A_{2}k(k-1)+A_{3}k(k-1)(k-2)+\cdots$$
If someone can answer the second question I can solve the first one.