Discover the magic of perfect numbers. Check if a number is perfect, abundant, or deficient. Explore their fascinating properties and history.
Perfect numbers have fascinated mathematicians for millennia. They are numbers that are equal to the sum of their proper positive divisors (excluding the number itself).
Mathematical Definition:
A positive integer n is called perfect if:
σ(n) = 2n
where σ(n) is the sum of all positive divisors of n. Equivalently:
s(n) = n
where s(n) = σ(n) - n is the sum of proper divisors.
The Euclid-Euler theorem establishes a fundamental connection between perfect numbers and Mersenne primes:
Even Perfect Numbers: Every even perfect number can be written as:
2p-1 × (2p - 1)
where (2p - 1) is a Mersenne prime (a prime number of the form 2p - 1).
Conversely: If (2p - 1) is prime (a Mersenne prime), then 2p-1 × (2p - 1) is a perfect number.
Odd Perfect Numbers: As of today, no odd perfect numbers have been discovered. It is unknown whether any exist, though if they do, they must be greater than 101500 and satisfy numerous restrictive conditions.
| # | Perfect Number | Mersenne Prime | Digits | Year Discovered |
|---|---|---|---|---|
| 1 | 6 | 3 (2²-1) | 1 | Ancient |
| 2 | 28 | 7 (2³-1) | 2 | Ancient |
| 3 | 496 | 31 (2⁵-1) | 3 | Ancient |
| 4 | 8,128 | 127 (2⁷-1) | 4 | Ancient |
| 5 | 33,550,336 | 8,191 (2¹³-1) | 8 | 1456 |
| 6 | 8,589,869,056 | 131,071 (2¹⁷-1) | 10 | 1588 |
| 7 | 137,438,691,328 | 524,287 (2¹⁹-1) | 12 | 1588 |
| 8 | 2,305,843,008,139,952,128 | 2,147,483,647 (2³¹-1) | 19 | 1772 |
| 9 | 2.658×10³⁶ | 2,305,843,009,213,693,951 | 37 | 1883 |
| 51* | 2⁸²⁵⁸⁹⁹³²×(2⁸²⁵⁸⁹⁹³³-1) | 2⁸²⁵⁸⁹⁹³³-1 | 49,724,095 | 2018 |
* As of 2023, 51 perfect numbers are known, corresponding to 51 known Mersenne primes.
Interesting Properties:
Euclid discovered the formula for even perfect numbers in his Elements (Book IX, Proposition 36).
Nicomachus listed the first four perfect numbers (6, 28, 496, 8128) in his "Introduction to Arithmetic".
The fifth perfect number (33,550,336) was discovered in a manuscript, though the discoverer is unknown.
Pietro Cataldi correctly identified the sixth and seventh perfect numbers.
Leonhard Euler proved that every even perfect number has the form described by Euclid (completing the Euclid-Euler theorem).
Ivan Pervushin discovered the ninth perfect number, which had 37 digits.
The 51st known perfect number was discovered, corresponding to the Mersenne prime 2⁸²⁵⁸⁹⁹³³-1, with over 49 million digits.
Calculator Features:
Sum of proper divisors < number
Examples: 1, 2, 3, 4, 5, 7, 8, 9, 10
Sum of proper divisors = number
Examples: 6, 28, 496, 8128
Sum of proper divisors > number
Examples: 12, 18, 20, 24, 30
Up to 100:
Deficient: 76 numbers
Perfect: 2 numbers (6, 28)
Abundant: 22 numbers
Natural density:
Abundant numbers: ~24.7%
Deficient numbers: ~75.3%
Perfect numbers: 0% (measure 0)