What is the largest known prime number?

List of prime numbers below 100 on paper in vintage type writer machine from 1920s closeup with paper.
Prime numbers are those that can be evenly divided only by 1 and themselves, such as 3 and 7. (Image credit: MichaelJayBerlin via Shutterstock)

Prime numbers have been investigated for more than 2,000 years, since at least the era of the ancient Greek mathematician Euclid. There are infinitely many, but what is the largest known prime number?

Prime numbers are those that can be evenly divided only by 1 and themselves, such as 3 and 7. They are key building blocks in math; per the fundamental theorem of arithmetic, every number greater than 1 is either a prime number or a multiple of a prime number, according to the University of Houston.

Currently, the largest known prime number is 2136,279,841 – 1. To calculate this number, multiply 2 by itself 136,279,841 times, and then subtract 1. The result, also known as M136279841, possesses a whopping 41,024,320 digits, more than 16 million digits more than the previous record holder, called M82589933.

GIMPS is a distributed computing project in which groups of volunteers run software in the background on their computers to collectively solve problems — in this case, finding Mersenne primes. Founded in 1996, GIMPS is the longest continuously running distributed computing project, according to the project website.

The new largest prime was discovered by amateur researcher and former Nvidia employee Luke Durant, who ran GIMPS on a cloud-based computer network. His efforts required the harnessing of thousands of graphics processing units (GPUs) across 24 data centers in 17 countries — a feat that "ends the 28-year reign of ordinary personal computers finding these huge prime numbers," according to a statement released on the GIMPS website.

"For a large whole number — say, with a few thousand digits — it becomes more and more time-consuming to check whether or not that number is prime," Kecker said. "Even with the most advanced algorithms and latest supercomputers to run them on, testing whether or not a number is prime could easily exceed a human lifespan."

However, over the years, mathematicians have discovered strategies for finding out if Mersenne numbers are prime, and these methods are far quicker than the techniques used for other kinds of prime numbers. Until 2018, GIMPS discovered a new Mersenne prime about every other year. "It is almost like waiting for a volcanic eruption after a long period of inactivity — although one expects the next one to happen any time, one never knows when it strikes again, if it ever strikes again," Kecker said.

Editor's note: This article was updated on Oct. 23, 2024 after a new largest Mersenne prime was discovered.

Charles Q. Choi
Live Science Contributor
Charles Q. Choi is a contributing writer for Live Science and Space.com. He covers all things human origins and astronomy as well as physics, animals and general science topics. Charles has a Master of Arts degree from the University of Missouri-Columbia, School of Journalism and a Bachelor of Arts degree from the University of South Florida. Charles has visited every continent on Earth, drinking rancid yak butter tea in Lhasa, snorkeling with sea lions in the Galapagos and even climbing an iceberg in Antarctica.