OFFSET
2,2
COMMENTS
Counts certain consecutive Farey fractions of order n.
Not the same as A207525, which counts p/q<=(the quotient of consecutive Fibonacci numbers which has the greatest denominator <=n).
EXAMPLE
a(4)=4 counts 1/4, 1/3, 1/2, 2/3.
a(5)=7 counts 1/4, 1/4, 1/3, 2/5, 1/2, 3/5, 2/3.
MATHEMATICA
r[n_] := Union[Flatten[Table[p/q, {q, 2, n - 1},
{p, 1, q - 1}]]];
t = Table[r[n], {n, 3, 8}]
f[n_] := Fibonacci[n];
g = Table[f[k]/f[k + 1], {k, 1, 100}];
s[n_] := Max[Intersection[r[n + 2], g]]
Flatten[Table[Position[r[n + 2], s[n]], {n, 1, 60}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 18 2012
STATUS
approved