login
A037708
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,0,2.
0
1, 13, 130, 1302, 13021, 130213, 1302130, 13021302, 130213021, 1302130213, 13021302130, 130213021302, 1302130213021, 13021302130213, 130213021302130, 1302130213021302
OFFSET
1,2
FORMULA
G.f.: x*(1+3*x+2*x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 3, 0, 2}]], {n, 20}] (* or *) LinearRecurrence[ {10, 0, 0, 1, -10}, {1, 13, 130, 1302, 13021}, 20] (* Harvey P. Dale, Apr 23 2020 *)
CROSSREFS
Sequence in context: A121033 A006100 A037603 * A142740 A248919 A037582
KEYWORD
nonn,easy
STATUS
approved