|
|
A037693
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.
|
|
1
|
|
|
1, 11, 99, 894, 8047, 72425, 651825, 5866428, 52797853, 475180679, 4276626111, 38489635002, 346406715019, 3117660435173, 28058943916557, 252530495249016, 2272774457241145
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
|
|
MATHEMATICA
|
Module[{nn=20, b9}, b9=PadRight[{}, nn, {1, 2, 0, 3}]; Table[FromDigits[ Take[ b9, n], 9], {n, nn}]] (* Harvey P. Dale, Feb 28 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|