A256676 Digital roots of centered 11-gonal numbers (A069125).
1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3, 4, 7, 3, 1, 1, 3, 7, 4, 3
Offset: 1
Examples
a(3) = 7 because the 3rd centered 11-gonal number is 34, the digital root of which is 7.
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 1).
Programs
-
Magma
&cat[[1,3,7,4,3,4,7,3,1]: n in [0..10] ]; // Vincenzo Librandi, Apr 08 2015
-
Mathematica
PadRight[{}, 100, {1, 3, 7, 4, 3, 4, 7, 3, 1}] (* Vincenzo Librandi, Apr 08 2015 *) LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1},{1, 3, 7, 4, 3, 4, 7, 3, 1},86] (* Ray Chandler, Aug 26 2015 *)
-
PARI
m=11; vector(200, n, (m*n*(n-1)/2)%9+1)
Comments