Mersenne Primes: List of All 52 Known (2026)

Quick answer: A Mersenne prime is a prime of the form 2^p − 1, such as 3, 7, 31 and 127. The exponent p must itself be prime, but that is not enough: 2^11 − 1 = 2047 = 23 × 89. As of November 22, 2026, 52 are known. The largest, 2^136,279,841 − 1, has 41,024,320 digits and is also the largest known prime.

Named after the French friar Marin Mersenne, whose influential but incorrect 1644 list included exponents 67 and 257 and missed 61, 89 and 107, Mersenne primes are the record-holders of the prime world: almost every largest known prime in history has been one. A number \(2^n – 1\) is a Mersenne number; it is a Mersenne prime only when it is prime, as \(2^4 – 1 = 15\) and \(2^{11} – 1 = 2047\) show. Jump to the full list.

The First Mersenne Primes

\(p\)\(2^p – 1\)Prime?
23Yes
37Yes
531Yes
7127Yes
112,047No: \(23 \times 89\)
138,191Yes
17131,071Yes
19524,287Yes

Why the Exponent Must Be Prime

If \(p = ab\) with \(a, b > 1\), then \(2^a – 1\) divides \(2^{ab} – 1\), because

\[ 2^{ab} – 1 = (2^a – 1)\left(2^{a(b-1)} + 2^{a(b-2)} + \cdots + 1\right). \]

For example, \(2^6 – 1 = 63 = 7 \times 9\), and \(7 = 2^3 – 1\). So composite exponents never work. Prime exponents sometimes do. (See our exponent rules and try small cases with our prime number checker.)

How New Ones Are Found

The Lucas–Lehmer test checks \(2^p – 1\) for an odd prime \(p\): start with \(s_0 = 4\), set \(s_{k+1} = s_k^2 – 2 \pmod{2^p – 1}\), and the number is prime exactly when \(s_{p-2} = 0\). For \(p = 5\) the residues are 4, 14, 8, 0, proving 31 is prime. (The case \(p = 2\), giving 3, is handled separately.)

Founded in 1996, the Great Internet Mersenne Prime Search (GIMPS) has discovered the 18 most recent Mersenne primes, using volunteers’ computers and, in 2024, cloud GPUs. It first searches for small factors that eliminate candidates, then runs probable-prime tests with verifiable proofs, and confirms any hit with independent Lucas–Lehmer tests. See the record in our largest known prime explainer.

Recent Records

RankMersenne primeDigitsFound
52nd known\(2^{136{,}279{,}841} – 1\)41,024,320October 2024 (Luke Durant)
51st\(2^{82{,}589{,}933} – 1\)24,862,048December 2018 (Patrick Laroche); confirmed as 51st in numerical order in September 2026

The 2024 prime is the 52nd known; its position in numerical order is provisional until all smaller exponents are verified. In November 2026, GIMPS reported every exponent below 84 million verified.

List of All 52 Known Mersenne Primes

#Exponent \(p\)Digits of \(2^p – 1\)Year found
121Antiquity
231Antiquity
352Antiquity
473Antiquity
51341456
61761588
71961588
831101772
961191883
1089271911
11107331914
12127391876
135211571952
146071831952
151,2793861952
162,2036641952
172,2816871952
183,2179691957
194,2531,2811961
204,4231,3321961
219,6892,9171963
229,9412,9931963
2311,2133,3761963
2419,9376,0021971
2521,7016,5331978
2623,2096,9871979
2744,49713,3951979
2886,24325,9621982
29110,50333,2651988
30132,04939,7511983
31216,09165,0501985
32756,839227,8321992
33859,433258,7161994
341,257,787378,6321996
351,398,269420,9211996
362,976,221895,9321997
373,021,377909,5261998
386,972,5932,098,9601999
3913,466,9174,053,9462001
4020,996,0116,320,4302003
4124,036,5837,235,7332004
4225,964,9517,816,2302005
4330,402,4579,152,0522005
4432,582,6579,808,3582006
4537,156,66711,185,2722008
4642,643,80112,837,0642009
4743,112,60912,978,1892008
4857,885,16117,425,1702013
4974,207,28122,338,6182016
5077,232,91723,249,4252017
5182,589,93324,862,0482018
52*136,279,84141,024,3202024

* Position in numerical order is provisional. Source: the GIMPS list of known Mersenne primes. GIMPS found numbers 35 to 52.

The Perfect Number Connection

Every Mersenne prime \(2^p – 1\) gives an even perfect number \(2^{p-1}(2^p – 1)\), and every even perfect number arises this way. Whether an odd perfect number exists is still unknown.

Open Questions

Are there infinitely many Mersenne primes? Most mathematicians think so, and heuristics predict roughly how often they appear, but no one has proved it.

Watch: Mersenne Primes in Video

If you learn better by watching, these videos are worth your time.

31 and Mersenne Primes (Numberphile). A friendly introduction using the number 31.
The Slightly Bungled Mersenne Prime Origin Story (Numberphile). The history of Mersenne’s famous (and partly wrong) list.

Check Your Understanding

Five quick questions to see how much of this has stuck. Pick an answer and press Submit; you will see a short explanation either way.

Answer each question and press Submit to see your result right away.

1. Why is 2^11 − 1 not prime?
Found a bug? Let us know!
2. Why must the exponent be prime?
Found a bug? Let us know!
3. How many Mersenne primes are known?
Found a bug? Let us know!
4. Which perfect number comes from the Mersenne prime 31?
Found a bug? Let us know!
5. What test is used to check Mersenne numbers?
Found a bug? Let us know!

Frequently Asked Questions

What is a Mersenne prime?

A prime number of the form 2^p − 1, such as 3, 7, 31 and 127.

How many Mersenne primes are there?

52 are known as of November 2026. Whether there are infinitely many is an open question.

What is the largest Mersenne prime?

2^136,279,841 − 1, with 41,024,320 digits, found by Luke Durant with GIMPS in October 2024. It is also the largest known prime.

How are Mersenne primes related to perfect numbers?

Each Mersenne prime 2^p − 1 gives the even perfect number 2^(p−1)(2^p − 1), and all even perfect numbers come from Mersenne primes.

Keep Exploring

Sources and Further Reading

Related to This Article

What people say about "Mersenne Primes: List of All 52 Known (2026) - Effortless Math"?

No one replied yet.

Leave a Reply