I am facing trouble in the following question
coefficient of $x^{2012}$ in $$\frac{1+x}{(1+x^2)(1-x)}$$
i broke it down as $$(1+x){(1+x^2)}^{-1}{(1-x)}^{-1}$$ and then the coefficient of $x^{2012}$ in this expression is equal to
coefficient of $x^{2012}$ in ${(1+x^2)}^{-1}$+coefficient of $x^{2012}$ in ${(1-x)}^{-1}$+1 $\cdot$ coefficient of $x^{2011}$ in ${(1+x^2)}^{-1}$+1 $\cdot$ coefficient of $x^{2011}$ in ${(1-x)}^{-1}$.
I couldnot proceed after this.please help me in this regard.thanks.