The question was to find the number of ways in which 10 identical blankets can be given to 3 beggars such that each receives at least 1 blanket. So I thought about trying the multinomial theorem...this is the first time I've tried it so I'm stuck at a point...
So $$x_1+x_2+x_3 = 10$$ Subject to the condition that :
$$1\leq x_1 \leq8$$ $$1\leq x_2 \leq8$$ $$1\leq x_3 \leq8$$
As each beggar can get at maximum 8 blankets and at minimum, 1.
So the number of ways must correspond to the coefficient of $x^{10}$ in: $$(x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8)(x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8)(x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8)$$
= coeff of $x^{10}$ in $x^3(1+x^1+x^2+x^3+x^4+x^5+x^6+x^7)(1+x^1+x^2+x^3+x^4+x^5+x^6+x^7)(1+x^1+x^2+x^3+x^4+x^5+x^6+x^7)$
= coeff of $x^{10}$ in $x^3(1+x^1+x^2+x^3+x^4+x^5+x^6+x^7)^3$
= coeff of $x^{10}$ in $x^3(1-x^7)^3(1-x)^{-3}$
= coeff of $x^{10}$ in $x^3(1-x^{21}-3x^7(1-x^7))(1-x)^{-3}$
= coeff of $x^{10}$ in $(x^3-3x^{10})(1+\binom{3}{1}x + \binom{4}{2}x^2+...+ \binom{12}{10}x^{10})$
= $\binom{9}{7} - 3 = 33$
Is this right? From here I get the answer as $\binom{9}{7} - 3 = 33$ but the answer is stated as $36$. I don't understand where I'm making a mistake
Your error is going from
$$(x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8) (x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8) \\(x^1+x^2+x^3+x^4+x^5+x^6+x^7+x^8)$$
to
$$x^3(x^1+x^2+x^3+x^4+x^5+x^6+x^7)(x^1+x^2+x^3+x^4+x^5+x^6+x^7) \\(x^1+x^2+x^3+x^4+x^5+x^6+x^7)$$
and you should have written an $x^0$ term as in
$$x^3(x^0+x^1+x^2+x^3+x^4+x^5+x^6+x^7)(x^0+x^1+x^2+x^3+x^4+x^5+x^6+x^7) \\(x^0+x^1+x^2+x^3+x^4+x^5+x^6+x^7)$$
getting you later to
coeff of $x^{10}$ in $x^3(1-x^8)^3(1-x)^{-3}$
and then giving you $36$ rather than $33$