In how many ways can we distribute 22 identical objects to 9 distinct recipients, if 3 of the recipients can receive at most 3 objects.
How to create the generating function for this problem and find the coefficient of X^22?
In how many ways can we distribute 22 identical objects to 9 distinct recipients, if 3 of the recipients can receive at most 3 objects.
How to create the generating function for this problem and find the coefficient of X^22?
It is convenient to use the coefficient of operator $[x^k]$ to denote the coefficient of $x^k$ in a series.
Comment:
In (1) we use the geometric series expansion.
In (2) we use the binomial series expansion.
In (3) we use the linearity of the coefficient of operator, apply the formula $[x^{p-q}]A(x)=[x^p]x^qA(x)$ and the binomial identity $\binom{-p}{q}=\binom{p+q-1}{p-1}(-1)^q$.
In (4) we select the coefficients accordingly.