Generating Function for for the given $1,1,0,1,1,1.....$

955 Views Asked by At

what is the generating function for the sequence $1,1,0,1,1,1...... $

My answer is

$$s=1+x+x_3+x_4+x_5+x_6+..... =(1+x)+\dfrac1{1-x}$$

kinda confused