Ith Mersenne - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


NumberTheory

  

IthMersenne

  

Mersenne exponents

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IthMersenne(i)

Parameters

i

-

positive integer

Description

• 

The IthMersenne(i) command returns the ith smallest number  such that  is known to be prime.

• 

If  is prime, then it is said to be a Mersenne prime.

• 

There are currently 52 known Mersenne primes, but the rankings of the forty-ninth to fifty-second Mersenne primes are provisional, since there might be undiscovered Mersenne primes greater than the forty-ninth but less than the fifty-second.

• 

An error will be displayed if i is greater than .

Examples

(1)

(2)

Warning, the rankings of the 49th to 52nd Mersenne primes are provisional, since it has not been determined that there do not exist more Mersenne primes between 48th and 52nd

(3)

Error, (in NumberTheory:-IthMersenne) only 52 Mersenne primes are known

Compatibility

• 

The NumberTheory[IthMersenne] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

NumberTheory[IsMersenne]

 


Download Help Document