OFFSET
1,1
FORMULA
a(n) is a 9-periodic sequence with period (1, 0, 0, 1, 0, 2, 1, 2, 2)
MATHEMATICA
PadRight[{2}, 120, {1, 2, 2, 1, 0, 0, 1, 0, 2}] (* Harvey P. Dale, Nov 30 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 24 2002
STATUS
approved