I needed to compute this sum: $$\sum_{i=0}^n\binom{n}{i}i^2$$ I don't want any proofs or formulae, but just a yes/no answer. Is there a closed form expression for this sum?
Just to share, I was able to find a closed form expression for this sum:
$$\sum_{i=0}^n\binom{n}{i}i=n.2^{n-1}$$
by using a property of arithmetic progressions and sums of combinations.
Is there any closed form expression for my sum, or more generally, sums like:
$$\sum_{i=0}^n\binom{n}{i}i^k$$ , for some $k\in\mathbb{N}$?