OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..48
GIMPS, Known Mersenne primes.
Eric Weisstein's World of Mathematics, Mersenne Prime.
Wikipedia, Mersenne prime.
EXAMPLE
Terms begin as follows:
. a(n) =
n n-th Mersenne prime exponent q nextprime(q)
- --------------------- ---------- ------------
1 2^2 - 1 = 3 2 3
2 2^3 - 1 = 7 3 5
3 2^5 - 1 = 31 5 7
4 2^7 - 1 = 127 7 11
5 2^13 - 1 = 8191 13 17
6 2^17 - 1 = 131071 17 19
7 2^19 - 1 = 524287 19 23
8 2^31 - 1 = 2147483647 31 37
MATHEMATICA
Table[NextPrime[MersennePrimeExponent[n]], {n, 1, 47}]
CROSSREFS
KEYWORD
hard,less,nonn
AUTHOR
David R. Kirkby, May 18 2021
STATUS
approved