|
|
A037715
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,2,0.
|
|
0
|
|
|
1, 13, 132, 1320, 13201, 132013, 1320132, 13201320, 132013201, 1320132013, 13201320132, 132013201320, 1320132013201, 13201320132013, 132013201320132, 1320132013201320
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+2*x) / ( (x-1)*(10*x-1)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
a(n) = 11*a(n-1) - 11*a(n-2) + 11*a(n-3) - 10*a(n-4). - Wesley Ivan Hurt, Sep 06 2022
|
|
PROG
|
(PARI) Vec(x*(1+2*x)/((x-1)*(10*x-1)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|