The correct option is A n≥1.
Let ,yn=xn+(−1)n.
By inspection we find that y1=0,y2=4,y3=16,y4=100,y5=576
etc, denote by,Zn=√yn;
then,Z1=0,Z2=2,Z3=4,Z4=10,Z5=24
and so on.The first terms of the sequence (Zn)n≥1
suggesting thatZn+2=2Zn+1Zn,
for all n≥1
Indeed,we will prove by induction the following statement:yn=Z2n
where z1=0,z2=2 and zn+2=2zn+1zn,
for all n≥1.
The base case is easy to deal with. In order to prove the inductive step, we need a recursive equation for the sequence (yn)n≥1.
Since xn=yn−(−1)n,
we have yn+2−(−1)n+2=6yn+1−6(−1)n+1−yn+(−1)n,
and also yn+2−(−1)n+1=6yn−6(−1)n−yn−1+(−1)n−1.
Adding up yields yn+2+yn+1=6yn+1+6yn−yn−yn−1, or,
yn+2=5yn+1+5yn−yn−1,
for all n≥2.
Now assume, yk=z2k,for k=1,2,...,n+1.
yn+2=5z2n+1+5z2n−z2n−1=5z2n+1+5z2n−(z2n+1−2z2n)2=4z2n+1+z2n+4zn+1zn=(2zn+1+zn)2=z2n+2,
and we are done. Observation The informed reader may notice that an alternative is possible if we write xn in closed form. Indeed, it is known that if and ,with$$, are the roots of the quadratic equation x2=ax+b then any sequence satisfying
xn+2=axn+1+bxn,for all n≥1, has the form xn=c1αn+c2βn, where the constants c1 and c2 can be determined from the first two terms of the sequence. In our case, the roots of the equation x2=6x−1 are
α=3+2√2,β=3−2√2 ,hence, xn=c1(3+2√2)n+c2(3−2√2)n.
Since x1=1 and x2=3 we obtain,
c1=12(3−2√2),c1=12(3+2√2),xn=12((3∣+2√2)n−1+(3−2√2)n−1),
for all n≥1.
It follows that xn+(−1)n=12((3+2√2)n−1+(3−2√2)n−1+2(−1)n)=12((1+√2)2(n−1)+(1−√2)2(n−1)−2(−1)n−1)
=⎛⎝(1+√2)n−1−(1−√2)n−1√2⎞⎠2.
The sequence wn=(1+√2)n−1−(1−√2)n−1√2 has the form wn=c1αn+c2βn, with α=1+√2,β=1−√2,
hence it satisfies the recursive equation wn+2=2wn+1+wn,
for all n≥1.
Finally,since w1=0 and w1=2 we deduce that
wn is an integer for all n≥1. $