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 45 Mersenne prime exponents have definite ranking. Five more Mersenne prime exponents are known, but their ranking is still unknown. MersennePrimeExponent[n] will attempt to find Mersenne prime exponents for n larger than 45, but cannot be expected to return results in a reasonable time.
Examplesopen allclose all
Introduced in 2016