Let $$f(x) = \sum_{n\geq 0} a_n x^n = \frac{P(x)}{(1-x)^d}$$ be a rational function.
(a) Prove: There is a polynomial $P_2(x)$ so $$\sum\limits_{n\geq 0} a_{2_n} x^n = \frac{P_2(x)}{(1-x)^d}$$
(b) Let $r \geq 1 \in \mathbb{N}$. Show that an polynomial $P_r$ exists so that $$\sum_{n\geq 0} a_{rn} x^n = \frac{P_r(x)}{(1-x)^d}$$
Hint: Use the $r$th roots of unity which are defined by $\exp\left(\large \frac{2\pi ik}{r}\right), 0 \leq k \leq r - 1$.
(a) I don't know what this d is about (and no one else did). Might be an absolute term.
As $f(x)$ is a rational function, it can be defined as a fraction of two polynomials $\large \frac{P(x)}{Q(x)}$. But that is unfortunately all I know about this.
Could you please help me going on?
(b) I don't know how the $r$th roots of unity (and therefore numbers $x$ for which applies: $x^r = 1$) can help me solving this? I don't find any approach.
Could you please help me a bit?
Thanks in advance!