Misplaced Pages

Euclid–Euler theorem

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Characterization of even perfect numbers This article is about the theorem on perfect numbers and Mersenne primes. For the theorem on the infinitude of prime numbers, see Euclid's theorem.

The Euclid–Euler theorem is a theorem in number theory that relates perfect numbers to Mersenne primes. It states that an even number is perfect if and only if it has the form 2(2 − 1), where 2 − 1 is a prime number. The theorem is named after mathematicians Euclid and Leonhard Euler, who respectively proved the "if" and "only if" aspects of the theorem.

It has been conjectured that there are infinitely many Mersenne primes. Although the truth of this conjecture remains unknown, it is equivalent, by the Euclid–Euler theorem, to the conjecture that there are infinitely many even perfect numbers. However, it is also unknown whether there exists even a single odd perfect number.

Statement and examples

A perfect number is a natural number that equals the sum of its proper divisors, the numbers that are less than it and divide it evenly (with remainder zero). For instance, the proper divisors of 6 are 1, 2, and 3, which sum to 6, so 6 is perfect.

A Mersenne prime is a prime number of the form Mp = 2 − 1, one less than a power of two. For a number of this form to be prime, p itself must also be prime, but not all primes give rise to Mersenne primes in this way. For instance, 2 − 1 = 7 is a Mersenne prime, but 2 − 1 = 2047 = 23 × 89 is not.

The Euclid–Euler theorem states that an even natural number is perfect if and only if it has the form 2Mp, where Mp is a Mersenne prime. The perfect number 6 comes from p = 2 in this way, as 2M2 = 2 × 3 = 6, and the Mersenne prime 7 corresponds in the same way to the perfect number 28.

History

Euclid proved that 2(2 − 1) is an even perfect number whenever 2 − 1 is prime. This is the final result on number theory in Euclid's Elements; the later books in the Elements instead concern irrational numbers, solid geometry, and the golden ratio. Euclid expresses the result by stating that if a finite geometric series beginning at 1 with ratio 2 has a prime sum q, then this sum multiplied by the last term t in the series is perfect. Expressed in these terms, the sum q of the finite series is the Mersenne prime 2 − 1 and the last term t in the series is the power of two 2. Euclid proves that qt is perfect by observing that the geometric series with ratio 2 starting at q, with the same number of terms, is proportional to the original series; therefore, since the original series sums to q = 2t − 1, the second series sums to q(2t − 1) = 2qtq, and both series together add to 2qt, two times the supposed perfect number. However, these two series are disjoint from each other and (by the primality of q) exhaust all the divisors of qt, so qt has divisors that sum to 2qt, showing that it is perfect.

Over a millennium after Euclid, Alhazen c. 1000 CE conjectured that every even perfect number is of the form 2(2 − 1) where 2 − 1 is prime, but he was not able to prove this result. It was not until the 18th century, over 2000 years after Euclid, that Leonhard Euler proved that the formula 2(2 − 1) will yield all the even perfect numbers. Thus, there is a one-to-one relationship between even perfect numbers and Mersenne primes; each Mersenne prime generates one even perfect number, and vice versa. After Euler's proof of the Euclid–Euler theorem, other mathematicians have published different proofs, including Victor-Amédée Lebesgue, Robert Daniel Carmichael, Leonard Eugene Dickson, John Knopfmacher, and Wayne L. McDaniel. Dickson's proof, in particular, has been commonly used in textbooks.

This theorem was included in a web listing of the "top 100 mathematical theorems", dating from 1999, which later became used by Freek Wiedijk as a benchmark set to test the power of different proof assistants. By 2024, the proof of the Euclid–Euler theorem had been formalized in 7 of the 12 proof assistants recorded by Wiedijk.

Proof

Euler's proof is short and depends on the fact that the sum of divisors function σ is multiplicative; that is, if a and b are any two relatively prime integers, then σ(ab) = σ(a)σ(b). For this formula to be valid, the sum of divisors of a number must include the number itself, not just the proper divisors. A number is perfect if and only if its sum of divisors is twice its value.

Sufficiency

One direction of the theorem (the part already proved by Euclid) immediately follows from the multiplicative property: every Mersenne prime gives rise to an even perfect number. When 2 − 1 is prime, σ ( 2 p 1 ( 2 p 1 ) ) = σ ( 2 p 1 ) σ ( 2 p 1 ) . {\displaystyle \sigma (2^{p-1}(2^{p}-1))=\sigma (2^{p-1})\sigma (2^{p}-1).} The divisors of 2 are 1, 2, 4, 8, ..., 2. The sum of these divisors is a geometric series whose sum is 2 − 1. Next, since 2 − 1 is prime, its only divisors are 1 and itself, so the sum of its divisors is 2.

Combining these, σ ( 2 p 1 ( 2 p 1 ) ) = σ ( 2 p 1 ) σ ( 2 p 1 ) = ( 2 p 1 ) ( 2 p ) = 2 ( 2 p 1 ) ( 2 p 1 ) . {\displaystyle {\begin{aligned}\sigma (2^{p-1}(2^{p}-1))&=\sigma (2^{p-1})\sigma (2^{p}-1)\\&=(2^{p}-1)(2^{p})\\&=2(2^{p-1})(2^{p}-1).\end{aligned}}} Therefore, 2(2 − 1) is perfect.

Necessity

In the other direction, suppose that an even perfect number has been given, and partially factor it as 2x, where x is odd. For 2x to be perfect, the sum of its divisors must be twice its value:

2 k + 1 x = σ ( 2 k x ) = ( 2 k + 1 1 ) σ ( x ) . {\displaystyle 2^{k+1}x=\sigma (2^{k}x)=(2^{k+1}-1)\sigma (x).} (∗)

The odd factor 2 − 1 on the right side of (∗) is at least 3, and it must divide x, the only odd factor on the left side, so x/(2 − 1) is a proper divisor of x. Dividing both sides of (∗) by the common factor 2 − 1 and taking into account the known divisors x and x/(2 − 1) of x gives

2 k + 1 x / ( 2 k + 1 1 ) = σ ( x ) = x + x / ( 2 k + 1 1 ) + {\displaystyle 2^{k+1}x/(2^{k+1}-1)=\sigma (x)=x+x/(2^{k+1}-1)+{}} other divisors = 2 k + 1 x / ( 2 k + 1 1 ) + {\displaystyle {}=2^{k+1}x/(2^{k+1}-1)+{}} other divisors.

For this equality to be true, there can be no other divisors. Therefore, x/(2 − 1) must be 1, and x must be a prime of the form 2 − 1.

References

  1. ^ Stillwell, John (2010), Mathematics and Its History, Undergraduate Texts in Mathematics, Springer, p. 40, ISBN 978-1-4419-6052-8.
  2. Euclid (1956), The Thirteen Books of The Elements, Translated with introduction and commentary by Sir Thomas L. Heath, Vol. 2 (Books III–IX) (2nd ed.), Dover, pp. 421–426, ISBN 0-486-60089-0. See in particular Prop. IX.36.
  3. O'Connor, John J.; Robertson, Edmund F., "Abu Ali al-Hasan ibn al-Haytham", MacTutor History of Mathematics Archive, University of St Andrews
  4. Pollack, Paul; Shevelev, Vladimir (2012), "On perfect and near-perfect numbers", Journal of Number Theory, 132 (12): 3037–3046, arXiv:1011.6160, doi:10.1016/j.jnt.2012.06.008, MR 2965207, S2CID 13607242
  5. Euler, Leonhard (1849), "De numeris amicibilibus" [On amicable numbers], Commentationes arithmeticae (in Latin), vol. 2, pp. 627–636. Originally read to the Berlin Academy on February 23, 1747, and published posthumously. See in particular section 8, p. 88.
  6. Cohen, Graeme L. (March 1981), "Even perfect numbers", The Mathematical Gazette, 65 (431): 28–30, doi:10.2307/3617930, JSTOR 3617930, S2CID 125868737
  7. Wiedijk, Freek, Formalizing 100 Theorems, Radboud University Institute for Computing and Information Sciences, retrieved 2024-02-20
  8. ^ Gerstein, Larry (2012), Introduction to Mathematical Structures and Proofs, Undergraduate Texts in Mathematics, Springer, Theorem 6.94, p. 339, ISBN 978-1-4614-4265-3.
  9. ^ Caldwell, Chris K., "A proof that all even perfect numbers are a power of two times a Mersenne prime", Prime Pages, retrieved 2014-12-02.
  10. ^ Travaglini, Giancarlo (2014), Number Theory, Fourier Analysis and Geometric Discrepancy, London Mathematical Society Student Texts, vol. 81, Cambridge University Press, pp. 26–27, ISBN 978-1-107-04403-6.
Categories: