Q. If a1=5,a2=1 and an=an−1−an−2 then find the value of a6.Answer:
Given Sequence and Formula: We are given the first two terms of the sequence: a1=5 and a2=1. The recursive formula for the sequence is an=an−1−an−2. We need to find a6.
Find a3: To find a6, we first need to find a3 using the recursive formula. We have a3=a2−a1=1−5=−4.
Find a4: Next, we find a4 using the recursive formula. We have a4=a3−a2=−4−1=−5.
Find a5: Now, we find a5 using the recursive formula. We have a5=a4−a3=−5−(−4)=−1.
Find a6: Finally, we find a6 using the recursive formula. We have a6=a5−a4=−1−(−5)=4.
More problems from Add, subtract, multiply, and divide complex numbers