The Largest Known Primes
1. IntroductionThe ancient Greeks proved (ca 300 BC) that there were infinitely many primes and that they were irregularly spaced (there can be arbitrarily large gaps between successive primes). On the other hand, in the nineteenth century it was shown that the number of primes less than or equal to n approaches n/(log n) (as n gets very large); so a rough estimate for the nth prime is n log n (see the document "How many primes are there?")
The Sieve of Eratosthenes is still the most efficient way of finding all very small primes (e.g., those less than 1,000,000). However, most of the largest primes are found using special cases of Lagrange's Theorem from group theory. See the separate documents on proving primality for more information.
In 1984 Samuel Yates defined a titanic prime to be any prime with at least 1,000 digits [Yates85]. When he introduced this term there were only 110 such primes known; now there are over 1000 times that many! And as computers and cryptology continually give new emphasis to search for ever larger primes, this number will continue to grow. Before long we expect to see the first megaprime.
At this site we maintain a database of the 5000 largest known primes (plus selected smaller primes). The complete list of approximately 6,000 primes is available in several forms below; but first we offer a quote and a few records for your perusal.
The problem of distinguishing prime numbers from composite numbers and of resolving the latter into their prime factors is known to be one of the most important and useful in arithmetic. It has engaged the industry and wisdom of ancient and modern geometers to such an extent that it would be superfluous to discuss the problem at length... Further, the dignity of the science itself seems to require that every possible means be explored for the solution of a problem so elegant and so celebrated. (Karl Friedrich Gauss, Disquisitiones Arithmeticae, 1801)
2. The "Top Ten" Record Primes| The Ten Largest Known Primes | See also the page: The top 20: largest known primes. |
The primality of this number was verified by David Slowinski who has found several of the recent record primes. The complete decimal expansion of this 909,526 digit number is available in both text form and zipped form. Click here for more information.
| prime | digits | who | when | reference |
|---|---|---|---|---|
| 23021377-1 | 909526 | Clarkson, Woltman, Kurowski & GIMPS | 1998 | (notes) |
| 22976221-1 | 895932 | Spence, Woltman & GIMPS | 1997 | (notes) |
| 21398269-1 | 420921 | Armengaud, Woltman & GIMPS | 1996 | (notes) |
| 21257787-1 | 378632 | Slowinski & Gage | 1996 | (notes) |
| 2859433-1 | 258716 | Slowinski & Gage | 1994 | |
| 2756839-1 | 227832 | Slowinski & Gage | 1992 | [Peterson92] |
| 302627325.2530101+1 | 159585 | Nash, Dunaieff, Burrowes, Jobling & Gallot | 1999 | |
| 481899.2481899+1 | 145072 | Morii & Gallot | 1998 | |
| 361275.2361275+1 | 108761 | Smith & Gallot | 1998 | |
| 302442855.2336211+1 | 101219 | Nash, Dunaieff, Burrowes, Jobling & Gallot | 1998 | |
Click here to see the
one hundred largest known primes. You might also be interested
in seeing this prime on the graph of the
largest known prime by year.
| The Ten Largest Known Twin Primes | See also the page: The top 20: twin primes, and the glossary entry: twin primes. |
| prime | digits | who | when | reference |
|---|---|---|---|---|
| 361700055.239020±1 | 11755 | Henri Lifchitz | 1999 | |
| 835335.239014±1 | 11751 | Ballinger & Gallot | 1998 | |
| 242206083.238880±1 | 11713 | Jįrai & Indlekofer | 1995 | |
| 40883037.223456±1 | 7069 | Lifchitz & Gallot | 1998 | |
| 843753.222222±1 | 6696 | Rivera & Gallot | 1997 | |
| 7485.220023±1 | 6032 | Buddenhagen & Gallot | 1998 | |
| 8182815.217838±1 | 5377 | Smith & Gallot | 1998 | |
| 570918348.105120±1 | 5129 | Harvey Dubner | 1995 | [Ribenboim95, p263] |
| 697053813.216352±1 | 4932 | Jįrai & Indlekofer | 1995 | [IJ96] |
| 37442007.215440±1 | 4656 | Hanson & Gallot | 1999 | |
Click here to see all of the twin primes on the list of the Largest Known Primes.
Note: The idea of prime twins can be generalized to prime
triplets, quadruplets; and more generally, prime k-tuplets. Tony
Forbes keeps a page
listing these records.
| The Ten Largest Known Mersenne Primes | See also the pages: The top 20: Mersenne primes, and Mersenne primes (history, theorems and lists). |
| prime | digits | who | when | reference |
|---|---|---|---|---|
| 23021377-1 | 909526 | Clarkson, Woltman, Kurowski & GIMPS | 1998 | (notes) |
| 22976221-1 | 895932 | Spence, Woltman & GIMPS | 1997 | (notes) |
| 21398269-1 | 420921 | Armengaud, Woltman & GIMPS | 1996 | (notes) |
| 21257787-1 | 378632 | Slowinski & Gage | 1996 | (notes) |
| 2859433-1 | 258716 | Slowinski & Gage | 1994 | |
| 2756839-1 | 227832 | Slowinski & Gage | 1992 | [Peterson92] |
| 2216091-1 | 65050 | David Slowinski | 1985 | |
| 2132049-1 | 39751 | David Slowinski | 1983 | |
| 2110503-1 | 33265 | Welsh & Colquitt | 1988 | [CW91] |
| 286243-1 | 25962 | David Slowinski | 1982 | [Ewing83] |
See our page on Mersenne numbers for more
information including a complete table of
the known Mersennes. You can also help fill in the gap by joining the Great Internet Mersenne Prime
Search.
| The Ten Largest Known Factorial/Primorial Primes | See also: The top 20:
primorial/factorial primes, and the glossary entries: primorial, factorial. |
| prime | digits | who | when | reference |
|---|---|---|---|---|
| 6917!-1 | 23560 | Caldwell & Gallot | 1998 | |
| 6380!+1 | 21507 | Caldwell & Gallot | 1998 | |
| 42209#+1 | 18241 | Caldwell & PrimeForm | 1999 | |
| 14614!!!!+1 | 13632 | Charles F. Kerchner III | 1998 | |
| 10830!!!+1 | 13000 | Charles F. Kerchner III | 1998 | |
| 3610!-1 | 11277 | Chris Caldwell | 1993 | [Caldwell95] |
| 3507!-1 | 10912 | Chris Caldwell | 1992 | [Caldwell95] |
| 24029#+1 | 10387 | Chris Caldwell | 1993 | [Caldwell95] |
| 23801#+1 | 10273 | Chris Caldwell | 1993 | [Caldwell95] |
| 11915!!!!!+1 | 8681 | Charles F. Kerchner III | 1998 | |
Click here to see all of the known
primorial, factorial and multifactorial primes on the list of the
largest known primes.
| The Ten Largest Known Sophie Germain Primes | See also the page: The top 20:
Sophie Germain, and the glossary entry: Sophie Germain Prime. |
| prime | digits | who | when | reference |
|---|---|---|---|---|
| 18458709.232611-1 | 9825 | Kerchner & Gallot | 1999 | |
| 14516877.224176-1 | 7285 | Kerchner & Gallot | 1999 | |
| 72021.223630-1 | 7119 | Yves Gallot | 1998 | |
| 2375063906985.219380-1 | 5847 | Jįrai & Indlekofer | 1999 | |
| 276311.219003+1 | 5726 | Ballinger & Gallot | 1998 | |
| 92305.216998+1 | 5122 | Kerchner & Gallot | 1998 | |
| 8069496435.105072-1 | 5082 | Harvey Dubner | 1995 | |
| 470943129.216352-1 | 4932 | Jįrai & Indlekofer | 1995 | |
| 157324389.216352-1 | 4931 | Jįrai & Indlekofer | 1995 | |
| 5415312903.104526-1 | 4536 | Harvey Dubner | 1994 | |
Click here to see all of the Sophie Germain primes on the list of Largest Known Primes.
3. The Complete List of the Largest Known PrimesThese files were last updated: Thursday, 10-Jun-99 13:14:46 CDT.
- As a searchable database
- You may search the list by keyword, number size, discoverer...
- all.txt
- The whole list! This is a large file: 340K.
- all.zip
- The whole list (all.txt) pkZipped, so it is roughly one fourth the size of all.txt: 79K.
- short.txt
- All of the primes with 20,000 digits or more, plus the 'interesting' smaller primes (that is, those with comments on the list). So this is a much smaller file: 128K.
See also the other available lists of primes.
4. Other Sources of Large PrimesSee The Prime Page for many other web sources.
7. Comments, Suggestions? New records?