login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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