

A088988


Least prime that begins a run of exactly 2n1 primes between two consecutive primeindexed primes.


0



7, 19, 89, 463, 809, 1223, 619, 15727, 3767, 6907, 9109, 14197, 22109, 27103, 41057, 55009, 10937, 99559, 357829, 216649, 177797, 172213, 1040813, 327779, 375043, 219937, 423019, 1049177, 536281, 523571, 402769, 1155431, 2192123, 1792103
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Table of n, a(n) for n=1..34.


FORMULA

a(n) = prime(1 + A000230(n)) = prime(1 + prime(A038664(n))).


EXAMPLE

5 and 11 are the 3rd and 5th primes; 7 begins a run of 1 primes.
17 and 31 are the 7rd and 11th primes; 19 begins a run of 3 primes.


PROG

(PARI) pipprimes(n, m) = { for(x=1, n, c=0; p1 = prime(prime(x)); p2 = prime(prime(x+1)); forprime(y=p1+2, p22, c++); if(c==m, forprime(y=p1+2, p22, print1(y", "); ); ) ) }


CROSSREFS

Sequence in context: A237436 A300556 A267378 * A109879 A109880 A245489
Adjacent sequences: A088985 A088986 A088987 * A088989 A088990 A088991


KEYWORD

nonn


AUTHOR

Cino Hilliard, Oct 31 2003


EXTENSIONS

Extended and edited by T. D. Noe, Apr 14 2009


STATUS

approved



