|
|
A037753
|
|
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1,0.
|
|
0
|
|
|
2, 15, 91, 546, 3278, 19671, 118027, 708162, 4248974, 25493847, 152963083, 917778498, 5506670990, 33040025943, 198240155659, 1189440933954, 7136645603726, 42819873622359, 256919241734155, 1541515450404930
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(2+x) ) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, Oct 15 2015
|
|
MATHEMATICA
|
Module[{nn=20, ps}, ps=PadRight[{}, nn, {2, 3, 1, 0}]; Table[ FromDigits[ Take[ ps, n], 6], {n, nn}]] (* or *) LinearRecurrence[{7, -7, 7, -6}, {2, 15, 91, 546}, 20] (* Harvey P. Dale, May 30 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|