|
|
A037607
|
|
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3.
|
|
0
|
|
|
1, 9, 66, 463, 3243, 22704, 158929, 1112505, 7787538, 54512767, 381589371, 2671125600, 18697879201, 130885154409, 916196080866, 6413372566063, 44893607962443, 314255255737104, 2199786790159729
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+2*x+3*x^2) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
Module[{nn=20, t}, t=PadRight[{}, nn, {1, 2, 3}]; Table[FromDigits[Take[t, i], 7], {i, nn}]] (* Harvey P. Dale, Oct 02 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|