OFFSET
1,1
COMMENTS
Records: 5, 11, 29, 37, 6421, 14281, 84913, 388621, 743507, 1264129, 1491377, 1613279, 15733451, 27196633, 106132883, 125747441, 304328911, 344278939, 756574061, 1166821769, 2691812749, ..., .
1/n = A179256(n).
LINKS
Andres Cicuttin and Robert G. Wilson v, Table of n, a(n) for n = 1..375
Andres Cicuttin and Robert G. Wilson v, Table of n, Farey fraction = A038566/A038567 and a(n) for n=1..1000, or 0 if no such value is known.
EXAMPLE
Row 1: 1/1 5
Row 2: 1/2 11
Row 3: 1/3 2/3 29 37
Row 4: 1/4 3/4 6421 367
Row 5: 1/5 2/5 3/5 4/5 149 14281 251
Row 6: 1/6 5/6 521 631
Row 7: 1/7 .. 6/7 84913 127 331 75479 787 7057
Row 8: 1/8 3/8 5/8 7/8 1949 3407 388621 1847
etc.
MATHEMATICA
f[n_] := Block[{p = 2, q = 3, r = 5}, While[(r - q) != n(q - p), p = q; q = r; r = NextPrime@ r]; q]; Farey[n_] := Union@ Flatten@ Table[a/b, {b, n}, {a, 0, b}]; ff = Rest@ Reverse@ Sort[ Farey[25], Denominator[#2] < Denominator[#1] &]; f@# & /@ ff
CROSSREFS
KEYWORD
nonn
AUTHOR
Andres Cicuttin and Robert G. Wilson v, Dec 05 2016
STATUS
approved