|
|
A037680
|
|
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,0,2,3.
|
|
0
|
|
|
1, 10, 102, 1023, 10231, 102310, 1023102, 10231023, 102310231, 1023102310, 10231023102, 102310231023, 1023102310231, 10231023102310, 102310231023102, 1023102310231023
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1-x+3*x^2) / ( (x-1)*(10*x-1)*(x^2+1) ). - R. J. Mathar, Aug 12 2013
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {1, 0, 2, 3}]], {n, 20}] (* Harvey P. Dale, Sep 26 2021 *)
|
|
PROG
|
(PARI) Vec(x*(1-x+3*x^2)/((x-1)*(10*x-1)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|