OFFSET
1,1
LINKS
Caldwell and Honaker, 61897...68159 (27-digits), Prime Curios!
FORMULA
a(n) = A139231(n) - 1. - Omar E. Pol, Mar 23 2018
EXAMPLE
a(2) = 23 because there are 23 positive integers between successive Mersenne primes 7 and 31.
MATHEMATICA
-1 + Differences@ Array[2^MersennePrimeExponent[#] - 1 &, 12] (* Michael De Vlieger, Apr 21 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Mar 23 2018
STATUS
approved