I have a generating function of a sequence such that
$$\frac{1}{(1-x^2)(1-x^3)(1-x^7)}.$$
They are the product of three geometric series with coefficient 1. Now I want to transform this into infinite sum form so that I can get nth term explicitly. However, I can not refactor denominator to get power of $(1-x)$ or partial fractions. Is there any identity I must know or is this completely wrong way of solving?
Using runway44's suggestion:
$$x^2=u$$
$$\frac{1-u^{21}}{1-u}=\sum_{k=0}^{20} u^k$$
$$x^3=v$$
$$\frac{1-v^{14}}{1-v}=\sum_{l=0}^{13} v^l$$
$$x^7=w$$
$$\frac{1-w^{6}}{1-w}=\sum_{m=0}^{5} w^m $$
$$x^{42}=z$$
$$\frac{1}{(1-z)^3} = \sum_{n=2}^\infty n(n-1) z^{n-2}=\sum_{n=0}^\infty (n+1)(n+2) z^n$$
Which means:
$$\frac{1}{(1-x^2)(1-x^3)(1-x^7)}= \\ =\left(\sum_{k=0}^{20} x^{2k} \right)\left(\sum_{l=0}^{13} x^{3l} \right) \left(\sum_{m=0}^{5} x^{7m} \right)\sum_{n=0}^\infty (n+1)(n+2) x^{42n}$$
Which allows us, after some tedious algebra, to find the general expression for the terms, which Maxim already provided in another comment.