OFFSET
0,1
COMMENTS
I call it the devil's Farey because of the 6,6,6 structure.
FORMULA
a(n) = abs([x^n] x * (1 + 2/x - 6/(1-x))).
a(n) = abs([x^n] (2-7*x-x^2) / (1-x)).
a(n) = 6 for all n >= 2.
MATHEMATICA
a = 1; b = 2; c = 3; d = 3; e = 0; f = -1 p[x_] = FullSimplify[ExpandAll[(x - a)*(x - b)*(x - c)/((x - d)*(x - e)*(x -f))]] a = Abs[ReplacePart[Table[Abs[Coefficient[Series[p[x], {x, 0, 30}], x^n]], {n, -1, 30}], -5, 2]]
CROSSREFS
KEYWORD
nonn,dumb,less,changed
AUTHOR
Roger L. Bagula, Jan 31 2006
EXTENSIONS
Edited by Sean A. Irvine, Jul 07 2026
STATUS
approved
