The largest known prime number, as of late 2024, is 2136,279,841 − 1. This number contains exactly 41,024,320 digits if written out in full. It was discovered on October 21, 2024, by Luke Durant using the Great Internet Mersenne Prime Search (GIMPS) project. The number belongs to a special class of primes called Mersenne primes, which have dominated the record books for prime numbers for centuries due to the efficient algorithms available to test them.
Defining Prime Numbers
To understand the significance of this record, one must first understand the definition of a prime number. A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. In simpler terms, it cannot be formed by multiplying two smaller natural numbers. The sequence begins with 2, 3, 5, 7, 11, and continues infinitely. The number 2 is unique as the only even prime number. The number 1 is not considered prime by modern definition because it has only one positive divisor. The concept of primality is foundational to number theory, the branch of mathematics dealing with integers.
What Are Mersenne Primes?
The largest known prime numbers are almost exclusively Mersenne primes. A Mersenne number is a number that is one less than a power of two. It takes the form Mn = 2n − 1. However, a Mersenne number is only a Mersenne prime if the exponent 'n' is itself a prime number.
- For example, if n=2, the formula yields 22 − 1 = 3, which is prime.
- If n=3, it yields 23 − 1 = 7, which is prime.
- However, if n=11, the result is 211 − 1 = 2047. While 11 is prime, 2047 is 23 × 89, so it is not a prime number.
These numbers are named after Marin Mersenne, a French friar and mathematician who studied them in the early 17th century. The reason the "largest known prime" is almost always a Mersenne prime is efficiency. The Lucas-Lehmer primality test, a specific algorithm for testing Mersenne numbers, is much faster than general-purpose primality tests. Testing a number with millions of digits using standard methods would take impractical amounts of time, but the Lucas-Lehmer test makes it feasible for supercomputers and distributed computing networks.
How the Largest Prime Was Discovered
The discovery of 2136,279,841 − 1 was the result of the Great Internet Mersenne Prime Search (GIMPS). Founded in 1996 by George Woltman, GIMPS is a distributed computing project where volunteers download software that runs in the background on their computers, searching for new prime numbers. This was the first Mersenne prime discovered using GPUs (Graphics Processing Units) rather than traditional CPUs for the bulk of the computation.
The specific discovery process involved:
- Assignment: The software assigned specific ranges of exponents to different users to test.
- Preliminary Testing: The system performed quick checks to eliminate non-prime candidates rapidly.
- Lucas-Lehmer Test: For promising candidates, the rigorous Lucas-Lehmer test was performed to verify primality.
- Verification: Once a probable prime was found, it was verified by different hardware and software to ensure the result was not a computational error.
Why Search for Large Primes?
A common question among those outside the field of mathematics is the practical utility of finding such numbers. While there is no commercial application for a 41-million-digit number, the pursuit serves several purposes.
Historically, searching for large primes has driven the development of computer hardware and algorithms. The need to perform massive calculations efficiently has led to innovations in error checking and integer multiplication algorithms. For instance, the Fast Fourier Transform (FFT) algorithms used to multiply large numbers quickly are critical in many areas of signal processing and physics.
Additionally, prime numbers are the bedrock of modern cryptography. RSA encryption, which secures most internet transactions, relies on the difficulty of factoring the product of two large prime numbers. While the specific record-breaking primes are too large for current cryptographic use (which typically uses primes of a few hundred digits), the study of prime distribution helps cryptographers understand the security of their systems.
Writing and Notation of the Number
Writing the largest known prime number in standard decimal form is impossible in a standard article. If printed in a standard paperback book font size, the number would require roughly 10,000 pages to contain all 41 million digits. Consequently, mathematicians and scientists use scientific notation or the Mersenne formula notation.
The number is often referred to by its GIMPS discovery identifier. It is the 52nd known Mersenne prime. The previous record holder, discovered in 2018, was 282,589,933 − 1, which had just under 25 million digits. The jump in digit count between records varies; sometimes the gap is small, and other times, as with this discovery, it represents a significant leap in computational capability.
Frequently Asked Questions
Is there a largest prime number?
No. Euclid proved around 300 BCE that there is no largest prime number. The proof demonstrates that if you multiply all known primes together and add one, the result is a number that is either prime itself or divisible by a prime not in the original list. Therefore, the list of primes is infinite.
How long would it take to write the number down?
Writing the number at a rate of one digit per second would take approximately 475 days of continuous writing. Most representations use the exponential form 2136,279,841 − 1 for this reason.
Who discovered the largest prime number?
The number was discovered by Luke Durant, a researcher and former NVIDIA employee, through the GIMPS project. While the software and infrastructure were built by many, the specific computer that found the prime was running under his account.
Can I use my computer to find the next prime?
Yes. The GIMPS project is open to the public. Users can download the Prime95 software from the GIMPS website. The program runs in the background, utilizing idle CPU or GPU power to test candidate numbers, and users whose computers find a new prime are eligible for a cash prize.
What happens when a new prime is found?
Once verified, the new prime is announced to the mathematical community. The discoverer is typically awarded a prize (often $3,000 USD from the GIMPS project, with larger prizes available for primes of specific sizes). The number is then added to the mathematical record.
Why are Mersenne primes easier to find?
Mersenne primes are easier to verify than general numbers of the same size because of the Lucas-Lehmer test. This test is a deterministic algorithm that requires fewer operations than general primality tests, making it the preferred method for finding record-breaking numbers.