I need the proof for the following equation/theorem:
$$n^k = \sum_{i=0}^{n-1}\sum_{j=1}^{k}\binom{k}{j}i^{k-j}$$
I need the proof for the following equation/theorem:
$$n^k = \sum_{i=0}^{n-1}\sum_{j=1}^{k}\binom{k}{j}i^{k-j}$$
By the Binomial theorem
$$\sum_{j=1}^{k}\binom{k}{j}i^{k-j}=(1+i)^k-i^k$$ and the claim follows by telescoping.