Largest known prime number

The largest known prime number is 2136,279,841 − 1, a number which has 41,024,320 digits when written in the decimal system. It was found on October 12, 2024, on a cloud-based virtual machine volunteered by Luke Durant, a 36-year-old researcher from San Jose, California, to the Great Internet Mersenne Prime Search (GIMPS).

A prime number is a natural number greater than 1 with no divisors other than 1 and itself. Euclid's theorem proves that for any given prime number, there will always be a higher one, and thus there are infinitely many; there is no largest prime.

Many of the largest known primes are Mersenne primes, numbers that are one less than a power of two, because they can utilize a specialized primality test that is faster than the general one. As of October 2024, the seven largest known primes are Mersenne primes. The last eighteen record primes were Mersenne primes. The binary representation of any Mersenne prime is composed of all ones, since the binary form of 2k − 1 is simply k ones.

Finding larger prime numbers is sometimes presented as a means to stronger encryption, but this is not the case. Primes with millions of digits are not useful for cryptography.

Current record

The record is currently held by 2136,279,841 − 1 with 41,024,320 digits, found by GIMPS on October 12, 2024. The first and last 120 digits of its value are:

881694327503833265553939100378117358971207354509066041067156376412422630694756841441725990347723283108837509739959776874 ...

(41,024,080 digits skipped)

... 852806517931459412567957568284228288124096109707961148305849349766085764170715060409404509622104665555076706219486871551

Prizes

There are several prizes offered by the Electronic Frontier Foundation (EFF) for record primes. A prime with one million digits was found in 1999, earning the discoverer a US$50,000 prize. In 2008, a ten-million-digit prime won a US$100,000 prize and a Cooperative Computing Award from the EFF. Time called this prime the 29th top invention of 2008.

Both of these primes were discovered through the Great Internet Mersenne Prime Search (GIMPS), which coordinates long-range search efforts among tens of thousands of computers and thousands of volunteers. The $50,000 prize went to the discoverer and the $100,000 prize went to GIMPS. GIMPS will split the US$150,000 prize for the first prime of over 100 million digits with the winning participant. A further US$250,000 prize is offered for the first prime with at least one billion digits.

GIMPS also offers a US$3,000 research discovery award for participants who discover a new Mersenne prime of less than 100 million digits.

History

The following table lists the progression of the largest known prime number in ascending order. Here Mp = 2p − 1 is the Mersenne number with exponent p, where p is a prime number. The longest record-holder known was M19 = 524,287, which was the largest known prime for 184 years.

The primes up to and including are found without a computer, while the primes starting with 180×(M127)2+1 are found using computers.

GIMPS volunteers found the sixteen latest records, all of them Mersenne primes. They were found on ordinary personal computers until the most recent one, found by ex-Nvidia employee Luke Durant using a network of thousands of dedicated graphics processing units (GPUs). Durant spent about one year and US$2 million on the hunt. This is the first time a Mersenne prime has been discovered using GPUs instead of central processing units (CPUs).

Largest known prime by year
Number Digits Year found Discoverer
M17 6 1588 Pietro Cataldi
M19 6 1588 Pietro Cataldi
M31 10 1772 Leonhard Euler
13 1867 Fortuné Landry
M127 39 1876 Édouard Lucas
44 1951 Aimé Ferrier, with a mechanical calculator. The largest record not set by computer.
180×(M127)2+1 79 1951 J. C. P. Miller & D. J. Wheeler using Cambridge's EDSAC computer
M521 157 1952 Raphael M. Robinson
M607 183 1952 Raphael M. Robinson
M1279 386 1952 Raphael M. Robinson
M2203 664 1952 Raphael M. Robinson
M2281 687 1952 Raphael M. Robinson
M3217 969 1957 Hans Riesel
M4423 1,332 1961 Alexander Hurwitz
M9689 2,917 1963 Donald B. Gillies
M9941 2,993 1963 Donald B. Gillies
M11213 3,376 1963 Donald B. Gillies
M19937 6,002 1971 Bryant Tuckerman
M21701 6,533 1978 Laura A. Nickel and Landon Curt Noll
M23209 6,987 1979 Landon Curt Noll
M44497 13,395 1979 David Slowinski and Harry L. Nelson
M86243 25,962 1982 David Slowinski
M132049 39,751 1983 David Slowinski
M216091 65,050 1985 David Slowinski
391581×2216193−1 65,087 1989 The "Amdahl Six": John Brown, Landon Curt Noll, B. K. Parady, Gene Ward Smith, Joel F. Smith, Sergio E. Zarantonello.
Largest non-Mersenne prime that was the largest known prime when it was discovered.
M756839 227,832 1992 David Slowinski and Paul Gage
M859433 258,716 1994 David Slowinski and Paul Gage
M1257787 378,632 1996 David Slowinski and Paul Gage
M1398269 420,921 1996 GIMPS, Joel Armengaud
M2976221 895,932 1997 GIMPS, Gordon Spence
M3021377 909,526 1998 GIMPS, Roland Clarkson
M6972593 2,098,960 1999 GIMPS, Nayan Hajratwala
M13466917 4,053,946 2001 GIMPS, Michael Cameron
M20996011 6,320,430 2003 GIMPS, Michael Shafer
M24036583 7,235,733 2004 GIMPS, Josh Findley
M25964951 7,816,230 2005 GIMPS, Martin Nowak
M30402457 9,152,052 2005 GIMPS, University of Central Missouri professors Curtis Cooper and Steven Boone
M32582657 9,808,358 2006 GIMPS, Curtis Cooper and Steven Boone
M43112609 12,978,189 2008 GIMPS, Edson Smith
M57885161 17,425,170 2013 GIMPS, Curtis Cooper
M74207281 22,338,618 2016 GIMPS, Curtis Cooper
M77232917 23,249,425 2017 GIMPS, Jonathan Pace
M82589933 24,862,048 2018 GIMPS, Patrick Laroche
M136279841 41,024,320 2024 GIMPS, Luke Durant

Twenty largest

A list of the 5,000 largest known primes is maintained by the PrimePages, of which the twenty largest are listed below.

Rank Number Discovered Digits Form Ref
1 2136279841 − 1 2024-10-12 41,024,320 Mersenne
2 282589933 − 1 2018-12-07 24,862,048 Mersenne
3 277232917 − 1 2017-12-26 23,249,425 Mersenne
4 274207281 − 1 2016-01-07 22,338,618 Mersenne
5 257885161 − 1 2013-01-25 17,425,170 Mersenne
6 25241902097152 + 1 2025-10-12 13,426,224 Generalized Fermat
7 243112609 − 1 2008-08-23 12,978,189 Mersenne
8 242643801 − 1 2009-06-04 12,837,064 Mersenne
9 Φ3(−5166931048576) 2023-10-02 11,981,518 Generalized unique
10 Φ3(−4658591048576) 2023-05-31 11,887,192 Generalized unique
11 237156667 − 1 2008-09-06 11,185,272 Mersenne
12 232582657 − 1 2006-09-04 9,808,358 Mersenne
13 10223 × 231172165 + 1 2016-10-31 9,383,761 Proth
14 230402457 − 1 2005-12-15 9,152,052 Mersenne
15 4 × 511786358 + 1 2024-10-01 8,238,312 Generalized Proth
16 225964951 − 1 2005-02-18 7,816,230 Mersenne
17 4052186 × 694052186 + 1 2025-04-17 7,451,366 Generalized Cullen
18 69 × 224612729 − 1 2024-08-13 7,409,102 Riesel
19 224036583 − 1 2004-05-15 7,235,733 Mersenne
20 53362841048576 + 1 2025-11-02 7,054,022 Generalized Fermat

See also

  • List of largest known primes and probable primes

wikipedia, wiki, encyclopedia, book, library, article, read, free download, Information about Largest known prime number, What is Largest known prime number? What does Largest known prime number mean?