|
|
A037679
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3.
|
|
0
|
|
|
1, 9, 83, 750, 6751, 60759, 546833, 4921500, 44293501, 398641509, 3587773583, 32289962250, 290609660251, 2615486942259, 23539382480333, 211854442323000, 1906689980907001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1-x+3*x^2) / ( (x-1)*(9*x-1)*(x^2+1) ). - R. J. Mathar, May 04 2015
|
|
MATHEMATICA
|
nn=30; With[{digs=PadRight[{}, nn, {1, 0, 2, 3}]}, Table[FromDigits[Take[ digs, n], 9], {n, nn}]] (* Harvey P. Dale, Jun 19 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|