|
|
A037616
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2.
|
|
0
|
|
|
1, 12, 110, 991, 8922, 80300, 722701, 6504312, 58538810, 526849291, 4741643622, 42674792600, 384073133401, 3456658200612, 31109923805510, 279989314249591, 2519903828246322, 22679134454216900, 204112210087952101, 1837009890791568912, 16533089017124120210
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+x)*(2*x+1) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
Module[{nn=30, t}, t=PadRight[{}, nn, {1, 3, 2}]; Table[FromDigits[ Take[ t, n], 9], {n, nn}]] (* Harvey P. Dale, May 06 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|