login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077019 a(n) is the smallest number for which the prime distance A051699 is equal to n. 3
2, 1, 0, 26, 93, 118, 119, 120, 531, 532, 897, 1140, 1339, 1340, 1341, 1342, 1343, 1344, 9569, 15702, 15703, 15704, 15705, 19632, 19633, 19634, 19635, 31424, 31425, 31426, 31427, 31428, 31429, 31430, 31431, 31432, 31433, 155958, 155959, 155960, 155961, 155962, 155963, 155964 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

David A. Corneth, Table of n, a(n) for n = 0..775 (using b-file from A002386)

Eric Weisstein's World of Mathematics, Prime Distance

PROG

(PARI) d(n) = if(n<1, 2*(n==0), min(nextprime(n)-n, n-precprime(n))); \\ A051699

a(n) = my(k=0); while (d(k) != n, k++); k; \\ Michel Marcus, Aug 21 2019

CROSSREFS

Cf. A002386, A051699.

Sequence in context: A268436 A249570 A051652 * A139037 A108511 A261160

Adjacent sequences:  A077016 A077017 A077018 * A077020 A077021 A077022

KEYWORD

nonn

AUTHOR

Eric W. Weisstein, Oct 17 2002

EXTENSIONS

More terms from Michel Marcus, Aug 21 2019

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 27 12:30 EDT 2020. Contains 337380 sequences. (Running on oeis4.)