The question says: Find the sequence $(a_k)$ such that the function $\frac{1}{1+x^4}$ is the ordinary generating function of $(a_k)$, that is
$\frac{1}{1+x^4}=\sum_{n=0}^{\infty}a_n.x^n$.
I have tried as follows:
$\frac{1}{1+x^4}=\frac{1}{1-(-x^4)}=\sum_{n=0}^{\infty}(-1)^nx^{4n}$.
But I can't express $x^n$ because it exists in 4n form. how can I express it in $x^n$ form?
What if you say $$\frac{1}{1+x^4} = \sum_{n=0}^{\infty}a_nx^n$$ if $$a_n = \begin{cases} (-1)^{n/4},\text{ if }n\mod 4 =0, \\ 0,\text{ otherwise.} \end{cases}$$