|
|
A037784
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,2,0.
|
|
1
|
|
|
3, 28, 254, 2286, 20577, 185194, 1666748, 15000732, 135006591, 1215059320, 10935533882, 98419804938, 885778244445, 7972004200006, 71748037800056, 645732340200504, 5811591061804539
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x+2*x^2) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 01 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 1, 2, 0}], 9], {n, 20}] (* Harvey P. Dale, Dec 27 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|