login
A049342
a(n) = A049341(n)/3.
1
1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2, 1, 3, 1, 1, 2, 3, 2, 2
OFFSET
0,2
FORMULA
Period 8: repeat (1, 2, 3, 2, 2, 1, 3, 1).
a(n) = 3 - (Fibonacci(n+6) mod 3). - Gary Detlefs, Mar 13 2011
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 1}, {1, 2, 3, 2, 2, 1, 3, 1}, 93] (* Ray Chandler, Aug 27 2015 *)
CROSSREFS
Sequence in context: A186037 A144365 A152197 * A112966 A286657 A334052
KEYWORD
nonn
STATUS
approved