Perfect Numbers

An extension of the topic of divisors and divisibility. A perfect number equals the sum of its proper divisors: 6=1+2+3, 28=1+2+4+7+14. They are very rare (6, 28, 496, 8128, …) and closely tied to the Mersenne primes. They were studied by the Pythagoreans and by Euclid (around 300 BC), who gave a formula for the even perfect numbers.

Perfect Numbers
Mathematics · Number theory · Perfect numbers (~300 BC)
Number examined nn (slide to find 6 and 28)12
Is 28 a perfect number (equal to the sum of its proper divisors)?
number examined n
12
sum of divisors s(n)
16
number of divisors
5
type
abundant
🎯 Challenge: what type of number is it?
streak: 0

I'll give you a number — compare the sum of its proper divisors with the number itself and classify it.

What just happened?

A perfect number is a natural number that equals the sum of its proper divisors — that is, all its divisors except the number itself. For the number examined we summed its divisors and compared the result with the number itself. When the sum lands exactly on the number, we say the number is perfect.

The first two examples:

The proper divisors of 6 are 1, 2 and 3, and their sum:

6=1+2+36 = 1 + 2 + 3

The proper divisors of 28 are 1, 2, 4, 7 and 14, and their sum:

28=1+2+4+7+1428 = 1 + 2 + 4 + 7 + 14

The remaining numbers split into deficient (s(n)<ns(n) < n, e.g. 8: 1+2+4=7<81+2+4 = 7 < 8) and abundant (s(n)>ns(n) > n, e.g. 12: 1+2+3+4+6=16>121+2+3+4+6 = 16 > 12). Perfect numbers lie exactly on the boundary between them.

Extremely rare and deeply tied to the primes

Perfect numbers have fascinated mathematicians since antiquity — the Pythagoreans ascribed mystical meaning to them, and Euclid studied them around 300 BC in the “Elements”. The first four are 6, 28, 496 and 8128; they are extremely rare — to this day we know only 51 of them.

Euclid's formula (and the Euclid-Euler theorem):

Euclid proved that if 2p−12^p - 1 is prime (a so-called Mersenne prime), then

2p−1 (2p−1)2^{p-1}\,(2^p - 1)

is a perfect number. Check: for p=2p = 2 we get 21(22−1)=2⋅3=62^{1}(2^2-1) = 2\cdot 3 = 6, and for p=3p = 3 we get 22(23−1)=4⋅7=282^{2}(2^3-1) = 4\cdot 7 = 28. Euler later showed that all even perfect numbers have exactly this form. Whether odd perfect numbers exist is still unknown (an open problem in mathematics!).

Why this matters for your exam:

This is a model example of how one analyzes the divisors and divisibility of natural numbers — listing divisors, summing them and classifying numbers are typical school tools. Perfect numbers also show how deeply the theory of divisors connects with the Mersenne primes — unobvious structures hidden in ordinary natural numbers.

Remember: a number is perfect when the sum of its proper divisors (excluding itself) equals exactly that number — s(n)=ns(n) = n. The first are 6 and 28, and every even one is given by Euclid’s formula 2p−1(2p−1)2^{p-1}(2^p-1) with a Mersenne prime.

Illustrative model · NexTutor Virtual Laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Definition

A perfect number equals the sum of its proper divisors (excluding itself): 6=1+2+3,28=1+2+4+7+146=1+2+3,\qquad 28=1+2+4+7+14

The Euclid-Euler formula

Every even perfect number has the form: 2 p−1(2 p−1),when 2 p−1 is prime (a Mersenne prime)2^{\,p-1}\left(2^{\,p}-1\right),\quad\text{when } 2^{\,p}-1 \text{ is prime (a Mersenne prime)}

Open questions

It is unknown whether any odd perfect numbers exist, or whether there are infinitely many even ones.

Notation: pp a prime, 2p−12^{p}-1 a Mersenne prime.

Frequently asked questions

›

Is 28 a perfect number?

Yes — 28 = 1+2+4+7+14, so it equals the sum of its proper divisors.

›

What is a perfect number?

A number equal to the sum of its proper divisors (all its divisors except the number itself).

›

Do odd perfect numbers exist?

This is still an open problem in mathematics — it is unknown whether any exist.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →