CURIUM
Why are the largest known prime numbers all written as 2ᵖ − 1?

Mersenne prime

Why are the largest known prime numbers all written as 2ᵖ − 1?

Because these numbers have an exceptionally fast test of their own to tell whether they are prime, the Lucas-Lehmer test. Checking a number with tens of millions of digits then becomes feasible. Since 1992, every record for the largest known prime has been a Mersenne number.

MathsNumber theory

The three levels

Beginner

Why are the largest known prime numbers all written as 2ᵖ − 1?

Because these numbers have an exceptionally fast test of their own to tell whether they are prime, the Lucas-Lehmer test. Checking a number with tens of millions of digits then becomes feasible. Since 1992, every record for the largest known prime has been a Mersenne number.

Intermediate

Why is 2¹¹ − 1 not prime, even though 11 is?

Because the rule only works one way: if 2ⁿ − 1 is prime, then n must be prime, but the reverse is false. 2¹¹ − 1 equals 2,047, which is 23 × 89. Marin Mersenne himself got it wrong, since his list up to the exponent 257 contained two false primes and missed three real ones.

Expert

How was the largest known prime number found in October 2024?

By Luke Durant, a participant in the GIMPS project, who ran the test on NVIDIA graphics processors. The number, 2 to the power 136,279,841 minus 1, has 41,024,320 digits, sixteen million more than the previous record. Since 1996, GIMPS has brought together volunteers who lend their machines to the hunt.