login
A134029
Period 9: repeat 3, 2, 4, 1, 5, 1, 4, 2, 3.
0
3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3
OFFSET
0,1
MATHEMATICA
PadRight[{}, 120, {3, 2, 4, 1, 5, 1, 4, 2, 3}] (* Harvey P. Dale, May 16 2019 *)
PROG
(PARI) a(n)=[3, 2, 4, 1, 5, 1, 4, 2, 3][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
Sequence in context: A187760 A122143 A144868 * A117623 A145690 A259053
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 11 2008
STATUS
approved