Skip to content

Mersenne Primes List

    A Mersenne prime is a prime number of the form 2p − 1, where the exponent p is prime. There are 52 known Mersenne primes. Their exponents begin 2, 3, 5, 7, 13 and extend to 136,279,841.

    The largest known member is 2136,279,841 − 1. It has 41,024,320 decimal digits. The list is short because a prime exponent is only a necessary condition: many prime values of p still produce a composite number.

    52Known Mersenne primes
    136,279,841Largest known exponent
    41,024,320Digits in the largest known member
    51* and 52*Provisional list positions

    A detailed list of Mersenne primes showing their exponents and large prime numbers.

    Complete List of Known Mersenne Primes

    The table is ordered by exponent, not by discovery date. For very large entries, writing the full decimal expansion is impractical, so the standard form 2p − 1 is used.

    Known Mersenne primes ordered by exponent; 51* and 52* have provisional ordinal positions.
    #Exponent pMersenne primeDigitsDiscovered
    1222 − 11c. 500 BCE
    2323 − 11c. 500 BCE
    3525 − 12c. 275 BCE
    4727 − 13c. 275 BCE
    513213 − 141456
    617217 − 161588
    719219 − 161588
    831231 − 1101772
    961261 − 1191883
    1089289 − 1271911
    111072107 − 1331914
    121272127 − 1391876
    135212521 − 11571952
    146072607 − 11831952
    151,27921,279 − 13861952
    162,20322,203 − 16641952
    172,28122,281 − 16871952
    183,21723,217 − 19691957
    194,25324,253 − 11,2811961
    204,42324,423 − 11,3321961
    219,68929,689 − 12,9171963
    229,94129,941 − 12,9931963
    2311,213211,213 − 13,3761963
    2419,937219,937 − 16,0021971
    2521,701221,701 − 16,5331978
    2623,209223,209 − 16,9871979
    2744,497244,497 − 113,3951979
    2886,243286,243 − 125,9621982
    29110,5032110,503 − 133,2651988
    30132,0492132,049 − 139,7511983
    31216,0912216,091 − 165,0501985
    32756,8392756,839 − 1227,8321992
    33859,4332859,433 − 1258,7161994
    341,257,78721,257,787 − 1378,6321996
    351,398,26921,398,269 − 1420,9211996
    362,976,22122,976,221 − 1895,9321997
    373,021,37723,021,377 − 1909,5261998
    386,972,59326,972,593 − 12,098,9601999
    3913,466,917213,466,917 − 14,053,9462001
    4020,996,011220,996,011 − 16,320,4302003
    4124,036,583224,036,583 − 17,235,7332004
    4225,964,951225,964,951 − 17,816,2302005
    4330,402,457230,402,457 − 19,152,0522005
    4432,582,657232,582,657 − 19,808,3582006
    4537,156,667237,156,667 − 111,185,2722008
    4642,643,801242,643,801 − 112,837,0642009
    4743,112,609243,112,609 − 112,978,1892008
    4857,885,161257,885,161 − 117,425,1702013
    4974,207,281274,207,281 − 122,338,6182016
    5077,232,917277,232,917 − 123,249,4252017
    51*82,589,933282,589,933 − 124,862,0482018
    52*136,279,8412136,279,841 − 141,024,3202024
    About the asterisks: positions 51 and 52 are provisional. There are 52 known Mersenne primes, but not every candidate between the verified 50th entry and the largest known exponent has completed the level of checking needed to lock those two ordinal positions.

    Mersenne Prime Exponents

    The exponent sequence is often the most useful way to store the list. Each value of p below produces a prime number when substituted into 2p − 1:

    2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, 9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 110503, 132049, 216091, 756839, 859433, 1257787, 1398269, 2976221, 3021377, 6972593, 13466917, 20996011, 24036583, 25964951, 30402457, 32582657, 37156667, 42643801, 43112609, 57885161, 74207281, 77232917, 82589933, 136279841

    A missing prime exponent does not mean the exponent itself is composite. It means the corresponding Mersenne number is composite. For example, 11 is prime, but 211 − 1 is not.

    The First Mersenne Primes in Decimal Form

    The earliest members are small enough to write normally. After that, the decimal expansions grow too long to be useful on a reference page.

    The first 12 Mersenne primes written as decimal integers.
    Exponent p2p − 1Digits
    231
    371
    5312
    71273
    138,1914
    17131,0716
    19524,2876
    312,147,483,64710
    612,305,843,009,213,693,95119
    89618,970,019,642,690,137,449,562,11127
    107162,259,276,829,213,363,391,578,010,288,12733
    127170,141,183,460,469,231,731,687,303,715,884,105,72739

    Why a Prime Exponent Is Not Enough

    If 2p − 1 is prime, then p must be prime. A composite exponent can be ruled out immediately. If n = ab with both factors greater than 1, then:

    2ab − 1 = (2a)b − 1

    An expression of the form xb − 1 is divisible by x − 1, so a composite exponent forces the Mersenne number to be composite.

    The reverse does not hold. A prime exponent only creates a candidate. The standard small example is:

    p = 11 is prime
    211 − 1 = 2047 = 23 × 89
    2047 is composite, so it is not a Mersenne prime.

    This is why the exponent list skips many ordinary primes. Values such as 11, 23 and 29 are prime exponents, but their Mersenne numbers are not prime.

    How Many Digits Does a Mersenne Prime Have?

    The number of decimal digits can be found without expanding 2p − 1. For a Mersenne prime Mp = 2p − 1, use:

    digits = floor(p × log102) + 1

    For p = 31, the calculation gives 10 digits, matching 231 − 1 = 2,147,483,647. For p = 136,279,841, it gives 41,024,320 digits. The formula makes size comparisons practical even when the number itself is far too large to display.

    How Fast the Known Mersenne Primes Grow

    The early entries fit on a line of text. Later entries contain millions of digits. The growth comes from the exponential term 2p, while the known exponents also spread farther apart as the search moves into larger ranges.

    Selected size milestones from the known Mersenne prime list.
    List positionExponent pDigits
    1212739
    2419,9376,002
    32756,839227,832
    386,972,5932,098,960
    4857,885,16117,425,170
    5077,232,91723,249,425
    51*82,589,93324,862,048
    52*136,279,84141,024,320

    The jump from the previous record at p = 82,589,933 to p = 136,279,841 added more than 16 million decimal digits. That scale is one reason Mersenne notation is far more useful than printing the integer itself.

    The Largest Known Mersenne Prime

    Largest known Mersenne prime

    2136,279,841 − 1

    41,024,320 digits

    This prime was found by Luke Durant on October 12, 2024 through the Great Internet Mersenne Prime Search. The initial probable-prime result used GpuOwl on an NVIDIA A100, and later checks confirmed primality. It remains the largest known prime number as well as the largest known Mersenne prime.

    The previous record was 282,589,933 − 1, with 24,862,048 digits. The newer prime is therefore not a small extension of the old record; the difference in decimal length alone exceeds 16 million digits.

    Why Positions 51 and 52 Are Provisional

    The asterisk beside 51 and 52 is easy to misread. It does not mean those numbers are unconfirmed primes. Their primality has been confirmed. The uncertainty concerns their ordinal positions in the exponent-ordered list.

    To declare a Mersenne prime permanently as number 51 or 52, smaller candidate exponents must be eliminated with enough verification. GIMPS reports that all exponents below 141 million have been tested at least once, while all tests below 81 million have been verified. Because the verification frontier is lower than the largest known exponents, an undiscovered Mersenne prime could still exist in the not-yet-fully-verified interval.

    The useful distinction: there are 52 known Mersenne primes, but the final numerical rank of the two largest known entries is not yet locked.

    List Position and Discovery Order Are Different

    The number in the first column describes position by increasing exponent. It is not always the order in which the primes were discovered.

    For example, 2127 − 1 is listed as number 12, yet Édouard Lucas proved it prime in 1876. The smaller-exponent entries at p = 89 and p = 107 were discovered later, in 1911 and 1914. A similar effect appears in the computer era: p = 110,503 was discovered in 1988, while the larger p = 132,049 and p = 216,091 had already been found in 1983 and 1985.

    This happens because a search does not always finish exponents in strict numerical order. Hardware, algorithms, independent verification and previously untested ranges can change the order in which results become known.

    How a Candidate Reaches the Known List

    Modern Mersenne searches start with prime exponents. Factor searches can remove many candidates before a full primality test is attempted. If no factor is found, a probable-prime test can examine the full Mersenne number.

    A probable-prime result is then checked with a deterministic Mersenne-specific test such as the Lucas–Lehmer test. For p > 2, Lucas–Lehmer gives an exact primality criterion for 2p − 1. This special structure is one reason Mersenne numbers dominate records for very large known primes.

    For ordinary-size integers, the same prime/composite distinction can be checked directly with the Prime Number Checker. A number belongs on the Mersenne list only when it is both prime and exactly one less than a power of two with a prime exponent.

    Search Progress Beyond the Current Record

    The search does not stop at p = 136,279,841. Distributed testing continues above the current record while older results are independently verified. GIMPS has completed at least one test for every exponent below 141 million and has verified all tests below 81 million.

    Those two frontiers serve different purposes. First-time testing searches new territory. Verification closes older gaps and is what eventually fixes provisional list positions. A new Mersenne prime could therefore come from a larger exponent, or from a lower exponent whose earlier result has not yet reached the required verification state.

    Are There Infinitely Many Mersenne Primes?

    No proof is known that the Mersenne prime sequence is infinite. There are infinitely many ordinary prime numbers, but that result does not imply that infinitely many primes have the special form 2p − 1.

    The known list therefore has an unusual status: it is complete for the primes discovered and confirmed so far, but no formula tells us the next exponent. The next Mersenne prime may lie close to the present search range or much farther away.

    Mersenne Numbers, Candidates and Mersenne Primes

    The difference between a Mersenne number, a candidate and a Mersenne prime.
    TermConditionExample
    Mersenne numberAny number of the form 2n − 1211 − 1 = 2047
    Mersenne prime candidate2p − 1 with prime p2047, where p = 11
    Mersenne primeThe candidate itself is prime213 − 1 = 8191

    Every Mersenne prime has a prime exponent, but not every prime exponent produces a Mersenne prime. That single distinction explains why the exponent sequence is sparse and why each new entry must pass a full primality proof rather than a simple exponent check.

    📌

    Complete guide: Prime Number Lists