Math 2.0

Number theory Proof

Proof of the Euclid–Euler theorem

Builds on Perfect numberSum of divisorsMultiplicativity of the divisor functionMersenne primePrime numberCoprime integersGeneralized Euclid's lemmaFundamental theorem of arithmetic

Proof

Let σ\sigma be the sum of divisors. A positive integer nn is perfect exactly when σ(n)=2n\sigma(n) = 2n.

  1. For k≥0k \ge 0, the divisors of 2k2^k are 1,2,…,2k1, 2, \dots, 2^k, by the fundamental theorem of arithmetic. So σ(2k)=1+2+⋯+2k=2k+1−1\sigma(2^k) = 1 + 2 + \dots + 2^k = 2^{k+1} - 1.
  2. For a prime qq, the divisors of qq are 11 and qq, so σ(q)=q+1\sigma(q) = q + 1.
  3. An odd number and a power of 22 have no common prime factor, so they are coprime. Then multiplicativity of σ\sigma gives σ(2km)=σ(2k)σ(m)\sigma(2^k m) = \sigma(2^k) \sigma(m) for odd mm.

If n=2p−1(2p−1)n = 2^{p-1}(2^p - 1) with q=2p−1q = 2^p - 1 a Mersenne prime, then nn is perfect.

  1. Since qq is prime, q≥2q \ge 2, so p≥2p \ge 2. Also qq is odd.
  2. By steps 1 to 3, σ(n)=σ(2p−1)σ(q)=(2p−1)(q+1)=q⋅2p=2n\sigma(n) = \sigma(2^{p-1}) \sigma(q) = (2^p - 1)(q + 1) = q \cdot 2^p = 2n. So nn is perfect.

If nn is an even perfect number, then nn has this form.

  1. Let nn be even and perfect. Write n=2kmn = 2^k m with k≥1k \ge 1 and mm odd.
  2. By step 3 and step 1, σ(n)=(2k+1−1)σ(m)\sigma(n) = (2^{k+1} - 1)\sigma(m). Since σ(n)=2n\sigma(n) = 2n, we get (2k+1−1)σ(m)=2k+1m(2^{k+1} - 1)\sigma(m) = 2^{k+1} m.
  3. The numbers 2k+1−12^{k+1} - 1 and 2k+12^{k+1} are coprime, since a common divisor divides their difference 11.
  4. So 2k+1−12^{k+1} - 1 divides mm, by the generalized Euclid's lemma. Write m=(2k+1−1)dm = (2^{k+1} - 1) d with dd a positive integer.
  5. Then step 7 gives (2k+1−1)σ(m)=2k+1(2k+1−1)d(2^{k+1} - 1)\sigma(m) = 2^{k+1}(2^{k+1} - 1) d, so σ(m)=2k+1d=m+d\sigma(m) = 2^{k+1} d = m + d.
  6. Since k≥1k \ge 1, we have 2k+1−1≥32^{k+1} - 1 \ge 3, so d<md < m. Thus mm and dd are two distinct divisors of mm.
  7. The sum σ(m)\sigma(m) of all divisors of mm is m+dm + d. So every divisor of mm is mm or dd, since any other divisor would add a positive term.
  8. The number 11 divides mm, and 1≠m1 \ne m because m≥3m \ge 3. So d=1d = 1, and the only divisors of mm are 11 and mm.
  9. Hence m=2k+1−1m = 2^{k+1} - 1 is prime. Put p=k+1p = k + 1. Then n=2p−1(2p−1)n = 2^{p-1}(2^p - 1), and 2p−12^p - 1 is a Mersenne prime.

Idea

The sum of divisors is multiplicative, so it splits over the power of 22 and the odd part. For an even perfect number this forces 2k+1−12^{k+1} - 1 to divide the odd part mm, and then σ(m)=m+d\sigma(m) = m + d. A number whose divisors add up to only two of them must be prime.

Reading path

To understand this page from the ground up, read these 45 pages in order. The foundations come first. The path takes the proofs Proof of the multiplicativity of the divisor function, Proof of Bézout's identity, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Euclid's lemma, Proof of strong induction from ordinary induction, Proof of the fundamental theorem of arithmetic, Proof of the existence of prime factorization, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof of the existence of a prime divisor.

  1. Arithmetic function definition
  2. Definition by recursion concept
  3. Divisibility definition
  4. Mathematical induction concept
  5. Mersenne number definition
  6. Natural numbers object
  7. Peano axioms concept
  8. Divisors of a natural number definition
  9. Greatest common divisor definition
  10. Prime number definition
  11. Successor function definition
  12. Divisor function definition
  13. Coprime integers definition
  14. Prime factorization definition
  15. Addition of natural numbers definition
  16. Mersenne prime definition
  17. The successor function is injective statement
  18. Zero is not a successor statement
  19. Sum of divisors definition
  20. Multiplicative function definition
  21. Proof of the commutativity of addition by induction proof
  22. Order on the natural numbers definition
  23. Perfect number definition
  24. Commutativity of addition statement
  25. Proof of strong induction from ordinary induction proof
  26. Strong induction statement
  27. Proof of the well-ordering principle from strong induction proof
  28. Well-ordering principle statement
  29. Proof of the division algorithm proof
  30. Proof of the existence of a prime divisor proof
  31. Division algorithm statement
  32. Existence of a prime divisor statement
  33. Proof of Bézout's identity proof
  34. Proof of the existence of prime factorization proof
  35. Bézout's identity statement
  36. Existence of prime factorization statement
  37. Proof of the multiplicativity of the divisor function proof
  38. Proof of the generalized Euclid's lemma proof
  39. Multiplicativity of the divisor function statement
  40. Generalized Euclid's lemma statement
  41. Proof of Euclid's lemma proof
  42. Euclid's lemma statement
  43. Proof of the fundamental theorem of arithmetic proof
  44. Fundamental theorem of arithmetic statement
  45. Proof of the Euclid–Euler theorem proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Euclid%E2%80%93Euler_theorem, Proof
About this page
Tag51HY9FSGVS
URIm2://51HY9FSGVS
Kindproof
WritingW0 stub
MSC11A25
ProvesEuclid–Euler theorem
UsesPerfect number, Sum of divisors, Multiplicativity of the divisor function, Mersenne prime, Prime number, Coprime integers, Generalized Euclid's lemma, Fundamental theorem of arithmetic
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.