I have a generating function, $$ \frac{(1-x^7)^6}{(1-x)^6} $$ and I want to calculate the coefficient of $x^{26}$
Solution for this is,
$$ {26+5 \choose 5} - 6{19+5 \choose 5} + 15{12+5 \choose 5} - 20{5+5 \choose 5} $$
Is there formula for this? If there is, what is called? If there is no formula, how can I calculate it?
Thanks!
It is convenient to use the coefficient of operator $[x^n]$ to denote the coefficient of $x^n$ in a series.
Comment:
In (1) we expand the denominator using the binomial series expansion.
In (2) we expand the polynomial up to powers of $x^{21}$ since higher powers do not contribute to $[x^{26}]$ and we apply the binomial identity $\binom{-p}{q}=\binom{p+q-1}{p-1}(-1)^q$.
In (3) we use the linearity of the coefficient of operator and apply the rule $[x^{p-q}]A(x)=[x^p]x^qA(x)$.
In (4) we select the coefficients accordingly.