|
|
A133292
|
|
Period 9: repeat [1, 1, 2, 4, 7, 2, 7, 4, 2].
|
|
3
|
|
|
1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2, 7, 4, 2, 1, 1, 2, 4, 7, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
For n>0, also the digital roots of central polygonal numbers (the Lazy Caterer's sequence) A000124. - Peter M. Chema, Sep 17 2016
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -(2*x^8+4*x^7+7*x^6+2*x^5+7*x^4+4*x^3+2*x^2+x+1) / ((x-1)*(x^2+x+1)*(x^6+x^3+1)). - Colin Barker, Apr 04 2015
|
|
MATHEMATICA
|
PadRight[{}, 111, {1, 1, 2, 4, 7, 2, 7, 4, 2}] (* Harvey P. Dale, Apr 29 2012 *)
|
|
PROG
|
(PARI) Vec(-(2*x^8+4*x^7+7*x^6+2*x^5+7*x^4+4*x^3+2*x^2+x+1)/((x-1)*(x^2+x+1)*(x^6+x^3+1)) + O(x^100)) \\ Colin Barker, Apr 04 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,less
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|