|
|
A037543
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,2,1.
|
|
1
|
|
|
1, 12, 121, 1211, 12112, 121121, 1211211, 12112112, 121121121, 1211211211, 12112112112, 121121121121, 1211211211211, 12112112112112, 121121121121121, 1211211211211211
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+x)^2 / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 12 2013
|
|
PROG
|
(PARI) Vec(x*(1+x)^2/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|