OFFSET
0,4
COMMENTS
Periodic with length 3^2=9.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1,0,-1,1).
FORMULA
MATHEMATICA
Mod[Quotient[Range[0, 107], 3] + 1, 3] (* Paolo Xausa, May 25 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Hieronymus Fischer, Oct 10 2007
STATUS
approved
