- 4,796
- 32
Show that there are \binom{r}{k}\binom{n-1}{n-r-k} solutions to the equation x_1+...+x_r=n for which exactly k of the r terms of the sum are nul.
There are \binom{r}{k} ways of choosing which k of the r x_i's are zero, and there are
\binom{n+(r-k)-1}{n}
distinc solutions to the resulting equation. What is wrong with that? If nothing, how are the two binomial coefficients equal?
There are \binom{r}{k} ways of choosing which k of the r x_i's are zero, and there are
\binom{n+(r-k)-1}{n}
distinc solutions to the resulting equation. What is wrong with that? If nothing, how are the two binomial coefficients equal?