login
A037503
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,0,2.
1
1, 10, 102, 1021, 10210, 102102, 1021021, 10210210, 102102102, 1021021021, 10210210210, 102102102102, 1021021021021, 10210210210210, 102102102102102, 1021021021021021
OFFSET
1,2
FORMULA
G.f.: x*(1+2*x^2) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 12 2013
a(n) = 10*a(n-1) + a(n-3) - 10*a(n-4). - Wesley Ivan Hurt, Sep 22 2020
PROG
(PARI) Vec(x*(1+2*x^2)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
KEYWORD
nonn,base,easy
STATUS
approved