|
|
A037756
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1,0.
|
|
0
|
|
|
2, 21, 190, 1710, 15392, 138531, 1246780, 11221020, 100989182, 908902641, 8180123770, 73621113930, 662590025372, 5963310228351, 53669792055160, 483028128496440, 4347253156467962
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(2+x) / ( (x-1)*(9*x-1)*(x^2+1) ). - R. J. Mathar, May 04 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {2, 3, 1, 0}], 9], {n, 20}] (* or *) LinearRecurrence[ {10, -10, 10, -9}, {2, 21, 190, 1710}, 20] (* Harvey P. Dale, Jan 15 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|