Six is a perfect number. Its divisors other than itself are 1, 2 and 3, and they add up to 6. So is 28: 1 + 2 + 4 + 7 + 14 = 28. The next two are 496 and 8,128. Then the gaps get enormous.

Every perfect number anyone has ever found is even. Nobody has proved that an odd one can't exist. A reader wrote in this week asking me to write about that question, and it's a good fit for this publication: it is one of the oldest unsolved problems in mathematics, and its interest lies almost entirely in its history.

The even ones are solved

Around 300 BCE, Euclid showed how to build perfect numbers. Take a prime of the form 2p − 1, now called a Mersenne prime, and multiply it by 2p−1. With p = 2 you get 2 × 3 = 6; with p = 3, 4 × 7 = 28. In the 1700s, Leonhard Euler proved that every even perfect number has this form.

So finding even perfect numbers is the same as finding Mersenne primes, and that has become a project for volunteers' computers. The Great Internet Mersenne Prime Search lists 52 known. The latest, found on October 12, 2024, on graphics processors, is 2136,279,841 − 1, a prime with more than 41 million digits. Whether there are infinitely many is still open, but the even case is understood.

The odd ones have never been seen

Around 100 CE, the Greek writer Nicomachus asserted that perfect numbers are all even. He gave no proof, and none has been found since. In 1638, René Descartes told Marin Mersenne in a letter that he saw no reason an odd perfect number couldn't exist. Euler called the question "most difficult."

Since then, mathematicians have worked from the other direction. If an odd perfect number exists, what would it have to look like? Each answer is a proven condition, and the list is now long. Any odd perfect number:

  • would have to have a particular shape, shown by Euler: one prime raised to an odd power, and every other prime factor raised to an even power;
  • can't be divisible by 105, which is 3 × 5 × 7 (James Sylvester, 1888);
  • must have at least 10 different prime factors (Pace Nielsen, 2015);
  • must have at least 101 prime factors when repeats are counted (Pascal Ochem and Michaël Rao, 2012; Ochem has since extended this to 115 in work that's posted on his website but not yet in a journal);
  • must have a prime factor bigger than 100 million (Takeshi Goto and Yasuo Ohno, 2008);
  • and must be larger than 101500, a number with 1,501 digits (Ochem and Rao, 2012).

For scale, there are thought to be around 1080 atoms in the observable universe.

Sylvester, looking at a much shorter list in 1888, wrote that the existence of such a number, "its escape, so to say, from the complex web of conditions which hem it in on all sides, would be little short of a miracle." The web has grown much thicker since.

How you prove a number is bigger than 101500

That last condition isn't the result of checking odd numbers one by one. No computer could get anywhere near 101500 that way. It's a proof by elimination, organized as a tree.

The key fact is that if you add up all the divisors of a perfect number N, including N itself, you get exactly 2N. So any number that divides that sum must divide 2N. The proof uses this to force new prime factors into existence. Suppose, for example, that 3² divides N exactly. The divisors of 3² add up to 1 + 3 + 9 = 13, so 13 must also divide N. Now branch on how many times 13 divides N. If it's 13², its divisors add up to 1 + 13 + 169 = 183, which is 3 × 61, so 61 must divide N too. And so on.

Every branch of the tree must end in a contradiction. Either the factors forced in so far would already make N's divisors add up to more than 2N, or their product already exceeds the target, here 101500. Rule out every branch, and you've proved that no odd perfect number smaller than the target exists.

The catch is that the tree is huge, and some branches get stuck. A divisor sum can be a giant composite number that no one has managed to split into its prime factors. The proof can't continue down that branch until someone does. Ochem and Rao found ways around many of these "roadblocks," but not all. Ochem's website publishes lists of the unfactored numbers that stand in the way of higher bounds, and volunteers, organized partly through the Mersenne forum, spend their computers' spare time factoring them.

Horizontal bar chart of the proven lower bound on any odd perfect number, measured in digits. Kanold 1957: 10 to the 20th. Tuckerman 1973: 10 to the 36th. Hagis 1973: 10 to the 50th. Brent and Cohen 1989: 10 to the 160th. Brent, Cohen and te Riele 1991: 10 to the 300th. Ochem and Rao 2012: 10 to the 1500th. Ochem, unpublished: 10 to the 2200th.
Each bar is the size an odd perfect number has been proven to exceed. The dashed bar is an extended computation posted on Pascal Ochem's website that has not appeared in a journal.Chart: The Long Context. Data: Mathematics of Computation papers, MathWorld, Pascal Ochem · CC BY 4.0 · Source · Download the data

The bound has moved a long way. In 1957, it stood at 1020. Better methods and faster factoring raised it to 10300 in 1991 and 101500 in 2012. Ochem's site now reports 102200 from an extended, unpublished computation. Quanta Magazine reported 102000 in 2020.

Why bigger bounds can't finish the job

This kind of work can never end the search on its own, however far it goes. There are infinitely many numbers above any bound.

The upper bounds show the shape of the problem. Since 1913 it has been known that for any fixed number of different prime factors, there are only finitely many odd perfect numbers, and Nielsen has put an explicit ceiling on how large they could be. For an odd perfect number with exactly 10 different primes, those results combine to trap it between 101500 and about 10315,653. That's a finite range, but far too large to search, and the next case, 11 primes, has a far higher ceiling. A proof that none exist needs an idea, not more computing.

The near misses

One promising idea starts with a curiosity Descartes found in 1638: the number 198,585,576,189. It equals 3² × 7² × 11² × 13² × 22,021. If you pretend 22,021 is prime and add up the divisors using the usual formula, you get exactly twice the number. I checked: 397,171,152,378. It looks like an odd perfect number. But 22,021 isn't prime. It's 19² × 61.

Mathematicians call these "spoofs." The second one wasn't found until 1999, by the mathematician John Voight: 3⁴ × 7² × 11² × 19² × (−127). Here every factor is prime, but one is negative.

In 2020, a group at Brigham Young University working with Pace Nielsen published the results of a systematic computer search. It found all 21 odd spoofs with six or fewer factors, and showed that there are infinitely many in total. The bad news in that result is explicit in the paper: approaches to the problem "that use only the multiplicative nature of the sum-of-divisors function are unworkable." In other words, any proof has to use something specific about primes, because the spoofs satisfy everything else.

There's a hopeful side too. Odd perfect numbers, if they exist, would be a special kind of spoof. So if mathematicians could prove that every spoof has some property that a real odd perfect number provably can't have, the problem would be solved. Nobody has found such a property yet.

This year's work

Work on the problem continues, mostly on special cases. In July, Ochem and Joshua Zelinsky posted a paper showing that if all but one of the even exponents in an odd perfect number are exactly 2, then the number must be divisible by 3 raised to the power of 23 billion. That's a number with roughly 11 billion digits. Also in July, Marco Mantovanelli posted a computer-assisted paper that claims to rule out odd perfect numbers whose smallest prime factor is 5, 7, 11, 13 or 17. The paper itself stresses that this doesn't settle the general question. Both are preprints and haven't yet been peer-reviewed.

Most number theorists expect that no odd perfect number exists. The mathematician Carl Pomerance has given a heuristic argument, a reasoned estimate rather than a proof, that suggests there are none. But mathematics has seen long-held expectations turn out wrong, and this problem has resisted every approach for more than two millennia.

That leaves a question the ancient Greeks could state, that a schoolchild can understand, and that remains open. After centuries of work, mathematicians can say a great deal about what an odd perfect number would have to be. They still can't say whether one exists.

Thanks to the reader who suggested this piece. Story ideas are welcome on the tip line.