|
|
A037592
|
|
Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
|
|
0
|
|
|
1, 6, 39, 235, 1410, 8463, 50779, 304674, 1828047, 10968283, 65809698, 394858191, 2369149147, 14214894882, 85289369295, 511736215771, 3070417294626, 18422503767759, 110535022606555, 663210135639330, 3979260813835983
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+3*x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
Module[{nn=30, c}, c=PadRight[{}, nn, {1, 0, 3}]; Table[FromDigits[Take[c, n], 6], {n, nn}]] (* Harvey P. Dale, Oct 14 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|