OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).
MATHEMATICA
PadRight[{}, 120, {1, 2, 4, 3, 5, 3, 4, 2, 1}] (* Harvey P. Dale, Dec 03 2017 *)
PROG
(PARI) a(n)=[1, 2, 4, 3, 5, 3, 4, 2, 1][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 10 2008
STATUS
approved