Skip to content

Largest Known Prime Number: M136279841 and Its 41 Million Digits

Volunteers worldwide run GIMPS software on their computers, contributing to the ongoing search for new primes.

Estimated reading time: 10 minutes

The largest known prime number is 2136,279,841 − 1, also called M136279841. This huge number has 41,024,320 digits when written out in full. Luke Durant, a former Nvidia programmer, found it on 12 October 2024. He used the Great Internet Mersenne Prime Search, known as GIMPS. As of 21 November 2026, nobody has found a bigger prime. This record ended a six-year wait since the previous discovery. It also beat the old record by more than 16 million digits. In this guide, you will learn what the number is and how it was found. You will also see how scientists check such giants. Finally, you will learn whether this record has any real use today.

What Is the Largest Known Prime Number?

A prime number is a whole number above one with only two divisors. Those divisors are one and the number itself. For example, 2, 3, 5, 7, and 11 are all prime. Therefore, mathematicians often call primes the atoms of whole numbers. Every other whole number is built from them by multiplication. If you enjoy this topic, our guide to number theory explains the basics. However, primes become rarer as numbers grow larger. Therefore, finding a huge prime takes a very clever search. The largest known prime number belongs to a special family called Mersenne primes. Each one has the form 2p − 1, where p is also prime. In this record, the exponent p equals 136,279,841. As a result, the number is named M136279841.

How Big Are 41 Million Digits?

The record has 41,024,320 digits when written in decimal. The previous record, called M82589933, had 24,862,048 digits. Therefore, the new prime is about 65 percent longer than the old one. Durant’s find also ended a long gap in the hunt. That older record dates back to December 2018.

how big is the new largest prime number
Fig. 1: How big is the new largest prime number (illustration – AI Generated)

To picture the size, imagine printing every digit in a book. Such a book would need thousands of pages. Even so, this number is tiny next to the endless list of primes. Mathematicians proved long ago that primes never run out. Consequently, a larger prime always exists, and the real challenge is finding it. Only 52 Mersenne primes are known today, and M136279841 is the biggest of them.

Who Found the Largest Known Prime Number?

Luke Durant is a researcher from San Jose, California. He spent nearly a year on this project. First, he built a huge computing network in the cloud. Then he ran the GIMPS software on thousands of graphics processing units. These units worked across 24 data centers in 17 countries. Reports describe this as the first record prime found with GPUs instead of ordinary processors. Also, previous records came from volunteers using home computers. In contrast, Durant rented cloud hardware and organized it himself. His method shows that cloud computing can now compete in pure mathematics. Meanwhile, the GIMPS community supplied the software, the tests, and the final checks. Durant therefore credits the whole community for making the discovery possible.

A GPU contains thousands of small cores that work at the same time. This design suits the repeated multiplication needed to test a Mersenne number. Moreover, powerful GPUs now appear in cloud data centers around the world. As a result, a single card can run a test much faster than a normal processor. Durant used this fact to scale his search quickly. Also, he did not need to own any machines. Instead, he rented time wherever GPUs were available. As a result, the hunt covered far more candidates each day. Similarly, other fields such as simulation and artificial intelligence benefit from the same hardware. This crossover shows how tools built for one job often help another.

The Role of GIMPS in the Hunt

George Woltman founded the GIMPS project back in 1996. It is one of the first large volunteer computing projects on the internet. Volunteers install free software and let their machines test Mersenne candidates. By October 2024, the project had found 18 Mersenne primes. Moreover, 16 of them were the largest known prime when discovered. The project gives each user a share of the work and an easy way to report. In addition, anyone can join by downloading the free GIMPS software. Therefore, a student with a laptop can still take part in this search. The project proves that community science can deliver real records.

How Do Scientists Check a Mersenne Prime?

However, finding a candidate is only the first step. Scientists must then prove that the number really is prime. For many years, GIMPS relied on the Lucas-Lehmer test. This test works only for Mersenne numbers, so it runs very fast. Since 2018, the project also uses a different first test. It is a probable prime test based on Fermat’s ideas. The older Lucas-Lehmer test then serves as a double check. Furthermore, researchers continue to study new versions of the Lucas-Lehmer test. One open-access paper from 2023 proves several such versions. Because the stakes are high, every claimed record needs independent confirmation on other hardware. Only then do mathematicians accept it as the largest known prime number.

The Lucas-Lehmer Test in Plain Words

The test is surprisingly simple to describe in words. First, start with the number 4 as a seed. Next, repeat one step: square the number, subtract 2, and keep only the remainder. Do this step p minus 2 times, where p is the exponent of the Mersenne number. Finally, look closely at the very last result. If it equals zero, the Mersenne number is prime. Otherwise, the Mersenne number is not a prime.

Lucas-Lehmer Test - 3 Steps
Fig. 2: Lucas-Lehmer Test – 3 Steps

The steps sound easy, but the numbers involved are enormous. For M136279841, each squaring handles a number with over 136 million bits. Consequently, computers must repeat this step more than 136 million times. That explains why a single test can take a long time, even on fast GPUs.

Why Error Checks Matter

However, computers make rare mistakes, and a long test gives them many chances. For example, a single flipped bit can ruin the final answer. Therefore, GIMPS adds strong error checks to its software. One method, devised by Robert Gerbicz, catches nearly every hardware error during the test. In addition, newer proof files let other computers verify a result much faster. As a result, the project can trust a finished test with very high confidence. This focus matches a wider trend in science, where proof is now the hard part. A claim only counts once other experts can confirm it. Therefore, careful checking protects the credibility of every new record.

History of the Largest Prime Number Records

Records for the largest known prime number have grown steadily for almost 150 years. In 1876, Édouard Lucas found a 39-digit giant by hand. Computers took over in the 1950s and changed the pace completely. Since then, almost every record has been a Mersenne prime. The table below lists the key milestones in this long race. Each row shows the prime’s name, its number of digits, and the year it was found. Therefore, you can compare the records at a glance. The pattern across these records is quite clear. Digit counts jump up whenever a new method or faster hardware arrives. Durant’s GPU network is the latest example of this cycle.

PrimeDigitsYear
M127391876
M5211571952
M69725932,098,9601999
M4311260912,978,1892008
M7420728122,338,6182016
M8258993324,862,0482018
M13627984141,024,3202024

This table shows how fast the hunt has moved in recent decades. Between 1999 and 2008, the record grew by about ten million digits. Then progress slowed, and the 2018 record added only a few million more. However, the 2024 jump added more than 16 million digits in one step. That leap came from a new kind of hardware, not from a new theory. Therefore, many experts expect future records to depend heavily on computing power. Meanwhile, the gap between records may stay long. Each new Mersenne prime is rarer than the last. Patience, luck, and good engineering all play a part.

Does the Largest Known Prime Number Have Real Uses?

In everyday life, the largest known prime number has almost no direct use. Online security does rely on large prime numbers. However, those primes have only a few hundred digits. Such numbers are easy to generate and test quickly. The record prime is far too large for that job. The topic still connects to security, as our article on quantum computing and data security shows. Quantum machines may one day break today’s codes. Even so, record primes serve several other purposes. They stress-test new hardware and reveal rare computing errors. They also push mathematicians to refine their algorithms. Moreover, they inspire students to explore number theory. Pure curiosity has long driven science, and this search follows that tradition.

Prizes for Bigger Primes

Durant earned a $3,000 prize from GIMPS for his discovery. However, larger rewards still wait for even bigger primes. The Electronic Frontier Foundation offers $150,000 for the first prime with 100 million digits. It also offers $250,000 for the first prime with one billion digits. Under the GIMPS rules, prize money is shared with the project and its community. Therefore, money is rarely the main motivation for volunteers. Most volunteers join for the thrill of discovery. Still, these prizes show how hard each new milestone is. A one-billion-digit prime lies far beyond today’s reach. Experts expect that goal to take many years and major advances in computing.

What Comes Next in the Search for Bigger Primes?

First, the next big target is a prime with 100 million digits. Such a Mersenne prime would need an exponent above 332 million. That is more than twice the current record exponent. Because each test takes longer for larger numbers, the work grows very quickly. In June 2025, GIMPS reached an important milestone. Every exponent below 136,279,841 had been checked at least once. Therefore, any new record must come from larger exponents. Faster GPUs, better software, and more volunteers will all help. Meanwhile, smart error checks keep every result trustworthy. Nobody can predict when the next record will appear. It could arrive next year, or it could take another decade.

Summary

The largest known prime number is M136279841, which equals 2136,279,841 − 1. It has 41,024,320 digits and beats the old record by more than 16 million. Luke Durant found it on 12 October 2024 using cloud GPUs and the GIMPS software. Scientists test such numbers with the Lucas-Lehmer test and newer probable prime tests. They also add strong error checks and independent confirmation. The record has little practical use in security, since online codes use much smaller primes. Still, it tests hardware, improves algorithms, and inspires new learners. Prizes of $150,000 and $250,000 wait for the first 100-million-digit and one-billion-digit primes. Therefore, the search for the next record continues, and anyone can join it.

Frequently Asked Questions

What is the largest known prime number?

The largest known prime number is M136279841, which equals 2^136,279,841 − 1. It has 41,024,320 digits. Luke Durant found it on 12 October 2024.

Who discovered the largest prime number?

Luke Durant, a researcher from San Jose, discovered it through the Great Internet Mersenne Prime Search. He used cloud GPUs across 24 data centers. It took nearly a year.

What is a Mersenne prime?

A Mersenne prime is a prime number of the form 2^p − 1, where p is also prime. The record prime is a Mersenne prime. Only 52 are known today.

Does the largest prime number help with encryption?

Not directly. Online encryption uses primes with only a few hundred digits. Record primes mainly test hardware and improve algorithms.

Can I help find the next largest prime number?

Yes, anyone can join GIMPS and run its free software. Your computer tests candidate Mersenne numbers in the background. A discovery is rare, but every test helps the search.

Reference:

  1. Ibrahim, M. (2023). On the Eight Levels theorem and applications towards Lucas-Lehmer primality test for Mersenne primes, I. Arab Journal of Basic and Applied Sciences, 30(1), 267–284. https://doi.org/10.1080/25765299.2023.2204672

Edited by Juveriya Khan
Deven Nandapurkar
Author

Deven Nandapurkar is a Software Engineer, Project Lead; working at the strategic intersection of software engineering, productivity science, and emerging technologies. Driven by a core philosophy of "building things worth building," he leads cross-functional teams and drives end-to-end technical strategy—from early-stage conceptualization through production-grade deployment.

A Computer Engineering graduate from Pune University, Deven brings a sharp systems-thinking approach to technical leadership, honed by years of managing high-stakes engineering projects and leading teams to top placements in national and international hackathons, including the NASA Space Apps Challenge and the Peerlist GenAI Hackathon.

Deven explores how human cognition and emerging technology converge. He regularly writes about cognitive performance optimization, attention management, AI integration, and the evolving dynamics of the modern workforce - offering actionable frameworks for professionals seeking to maximize their productivity and thrive alongside intelligent systems.

peerlist.io/dev_en
Samruddhi Bhabad

As a dedicated Computer Science Lerner, Samruddhi thrives on innovation and leadership, having led teams to victory in 6 national hackathons. Skilled in AI-powered chatbots, scalable web architecture, REST and FAST APIs. Proficient in TensorFlow, Python, Django. She is passionate about developing AI-driven solutions that push the boundaries of technology. Samruddhi is a versatile software enthusiast with a passion for innovative solutions and a track record of impactful projects in web development, machine learning and data science.

samruddhi-bhabad.vercel.app

Disclaimer.