|
|
A037617
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,2.
|
|
6
|
|
|
1, 13, 132, 1321, 13213, 132132, 1321321, 13213213, 132132132, 1321321321, 13213213213, 132132132132, 1321321321321, 13213213213213, 132132132132132, 1321321321321321, 13213213213213213, 132132132132132132, 1321321321321321321, 13213213213213213213, 132132132132132132132
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+x)*(2*x+1) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 12 2013
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {1, 3, 2}]], {n, 20}] (* Harvey P. Dale, Mar 29 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|