|
|
A037665
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0.
|
|
0
|
|
|
3, 28, 252, 2271, 20440, 183960, 1655643, 14900788, 134107092, 1206963831, 10862674480, 97764070320, 879876632883, 7918889695948, 71270007263532, 641430065371791, 5772870588346120, 51955835295115080, 467602517656035723, 4208422658904321508
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 1, 0}], 9], {n, 30}] (* Harvey P. Dale, Apr 29 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|