Skip to main content
\( \newcommand{\lt}{ < } \newcommand{\gt}{ > } \newcommand{\amp}{ & } \)

Section19.4Perfect Numbers

Subsection19.4.1A perfect definition and theorem

Definition19.4.1

When the ratio \(\frac{\sigma(n)}{n}\) is exactly \(2\), we say \(n\) is a perfect number.

This is a big definition, and it goes back at least to Euclid. Euclid defines the notion at the beginning of the number-theoretic books of the Elements, and only mentions it again over one hundred propositions later, where he proves that certain numbers are, in fact, perfect. (A careful reader will notice that the primes in question are, in fact, the Mersenne primes!) Such a conclusion is a fitting end, as William Dunham says in his book, Journey through Genius [C.4.5].

Proof

Many centuries later, Euler proved the converse; we will prove them together. (See also Chapter 1 of Dunham's Euler: The Master of Us All [C.4.6].)

Proof

We will leave the question about whether there are odd perfect numbers to Section 19.5.

Subsection19.4.2Speculation and more terminology

There are many things people have claimed about numbers of this type. A Hellenistic Roman in the first century in Gerasa 1  named Nichomachus claimed that the \(n\)th perfect number had \(n\) decimal digits.

Nicomachus was more concerned with mystical claims about perfect numbers (which many repeated), but this mathematical assertion continued to be made for over a thousand years. However, knowing what we do about Mersenne primes, we see that the fifth such prime is 13, so that the next perfect number, \begin{equation*}\left(2^{13}-1\right)\cdot 2^{12}\, ,\end{equation*} was very large and so lay mysterious for a long time. It was apparently discovered in the fifteenth century.

Until the early modern period, such numbers were basically inaccessible.

Number theorists (often of the amateur variety, but certainly not always) have come up with all kinds of other names for various concepts related to \(\sigma(n)/n\).

Definition19.4.4

Recall that if \(\sigma(n)=2n\), then \(n\) is perfect.

  • If \(\sigma(n)=kn\) for some integer \(k\), then we say that \(n\) is \(k\)-perfect.

  • Or, if \(\sigma(n)>2n\), then \(n\) is abundant.

  • If \(\sigma(n)<2n\), we say \(n\) is deficient.

As it will turn out, these things are not really good characterizations of what it means to have “too many” or “too few” divisors, but in recognition of the Greeks' contributions we keep this allusive and fairly standard terminology. As examples, Exercise 19.6.7 asks for a 3-perfect number, if one exists, and Exercise 19.6.17 asks for a 4-perfect number.

Definition19.4.5

Here are some less well-known, but nonetheless interesting, terms.

  • A number is pseudoperfect if it is the sum of some of its divisors (other than itself).

  • A number \(n\) is superabundant if the ratio \(\sigma(n)/n\) for \(n\) is bigger than the value of the ratio for all smaller \(m\lt n\).

  • A number is weird if it is abundant but not pseudoperfect. (There is a famous paper of Erdős on this topic.)

There are many questions one can ask about these and other definitions; see Exercise Group 19.6.15–19.6.21 One cheeky such question is this.

Question19.4.6

Is a perfect number pseudoperfect?

One other interesting idea is that of amicable numbers, which are pairs \(m,n\) of numbers such that \(\sigma(n)=\sigma(m)=m+n\). Clearly any perfect number is amicable with itself. The smallest pair of unequal amicable numbers is \((220,284)\); this was known to the ancient Greeks, cherished by some medieval Muslims, and apparently was not improved upon until the modern number-theoretic era.

Fermat, Descartes, and Euler all worked with this and found large examples, but it turns out that the next smallest pair was found by a sixteen-year old Italian boy in 1860!

Apparently he came up with this by trial and error, though no one knows for sure. The internet can provide some of the most current data on these pairs.

There is a way to get as many amicable pairs as you like, discovered by Ibn Qurra and (later) Fermat, finally used by Euler.

Subsection19.4.3The abundancy index

It's time to give a name to the mysterious ratio at the core of this section.

Definition19.4.8

The ratio \(\frac{\sigma(n)}{n}\) may be called the abundancy index of \(n\).

A beautiful thing is that once you name a concept, you can ask questions about it. Here's another largely open question which seems like it should be easy…

Question19.4.9

Rather than asking which integers can be gotten, which rational numbers can be gotten as \(\frac{\sigma(n)}{n}\)?

There are some interesting theorems about this already known. For one thing, the abundancy index is the same thing as \(\sigma_{-1}(n)\).

Holdener and Stanton picturesquely call rational numbers which are not abundancies abundancy outlaws. The end of this hyper-linked paper [C.6.11] has a nice list of which numbers thus far have been found, and which have not.