OFFSET
1,2
LINKS
G. L. Honaker, Jr. and C. Caldwell, 19, Prime Curios!.
FORMULA
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
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