gives the n Mersenne prime exponent.
- A Mersenne prime exponent is a prime number p for which the Mersenne number is prime.
- In MersennePrimeExponent[n], n must be a positive integer.
- As of this version of the Wolfram Language, only the first 45 Mersenne prime exponents are known. MersennePrimeExponent[n] will attempt to find Mersenne prime exponents for larger n, but cannot be expected to return results in a reasonable time.
Examplesopen allclose all
Introduced in 2016