precalculus
posted by Ama .
Find the nth term of a sequence whose first several terms are given.
6, 8, 6, 8, 6, 8, . . .

an = (  1 ) ^ n + 7
For odd numbers 1 , 3 , 5 ...
(  1 ) ^ n =  1
and
(  1 ) ^ n + 7 =  1 + 7 = 6
For even numbers 2 , 4 , 6 ...
(  1 ) ^ n = 1
and
(  1 ) ^ n + 7 = 1 + 7 = 8