How many integral solutions of the following equation where $x_i$ and $k$ are integers.
$\begin{align*} &\sum_{i=1}^{10}x_i = k \quad \text{ where }\qquad 0\leq x_i \leq 20 \quad,\quad k > 0\\ &\text{Using generating function :} \\ &\text{No of solution : } \sum_{k=1}^{200}\left [ {\color{red}{\left [ x^k \right ]}}\left ( \sum_{p=0}^{20}x^p \right )^{10} \right ] \\ &\Rightarrow \sum_{k=1}^{200}\left [ {\color{red}{\left [ x^k \right ]}}\left ( \frac{1-x^{21}}{1-x} \right )^{10} \right ] \\ &\Rightarrow \sum_{k=1}^{200}\left [ {\color{red}{\left [ x^k \right ]}}\left \{ \sum_{m=0}^{10}\binom{10}{m}(-1)^mx^{21m} \right \}\cdot \left \{ \sum_{n=0}^{\infty}\binom{9+n}{n}x^n \right \} \right ] \\ \end{align*}$
Please help me to simplify the steps, it is getting cumbersome even to find coefficient of ${\color{red}{\left [ x^k \right ]}}$.
Or please suggest other method.
Thanks !
Here we extract the coefficient of $x^k$.
Comment:
In (1) we use the linearity of the coefficient of operator and apply the rule \begin{align*} [x^{p-q}]A(x)=[x^p]x^qA(x) \end{align*}
In (2) we exchange the order of summation of the outer sum by replacing $n \rightarrow k-n$.
In (3) we note that in the inner sum the exponent of $x$ is a multiple of $21$. So, we need multiples of $21$ of the index $n$ in order to match these exponents. We account for this by taking multiples of $21$ of the index $n$. This way we can also restrict the upper limit of the out sum.
In (4) we select the coefficient of $x^{21m}$ and update the upper limit of the sum accordingly.