login
A037729
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,0,3,1.
0
2, 20, 203, 2031, 20312, 203120, 2031203, 20312031, 203120312, 2031203120, 20312031203, 203120312031, 2031203120312, 20312031203120, 203120312031203, 2031203120312031
OFFSET
1,1
FORMULA
G.f.: x*(2+3*x^2+x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 0, 3, 1}]], {n, 20}] (* Harvey P. Dale, Sep 25 2024 *)
PROG
(PARI) Vec(x*(2+3*x^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: A037519 A037722 A109107 * A037624 A077327 A173499
KEYWORD
nonn,base,easy
STATUS
approved