A131579 Period 10: repeat 0, 3, 6, 9, 2, 5, 8, 1, 4, 7.
0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0, 3, 6, 9, 2
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,1)
Programs
-
Magma
&cat[[0,3,6,9,2,5,8,1,4,7]^^10]; // Vincenzo Librandi, Aug 15 2017
-
Mathematica
PadRight[{}, 120, {0, 3, 6, 9, 2, 5, 8, 1, 4, 7}] (* Vincenzo Librandi, Aug 15 2017 *)
Formula
a(n) = A008585(n) mod 10. - Bruno Berselli, Mar 08 2011
G.f.: -x*(3 + 6*x + 9*x^2 + 2*x^3 + 5*x^4 + 8*x^5 + x^6 + 4*x^7 + 7*x^8) / ( (x-1) *(1+x) *(x^4 + x^3 + x^2 + x + 1) *(x^4 - x^3 + x^2 - x + 1) ). - R. J. Mathar, Mar 10 2011
Decimal expansion of 41028683/1111111110 . - R. J. Mathar, Jul 06 2025
Comments