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”).

A037764
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,0,1,2.
0
3, 30, 301, 3012, 30123, 301230, 3012301, 30123012, 301230123, 3012301230, 30123012301, 301230123012, 3012301230123, 30123012301230, 301230123012301, 3012301230123012
OFFSET
1,1
FORMULA
G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}]], {n, 20}] (* Harvey P. Dale, Dec 07 2015 *)
PROG
(PARI) Vec(x*(3+x^2+2*x^3)/((x-1)*(10*x-1)*(1+x)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
Sequence in context: A093138 A361896 A073557 * A037652 A037771 A037659
KEYWORD
nonn,base,easy
STATUS
approved