Given the generating function below, I was struggling trying to come up with a way to get a closed form for the coefficients. $$F(X) = \frac{x^8(x+x^2+x^3)}{(1-x^5)(1-x^2)(1-x)}$$
The question I got this from asked for the closed form of $x_1+5x_2+2x_3+x_4=n$ if $x_4\le3$ and $x_i\ge1$.
I started by trying out partial fraction decomposition, but I'm not sure how to approach it, and there aren't any other avenues I can think of right now. Any advice would be much appreciated!
Hint
If you start with the long division (forget the $x^8$ for the time being), you will see that the result is in fact $$F(x)=x^9 \sum_{n=0}^\infty a_n\,x^n$$ So, write $$\frac{x^8(x+x^2+x^3)}{(1-x^5)(1-x^2)(1-x)}=x^9 \sum_{n=0}^\infty a_n\,x^n$$ that is to say $$1+x+x^2=(1-x^5)(1-x^2)(1-x)\sum_{n=0}^\infty a_n\,x^n$$ Proceed as usual to find the recurrence relation for the $a_n$'s.