How do I expand this function in power series?
$$f(x):= \frac{1}{1+x+x^2+x^3}.$$
I have tried to factorize it and we have
$$f(x)= \frac{1}{2}\left(\frac{1}{x+1}-\frac{-1+x}{x^2+1}\right)$$
however I am not sure if it leads anywhere, because the other expression has an $x$ in the counter and I do not know how to use $1/(1-x)$ series expansion.