What will be solution of this function for coefficient of $x^{100}$?
$$\displaystyle\frac{1}{\left ( 1-x^{10} \right )(1-x^{20})(1-x^{50})}$$
My solution:
$[x^{100}] \ \ \ \ \ \ \ \ \ \ $$\displaystyle \frac{1}{\left ( 1-x^{10} \right )(1-x^{20})(1-x^{50})}$
$[x^{100}] \ \ \ \ \ \ \ \ \ \ $ $(1-x^{10})^{-1}$$(1-x^{20})^{-1}$$(1-x^{50})^{-1}$
$\begin{aligned}\displaystyle &\binom{-n}{k} = (-1)^r\binom{n + k - 1}{k}\\ &=\displaystyle \color{red} {(-1)^{10}\binom{-1}{10}\binom{-1}{0}\binom{-1}{0} + (-1)^5 \binom{-1}{0}\binom{-1}{5}\binom{-1}{0} + (-1)^2\binom{-1}{0}\binom{-1}{0}\binom{-1}{2}} \\ & + \color{blue}{ (-1)^8 (-1)^1 \binom{-1}{8}\binom{-1}{1}\binom{-1}{0} + (-1)^6 (-1)^2\binom{-1}{6}\binom{-1}{2}\binom{-1}{0} + (-1)^4 (-1)^3 \binom{-1}{4}\binom{-1}{3}\binom{-1}{0} + (-1)^2 (-1)^4\binom{-1}{2}\binom{-1}{4}\binom{-1}{0} }\\ & + \color{Orange}{ (-1)^5 (-1)^1 \binom{-1}{5}\binom{-1}{0}\binom{-1}{1} } \\ & + \color{maroon}{(-1)^3(-1)^1(-1)^1\binom{-1}{3}\binom{-1}{1}\binom{-1}{1} + (-1)^1 (-1)^2(-1)^3\binom{-1}{1}\binom{-1}{2}\binom{-1}{1} }\end{aligned} $
$ 1 – 1 + 1 + 1 – 1 + 1 – 1 – 1 + 1 – 1 = 0$
So coefficient of $x^{100}$ is $0$
There are many terms so to differentiate among them distinct colors are used
$\color{red}{\text{Red}}$ - Selecting $x$ from any one of $(1-x^{10})^{-1}$$(1-x^{20})^{-1}$$(1-x^{50})^{-1}$
$\color{Blue}{\text{Blue}}$ - Selecting from both $(1-x^{10})^{-1}$$(1-x^{20})^{-1}$
$\color{Orange}{\text{Orange}}$ - Selecting from both $(1-x^{10})^{-1}$$(1-x^{50})^{-1}$
$\color{maroon}{\text{Maroon}}$ - Selecting from all $(1-x^{10})^{-1}$$(1-x^{20})^{-1}$$(1-x^{50})^{-1}$
But answer is $10$, is anything wrong with my solution?
Hint:
Set $y=x^{10},$
Now for $|y|<1, (1-y)^{-1}=1+y+y^2+\cdots$
we need the coefficient of $y^{10}$ in $$(1-y^5)^{-1}(1-y^2)^{-1}(1-y)^{-1}$$
$$=(1+y^5+y^{10}+\cdots)(1-y^2)^{-1}(1-y)^{-1}$$
So, the coefficient of $y^{10}$ in $(1-y^2)^{-1}(1-y)^{-1}$(which is $6$ due to $1\cdot y^{10},y^2\cdot y^8,y^4\cdot y^6,y^6\cdot y^4,y^8\cdot y^2,,y^{10}\cdot y^0)$
$+$ the coefficient of $y^{10-5}$ in $(1-y^2)^{-1}(1-y)^{-1}$ (which is $3,$ how ? )
$+$ the coefficient of $y^{10-10}$ in $(1-y^2)^{-1}(1-y)^{-1}$ (which is $1$ )