Binomial Coefficients and Generating Functions - Cs.ioc.ee
Binomial Coefficients and Generating Functions - Cs.ioc.ee
Binomial Coefficients and Generating Functions - Cs.ioc.ee
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Number of solutions of the equation x1 + x2 + ··· + xk = n<br />
Theorem<br />
The number of ways to distribute n identical objects<br />
into k bins is n+k−1<br />
n .<br />
Proof.<br />
The number of ways to distribute n objects equals to the number of solutions of<br />
x1 + x2 + ··· + xk = n that is coefficient of x n of the generating function<br />
G(x) = 1/(1 − x) k = (1 − x) −k .<br />
For recollection: Maclaurin series (a Taylor series<br />
expansion of a function about 0):<br />
.<br />
f (x) = f (0) + f ′ (0)x + f ′′ (0)<br />
2! x2 + f ′′′ (0)<br />
x<br />
3!<br />
3 + ··· + f (n) (0)<br />
x<br />
n!<br />
n + ···