login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168253 a(n) is the smallest prime q such that, for the previous prime p and the following prime r, the fraction (q-p)/(r-q) has denominator n (or 0, if such a prime does not exist). 9
5, 3, 23, 89, 139, 199, 113, 1933, 523, 3089, 1129, 1669, 2477, 2971, 4297, 5591, 1327, 28351, 30593, 19333, 16141, 36389, 81463, 28229, 31907, 19609, 35617, 82073, 44293, 102701, 34061, 288583, 221327, 134513, 173359, 360091 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: a(n)>0 for all n.
LINKS
MATHEMATICA
f[n_] := Block[{p = 2, q = 3, r = 5}, While[ Numerator[(r - q)/(q - p)] != n, p = q; q = r; r = NextPrime@ r]; q]; Array[f, 36]
p = 2; q = 3; r = 5; t[_] = 0; While[q < 100000000, If[ t[ Denominator[(q - p)/(r - q)]] == 0, t[ Denominator[(q - p)/(r - q)]] = q]; p = q; q = r; r = NextPrime@ r]; t@# & /@ Range@100 (* Robert G. Wilson v, Dec 11 2016 *)
CROSSREFS
Sequence in context: A283507 A290074 A146317 * A357756 A181351 A266385
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Jan 05 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:34 EDT 2024. Contains 371967 sequences. (Running on oeis4.)