A279067
Least prime q such that (r-q)/(q-p), where pA038566/A038567.
5, 11, 29, 37, 6421, 367, 149, 14281, 251, 701, 521, 631, 84913, 127, 331, 75479, 787, 7057, 1949, 3407, 388621, 1847, 1277, 1087, 2879, 1399, 13859, 4621, 43391, 1657, 743507, 40213, 1151, 162209, 1973, 3491, 736577, 2579, 8039, 1264129, 14369, 43691, 4547, 4201, 8147, 29101
Offset: 1
Keywords
Examples
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.
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.
Programs
-
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
Comments