|
|
A037792
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,2,0,1.
|
|
0
|
|
|
3, 32, 320, 3201, 32013, 320132, 3201320, 32013201, 320132013, 3201320132, 32013201320, 320132013201, 3201320132013, 32013201320132, 320132013201320, 3201320132013201
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3-x+x^2) / ( (x-1)*(10*x-1)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 2, 0, 1}]], {n, 20}] (* or *) LinearRecurrence[ {11, -11, 11, -10}, {3, 32, 320, 3201}, 20] (* Harvey P. Dale, Jan 18 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|