OFFSET
1,1
COMMENTS
It appears that this sequence is periodic with period 6.
LINKS
Index entries for periodic sequences, period 6.
Index entries for linear recurrences with constant coefficients, signature (-1, 0, 1, 1).
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
KEYWORD
nonn,easy,changed
AUTHOR
John W. Layman, Apr 27 2005
STATUS
approved
