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”).

A144478
Period 9: repeat 1,0,5,7,6,2,4,3,8.
1
1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8
OFFSET
1,3
COMMENTS
Essentially the same as A145577.
FORMULA
a(n) = A144390(n) mod 9.
a(9n+2)+a(9n+3)+a(9n+4) = a(9n+5)+a(9n+6)+a(9n+7) = a(9n+8)+a(9n+9)+a(9n+10) = 12.
a(n+4)-a(n+1) = period length 9 (repeat 6,-3,-3,-3,6,-3,-3,-3,6).
PROG
(PARI) a(n)=[1, 0, 5, 7, 6, 2, 4, 3, 8][n%9+1] \\ Charles R Greathouse IV, Jun 02 2011
CROSSREFS
Sequence in context: A348727 A347901 A145577 * A059249 A175294 A196615
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, Oct 11 2008
STATUS
approved