|
|
A037707
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0,2.
|
|
0
|
|
|
1, 12, 108, 974, 8767, 78906, 710154, 6391388, 57522493, 517702440, 4659321960, 41933897642, 377405078779, 3396645709014, 30569811381126, 275128302430136, 2476154721871225
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+3*x+2*x^3) ) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {1, 3, 0, 2}], 9], {n, 20}] (* or *) LinearRecurrence[ {9, 0, 0, 1, -9}, {1, 12, 108, 974, 8767}, 20] (* Harvey P. Dale, Aug 23 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|