The given terms are a 1 = a 2 =2. Also, a n = a n−1 −1. The given condition is n>2.
Substitute the value of n=3 in a n = a n−1 −1.
a 3 = a 2 −1 =2−1 =1
Similarly, substitute the value of n=4 in a n = a n−1 −1.
a 4 = a 3 −1 =1−1 =0
Similarly, substitute the value of n=5 in a n = a n−1 −1.
a 5 = a 4 −1 =0−1 =−1
Thus, the first five terms of the sequence are 2,2,1,0 and −1. The corresponding series is 2+2+1+0+( −1 )+….
Write the first five terms in each of the following sequences :
(i) a1=1, an=an−1+2, n>1
(ii) a1=1=a2, an=an−1+an−2, n>2
(iii) a1=a2=2, an=an−1−1, n>2