A144478 Period 9: repeat 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, 1, 0, 5, 7, 6, 2, 4, 3, 8
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).
Programs
-
PARI
a(n)=[1,0,5,7,6,2,4,3,8][n%9+1] \\ Charles R Greathouse IV, Jun 02 2011
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).
Comments