login
A106253
First difference of A106252.
1
2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2
OFFSET
1,1
COMMENTS
It appears that this sequence is periodic with period 6.
MATHEMATICA
LinearRecurrence[{-1, 0, 1, 1}, {2, 2, 2, 1}, 105] (* Ray Chandler, Aug 26 2015 *)
PROG
(PARI) a(n)=3497\4^(n%6)%4 \\ Charles R Greathouse IV, Jun 03 2026
CROSSREFS
Cf. A106252. Essentially the same as A083039.
Sequence in context: A265671 A214707 A083039 * A078720 A270488 A083898
KEYWORD
nonn,easy,changed
AUTHOR
John W. Layman, Apr 27 2005
STATUS
approved