login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,1
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
Sequence in context: A323959 A321385 A037777 * A037784 A037588 A307885
KEYWORD
nonn,base,easy
EXTENSIONS
More terms from Harvey P. Dale, Apr 29 2018
STATUS
approved