login
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