I need to find a coefficient of $x^{21}$ inside the following expression:
$$(x^{2} + x^{3} + x^{4} + x^{5} + x^{6})^{8}$$
I think the only way (using generating functions) is to express the parentheses content with a generating function.
The generating function for the $(1, x, x^{2}, x^{3}, ...)$ sequence is equal to $\frac{1}{1-x}$.
However, well...the expression at the top is not infinite, so I can't really express it as a generating function.
How can I do this?