SOLUTION: Find a formula that generates the following sequence 2,0,2,0,2,0

Algebra ->  Sequences-and-series -> SOLUTION: Find a formula that generates the following sequence 2,0,2,0,2,0      Log On


   



Question 1147261: Find a formula that generates the following sequence 2,0,2,0,2,0
Answer by ikleyn(52787) About Me  (Show Source):
You can put this solution on YOUR website!
.

a%5Bn%5D = 1+%2B+%28-1%29%5E%28n%2B1%29,   n = 1, 2, 3, 4, 5, 6.




Another possible formula, that works, too, is


a%5Bn%5D = 1+%2B+cos%28n%2Api%29,  n = 1, 2, 3, 4, 5, 6.