Perfect number
In number theory, a perfect number is a positive integer that is equal to the sum of its positive proper divisors, that is, divisors excluding the number itself.[1] For instance, 6 has proper divisors 1, 2, and 3, and 1 + 2 + 3 = 6, so 6 is a perfect number. The next perfect number is 28, because 1 + 2 + 4 + 7 + 14 = 28.
The first seven perfect numbers are 6, 28, 496, 8128, 33550336, 8589869056, and 137438691328.[2]
The sum of proper divisors of a number is called its aliquot sum, so a perfect number is one that is equal to its aliquot sum. Equivalently, a perfect number is a number that is half the sum of all of its positive divisors; in symbols, where is the sum-of-divisors function.
This definition is ancient, appearing as early as Euclid's Elements (VII.22) where it is called τέλειος ἀριθμός (perfect, ideal, or complete number). Euclid also proved a formation rule (IX.36) whereby is an even perfect number whenever is a prime of the form for positive integer —what is now called a Mersenne prime. Two millennia later, Leonhard Euler proved that all even perfect numbers are of this form.[3] This is known as the Euclid–Euler theorem.
It is not known whether there are any odd perfect numbers, nor whether infinitely many perfect numbers exist.
- ^ Weisstein, Eric W. "Perfect Number". mathworld.wolfram.com. Retrieved 2025-02-09.
Perfect numbers are positive integers n such that n=s(n), where s(n) is the restricted divisor function (i.e., the sum of proper divisors of n), ...
- ^ "A000396 - OEIS". oeis.org. Retrieved 2024-03-21.
- ^ Caldwell, Chris, "A proof that all even perfect numbers are a power of two times a Mersenne prime".