login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A094124
First prime in prime(p) - n, where p is prime and n is even.
0
3, 7, 5, 3, 7, 5, 3, 43, 13, 11, 19, 7, 5, 3, 11, 179, 7, 5, 3, 19, 17, 23, 13, 11, 17, 7, 5, 3, 373, 7, 5, 3, 17, 41, 13, 11, 53, 7, 5, 3, 97, 43, 23, 103, 19, 17, 97, 13, 11, 79, 7, 5, 3, 19, 17, 67, 13, 11, 61, 7, 5, 3, 31, 29, 61, 47, 23, 43, 19, 17, 37, 13, 11, 31, 7, 5, 3, 23, 53
OFFSET
2,1
COMMENTS
Conjecture: This sequence, extended to infinity, contains all odd primes.
EXAMPLE
Prime(7) - 16 = 1 not prime
Prime(11)- 16 = 15 not prime
Prime(13)- 16 = 25 not prime
Prime(17)- 16 = 43 prime
PROG
(PARI) a(n, m) = { forstep(j=2, m, 2, forprime(x=2, n, y=prime(x)- j; if(isprime(y), print1(y", "); break) ) ) }
CROSSREFS
Sequence in context: A210641 A021910 A331632 * A141519 A228000 A029946
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 31 2004
STATUS
approved