Nearly 2,000 years ago, a philosopher in Alexandria explained why the world took six days to create: 6 is a perfect number.
He was not using “perfect” as a compliment. He meant something very precise, a rare property that only a handful of numbers share. And that property still hides one of the oldest unsolved puzzles in mathematics.
What makes a number perfect
Take any whole number and list every number that divides it evenly, except the number itself. Mathematicians call these its proper divisors.
For 6, those divisors are 1, 2 and 3. Add them up and you get exactly 6. That is the whole definition: a perfect number is one that equals the sum of its own proper divisors.
Most numbers miss the mark. Some fall short, some overshoot. The next one that lands exactly is 28, whose divisors 1, 2, 4, 7 and 14 add up to 28. After that comes 496, then 8128. Then the gaps explode: the fifth perfect number is 33,550,336.
Theologians and a very specific number
In the 1st century, Philo of Alexandria saw these numbers as more than arithmetic. He argued that the world was created in six days, and that the moon circles the Earth in 28 days, precisely because 6 and 28 are both perfect.
The idea survived for centuries. In the 5th century, Saint Augustine repeated it in The City of God, writing that God chose six days for creation because 6 is the smallest perfect number.
It sounds strange today, but it shows how seriously ancient thinkers took these numbers. To them, a number that was perfectly balanced with its own parts looked like a signature of cosmic order.
A Greek recipe that took 2,000 years to confirm
Around 300 BC, Euclid found a recipe for building perfect numbers in his Elements. It works like this: take a power of two, double it and subtract one. If the result is a prime number, multiply it by the original power of two.
Try it with 2. Doubling gives 4, minus one gives 3, which is prime, and 2 times 3 is 6. Start with 4 and you get 7, then 4 times 7 is 28. Start with 16 and you get 31, then 496. Every time the middle step lands on a prime, a perfect number pops out.
Around AD 100, Nicomachus claimed that every perfect number follows this pattern, but he never proved it. The proof only arrived in the 18th century, when Leonhard Euler showed that Euclid’s recipe produces every even perfect number, with no exceptions. Today, the result carries both of their names: the Euclid-Euler theorem.
The special primes in the middle step, one less than a power of two, are named after Marin Mersenne, a 17th-century French monk who studied them closely. Find a new Mersenne prime and you automatically find a new perfect number. As of October 2024, 52 of them are known, which means exactly 52 known perfect numbers.
Hunting perfect numbers by hand
Before computers, finding the next one was brutally hard. In Egypt, Ismail ibn Fallus, active between 1194 and 1252, correctly listed the three perfect numbers that come after 8128. But he also listed others that later turned out to be wrong.
Centuries later, in 1588, Pietro Cataldi identified the sixth and seventh: 8,589,869,056 and 137,438,691,328.
Along the way, people spotted patterns and sometimes saw ones that were not there. The first five perfect numbers end in 6, 8, 6, 8, 6, which led to the belief that they always alternate. They do not: the sixth also ends in 6. What does hold is that every known perfect number ends in either 6 or 28.
The odd perfect number nobody has found
Here is the twist. Every perfect number ever found is even. Nobody knows whether an odd one exists, and nobody has proved that it cannot.
If an odd perfect number exists, mathematicians already know it would have to be larger than 1 followed by 1,500 zeros. It could not be divisible by 105, and it would have to satisfy at least ten other strict conditions at once.
Back in 1888, the mathematician James Joseph Sylvester summed up the mood. Finding one, he wrote, would be “little short of a miracle”.
An ancient question that refuses to close
Philo looked at 6 and 28 and saw the hand of a creator. Modern mathematicians look at the same numbers and see a question that has stayed open since ancient Greece.
Either an odd perfect number is hiding somewhere among numbers too vast to write down, or there is a reason it can never exist. Both answers would be remarkable, and after more than two millennia, nobody can say which one is true.

