|
|
A037799
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,2,1,0.
|
|
0
|
|
|
3, 32, 321, 3210, 32103, 321032, 3210321, 32103210, 321032103, 3210321032, 32103210321, 321032103210, 3210321032103, 32103210321032, 321032103210321, 3210321032103210
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+2*x+x^2) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 2, 1, 0}]], {n, 20}] (* or *) LinearRecurrence[ {10, 0, 0, 1, -10}, {3, 32, 321, 3210, 32103}, 20] (* Harvey P. Dale, Apr 06 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|