I can't understand why when we define $g(x)=f(x)-x^2$ which $f(x)={1\over1-x}$, why $g(x)$ can generate the $\{1,1,0,1,1,...\}$ ?
thanks
I can't understand why when we define $g(x)=f(x)-x^2$ which $f(x)={1\over1-x}$, why $g(x)$ can generate the $\{1,1,0,1,1,...\}$ ?
thanks
Note that $$ f(x)=\frac{1}{1-x}=1+x+x^2+x^3+\cdots $$ So $$ g(x)=f(x)-x^2=1+x+x^3+\cdots $$ by subtracting the $x^2$ from the series for $f$. The coefficents of $g$ are now $\{1,1,0,1, 1,\ldots\}$