Find the sum
$$^{505}C_5-5\cdot{^{404}C_5}+10\cdot{^{303}C_5}-10\cdot{^{202}C_5}+5\cdot{^{101}C_5}-1$$
Critiques and other answers are always welcome!
Find the sum
$$^{505}C_5-5\cdot{^{404}C_5}+10\cdot{^{303}C_5}-10\cdot{^{202}C_5}+5\cdot{^{101}C_5}-1$$
Critiques and other answers are always welcome!
We have to find the coefficient of $x^5$ in $$(1+x)^{505}-5.(1+x)^{404}+10.(1+x)^{303}-10.(1+x)^{202}+5.(1+x)^{101}-1=((1+x)^{101}-1)^5=({101}x+O(x^2))^5$$ Multinomially expand the final term and convince yourself that the coefficient of $x^5$ is $101^5$
It is simply the inclusion-exclusion principle... Choosing $1$ from each of $k$ groups of $n$ is equivalent to choosing $k$ from all $k$ groups (combined) minus choosing $k$ from only $(k-1)$ groups plus choosing $k$ from only $(k-2)$ groups ...