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”).

A176559
The number of primes between two consecutive Mersenne primes.
3
1, 6, 19, 996, 11222, 31138, 105054174, 55890483939986569, 10201730748372641087928204
OFFSET
1,2
LINKS
G. L. Honaker, Jr. and C. Caldwell, 19, Prime Curios!.
FORMULA
a(n) = A059305(n+1) - A059305(n) - 1. - Amiram Eldar, May 14 2023
EXAMPLE
a(3) = 19 because between 3rd and fourth Mersenne primes (31 and 127) there are 19 primes (37, 41, 43, ... 113).
MATHEMATICA
(* Run the program for A000668 first *) Table[-1 + PrimePi[A000668[[n + 1]]] - PrimePi[A000668[[n]]], {n, 7}] (* Alonso del Arte, Dec 07 2010 *)
CROSSREFS
Cf. A000040, A000668 (Mersenne primes), A059305.
Sequence in context: A091876 A041066 A060748 * A241715 A224919 A282377
KEYWORD
nonn,hard,more
AUTHOR
G. L. Honaker, Jr., Dec 07 2010
EXTENSIONS
a(9) from the data at A059305 added by Amiram Eldar, May 14 2023
STATUS
approved