|
|
A037563
|
|
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1.
|
|
0
|
|
|
2, 14, 85, 512, 3074, 18445, 110672, 664034, 3984205, 23905232, 143431394, 860588365, 5163530192, 30981181154, 185887086925, 1115322521552, 6691935129314, 40151610775885, 240909664655312, 1445457987931874
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(2+2*x+x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {2, 2, 1}], 6], {n, 20}] (* or *) LinearRecurrence[{6, 0, 1, -6}, {2, 14, 85, 512}, 20] (* Harvey P. Dale, Mar 14 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|