Perfect number

Revision as of 20:20, 10 May 2025 by imported>David Eppstein (Undid revision 1289774287 by Whn9695 (talk) WP:NOTBROKEN)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:About

File:Perfect number Cuisenaire rods 6 exact.svg
Illustration of the perfect number status of the number 6

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.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> 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, since 1 + 2 + 4 + 7 + 14 = 28.

The first four perfect numbers are 6, 28, 496 and 8128.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

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, <math>\sigma_1(n)=2n</math> where <math>\sigma_1</math> is the sum-of-divisors function.

This definition is ancient, appearing as early as Euclid's Elements (VII.22) where it is called {{#invoke:Lang|lang}} (perfect, ideal, or complete number). Euclid also proved a formation rule (IX.36) whereby <math>q(q+1)/2</math> is an even perfect number whenever <math>q</math> is a prime of the form <math>2^p-1</math> for positive integer <math>p</math>—what is now called a Mersenne prime. Two millennia later, Leonhard Euler proved that all even perfect numbers are of this form.<ref name="The Euclid–Euler theorem">Caldwell, Chris, "A proof that all even perfect numbers are a power of two times a Mersenne prime".</ref> 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.

HistoryEdit

In about 300 BC Euclid showed that if 2p − 1 is prime then 2p−1(2p − 1) is perfect. The first four perfect numbers were the only ones known to early Greek mathematics, and the mathematician Nicomachus noted 8128 as early as around AD 100.<ref name="Dickinson LE (1919)">Template:Cite book</ref> In modern language, Nicomachus states without proof that Template:Em perfect number is of the form <math>2^{n-1}(2^n-1)</math> where <math>2^n-1</math> is prime.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>In Introduction to Arithmetic, Chapter 16, he says of perfect numbers, "There is a method of producing them, neat and unfailing, which neither passes by any of the perfect numbers nor fails to differentiate any of those that are not such, which is carried out in the following way." He then goes on to explain a procedure which is equivalent to finding a triangular number based on a Mersenne prime.</ref> He seems to be unaware that Template:Mvar itself has to be prime. He also says (wrongly) that the perfect numbers end in 6 or 8 alternately. (The first 5 perfect numbers end with digits 6, 8, 6, 8, 6; but the sixth also ends in 6.) Philo of Alexandria in his first-century book "On the creation" mentions perfect numbers, claiming that the world was created in 6 days and the moon orbits in 28 days because 6 and 28 are perfect. Philo is followed by Origen,<ref>Commentary on the Gospel of John 28.1.1–4, with further references in the Sources Chrétiennes edition: vol. 385, 58–61.</ref> and by Didymus the Blind, who adds the observation that there are only four perfect numbers that are less than 10,000. (Commentary on Genesis 1. 14–19).<ref>Template:Cite conference</ref> Augustine of Hippo defines perfect numbers in The City of God (Book XI, Chapter 30) in the early 5th century AD, repeating the claim that God created the world in 6 days because 6 is the smallest perfect number. The Egyptian mathematician Ismail ibn Fallūs (1194–1252) mentioned the next three perfect numbers (33,550,336; 8,589,869,056; and 137,438,691,328) and listed a few more which are now known to be incorrect.<ref>Roshdi Rashed, The Development of Arabic Mathematics: Between Arithmetic and Algebra (Dordrecht: Kluwer Academic Publishers, 1994), pp. 328–329.</ref> The first known European mention of the fifth perfect number is a manuscript written between 1456 and 1461 by an unknown mathematician.<ref>Bayerische Staatsbibliothek, Clm 14908. See Template:Cite book</ref> In 1588, the Italian mathematician Pietro Cataldi identified the sixth (8,589,869,056) and the seventh (137,438,691,328) perfect numbers, and also proved that every perfect number obtained from Euclid's rule ends with a 6 or an 8.<ref>Template:Cite book</ref><ref name="Pickover C (2001)">Template:Cite book</ref><ref name="Peterson I (2002)">Template:Cite book</ref>

Even perfect numbersEdit

Template:See also Template:Unsolved Euclid proved that <math>2^{p-1}(2^p-1)</math> is an even perfect number whenever <math>2^p-1</math> is prime (Elements, Prop. IX.36).

For example, the first four perfect numbers are generated by the formula <math>2^{p-1}(2^p-1),</math> with Template:Mvar a prime number, as follows: <math display=block>\begin{align} p = 2 &: \quad 2^1(2^2 - 1) = 2 \times 3 = 6 \\ p = 3 &: \quad 2^2(2^3 - 1) = 4 \times 7 = 28 \\ p = 5 &: \quad 2^4(2^5 - 1) = 16 \times 31 = 496 \\ p = 7 &: \quad 2^6(2^7 - 1) = 64 \times 127 = 8128. \end{align}</math>

Prime numbers of the form <math>2^p-1</math> are known as Mersenne primes, after the seventeenth-century monk Marin Mersenne, who studied number theory and perfect numbers. For <math>2^p-1</math> to be prime, it is necessary that Template:Mvar itself be prime. However, not all numbers of the form <math>2^p-1</math> with a prime Template:Mvar are prime; for example, Template:Nowrap is not a prime number.Template:Efn In fact, Mersenne primes are very rare: of the approximately 4 million primes Template:Mvar up to 68,874,199, <math>2^p-1</math> is prime for only 48 of them.<ref name="GIMPS Milestones">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

While Nicomachus had stated (without proof) that Template:Em perfect numbers were of the form <math>2^{n-1}(2^n-1)</math> where <math>2^n-1</math> is prime (though he stated this somewhat differently), Ibn al-Haytham (Alhazen) circa AD 1000 was unwilling to go that far, declaring instead (also without proof) that the formula yielded only every even perfect number.<ref>Template:MacTutor Biography</ref> It was not until the 18th century that Leonhard Euler proved that the formula <math>2^{p-1}(2^p-1)</math> will yield all the even perfect numbers. Thus, there is a one-to-one correspondence between even perfect numbers and Mersenne primes; each Mersenne prime generates one even perfect number, and vice versa. This result is often referred to as the Euclid–Euler theorem.

An exhaustive search by the GIMPS distributed computing project has shown that the first 48 even perfect numbers are <math>2^{p-1}(2^p-1)</math> for

Template:Mvar = 2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, 9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 110503, 132049, 216091, 756839, 859433, 1257787, 1398269, 2976221, 3021377, 6972593, 13466917, 20996011, 24036583, 25964951, 30402457, 32582657, 37156667, 42643801, 43112609 and 57885161 (sequence A000043 in the OEIS).<ref name="GIMPS Milestones" />

Four higher perfect numbers have also been discovered, namely those for which Template:Mvar = 74207281, 77232917, 82589933 and 136279841. Although it is still possible there may be others within this range, initial but exhaustive tests by GIMPS have revealed no other perfect numbers for Template:Mvar below 109332539. Template:As of, 52 Mersenne primes are known,<ref name="mersenne">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and therefore 52 even perfect numbers (the largest of which is Template:Nowrap with 82,048,640 digits). It is not known whether there are infinitely many perfect numbers, nor whether there are infinitely many Mersenne primes.

As well as having the form <math>2^{p-1}(2^p-1)</math>, each even perfect number is the <math>(2^p-1)</math>-th triangular number (and hence equal to the sum of the integers from 1 to <math>2^p-1</math>) and the <math>2^{p-1}</math>-th hexagonal number. Furthermore, each even perfect number except for 6 is the <math>\tfrac{2^p+1}{3}</math>-th centered nonagonal number and is equal to the sum of the first <math>2^\frac{p-1}{2}</math> odd cubes (odd cubes up to the cube of <math>2^\frac{p+1}{2}-1</math>):

<math display=block>\begin{alignat}{3}

 6 &= 2^1(2^2 - 1)  &&= 1 + 2 + 3, \\[8pt]
 28 &= 2^2(2^3 - 1) &&= 1 + 2 + 3 + 4 + 5 + 6 + 7 \\
   & &&= 1^3 + 3^3 \\[8pt]
 496 &= 2^4(2^5 - 1) &&= 1 + 2 + 3 + \cdots + 29 + 30 + 31 \\
   & &&= 1^3 + 3^3 + 5^3 + 7^3 \\[8pt]
 8128 &= 2^6(2^7 - 1) &&= 1 + 2 + 3 + \cdots + 125 + 126 + 127 \\
   & &&= 1^3 + 3^3 + 5^3 + 7^3 + 9^3 + 11^3 + 13^3 + 15^3 \\[8pt]
 33550336 &= 2^{12}(2^{13} - 1) &&= 1 + 2 + 3 + \cdots + 8189 + 8190 + 8191 \\
   & &&= 1^3 + 3^3 + 5^3 + \cdots + 123^3 + 125^3 + 127^3

\end{alignat}</math>

Even perfect numbers (except 6) are of the form <math display=block>T_{2^p - 1} = 1 + \frac{(2^p - 2) \times (2^p + 1)}{2} = 1 + 9 \times T_{(2^p - 2)/3}</math>

with each resulting triangular number Template:Nowrap, Template:Nowrap, Template:Nowrap (after subtracting 1 from the perfect number and dividing the result by 9) ending in 3 or 5, the sequence starting with Template:Nowrap, Template:Nowrap, Template:Nowrap, Template:Nowrap<ref name="mathworld">Template:Mathworld</ref> It follows that by adding the digits of any even perfect number (except 6), then adding the digits of the resulting number, and repeating this process until a single digit (called the digital root) is obtained, always produces the number 1. For example, the digital root of 8128 is 1, because Template:Nowrap, Template:Nowrap, and Template:Nowrap. This works with all perfect numbers <math>2^{p-1}(2^p-1)</math> with odd prime Template:Mvar and, in fact, with Template:Em numbers of the form <math>2^{m-1}(2^m-1)</math> for odd integer (not necessarily prime) Template:Mvar.

Owing to their form, <math>2^{p-1}(2^p-1),</math> every even perfect number is represented in binary form as Template:Mvar ones followed by Template:Math zeros; for example:

<math display=block>\begin{array}{rcl} 6_{10} =& 2^2 + 2^1 &= 110_2 \\ 28_{10} =& 2^4 + 2^3 + 2^2 &= 11100_2 \\ 496_{10} =& 2^8 + 2^7 + 2^6 + 2^5 + 2^4 &= 111110000_2 \\ 8128_{10} =& \!\! 2^{12} + 2^{11} + 2^{10} + 2^9 + 2^8 + 2^7 + 2^6 \!\! &= 1111111000000_2 \end{array}</math>

Thus every even perfect number is a pernicious number.

Every even perfect number is also a practical number (cf. Related concepts).

Odd perfect numbersEdit

Template:Unsolved It is unknown whether any odd perfect numbers exist, though various results have been obtained. In 1496, Jacques Lefèvre stated that Euclid's rule gives all perfect numbers,<ref>Template:Cite book</ref> thus implying that no odd perfect number exists, but Euler himself stated: "Whether ... there are any odd perfect numbers is a most difficult question".<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> More recently, Carl Pomerance has presented a heuristic argument suggesting that indeed no odd perfect number should exist.<ref name="oddperfect">Oddperfect.org. Template:Webarchive</ref> All perfect numbers are also harmonic divisor numbers, and it has been conjectured as well that there are no odd harmonic divisor numbers other than 1. Many of the properties proved about odd perfect numbers also apply to Descartes numbers, and Pace Nielsen has suggested that sufficient study of those numbers may lead to a proof that no odd perfect numbers exist.<ref>Template:Cite news</ref>

Any odd perfect number N must satisfy the following conditions:

  • N > 101500.<ref name="Ochem and Rao (2012)">Template:Cite journal</ref>
  • N is not divisible by 105.<ref name="Kühnel U">Template:Cite journal</ref>
  • N is of the form N ≡ 1 (mod 12) or N ≡ 117 (mod 468) or N ≡ 81 (mod 324).<ref name="Roberts T (2008)">Template:Cite journal</ref>
  • The largest prime factor of N is greater than 108,<ref name="Goto and Ohno (2008)">Template:Cite journal</ref> and less than <math>\sqrt[3]{3N}.</math> <ref name="AK 2012">Template:Cite journal</ref>
  • The second largest prime factor is greater than 104,<ref name="Ianucci DE (1999)">Template:Cite journal</ref> and is less than <math>\sqrt[5]{2N}</math>.<ref name="Zelinsky 2019">Template:Cite journal.</ref>
  • The third largest prime factor is greater than 100,<ref name="Ianucci DE (2000)">Template:Cite journal</ref> and less than <math>\sqrt[6]{2N}.</math><ref name="Zelinsky 2021a">Template:Cite journal</ref>
  • N has at least 101 prime factors and at least 10 distinct prime factors.<ref name="Ochem and Rao (2012)"/><ref name="Nielsen Pace P. (2015)">Template:Cite journal</ref> If 3 does not divide N, then N has at least 12 distinct prime factors.<ref name="Nielsen Pace P. (2007)">Template:Cite journal</ref>
  • N is of the form
<math>N=q^{\alpha} p_1^{2e_1} \cdots p_k^{2e_k}, </math>
where:
  • qp1, ..., pk are distinct odd primes (Euler).
  • q ≡ α ≡ 1 (mod 4) (Euler).
  • The smallest prime factor of N is at most <math>\frac{k-1}{2}.</math><ref name="Zelinsky 2021">Template:Cite journal</ref>
  • At least one of the prime powers dividing N exceeds 1062.<ref name="Ochem and Rao (2012)"/>
  • <math> N < 2^{(4^{k+1}-2^{k+1})}</math><ref name="Chen and Tang">Template:Cite journal</ref><ref name="Nielsen (2003)">Template:Cite journal</ref>
  • <math>\alpha + 2e_1 + 2e_2 + 2e_3 + \cdots + 2e_k \geq \frac{99k-224}{37} </math>.<ref name="Zelinsky 2021"/><ref name="Ochem and Rao (2014)">Template:Cite journal</ref><ref name="ClayotonHansen">Template:Cite journal</ref>
  • <math> qp_1p_2p_3 \cdots p_k < 2N^{\frac{17}{26}}</math>.<ref name="LucaPomerance">Template:Cite journal</ref>
  • <math> \frac{1}{q} + \frac{1}{p_1} + \frac{1}{p_2} + \cdots + \frac{1}{p_k} < \ln 2</math>.<ref name="Cohen1978">Template:Cite journal</ref><ref>Template:Cite journal</ref>

Furthermore, several minor results are known about the exponents e1, ..., ek.

  • Not all ei ≡ 1 (mod 3).<ref name="McDaniel (1970)">Template:Cite journal</ref>
  • Not all ei ≡ 2 (mod 5).<ref name="Fletcher, Nielsen and Ochem (2012)">Template:Cite journal</ref>
  • If all ei ≡ 1 (mod 3) or 2 (mod 5), then the smallest prime factor of N must lie between 108 and 101000.<ref name="Fletcher, Nielsen and Ochem (2012)"/>
  • More generally, if all 2ei+1 have a prime factor in a given finite set S, then the smallest prime factor of N must be smaller than an effectively computable constant depending only on S.<ref name="Fletcher, Nielsen and Ochem (2012)"/>
  • If (e1, ..., ek) =  (1, ..., 1, 2, ..., 2) with t ones and u twos, then <math>(t-1)/4 \leq u \leq 2t+\sqrt{\alpha}</math>.<ref name="Cohen (1987)">Template:Cite journal</ref>
  • (e1, ..., ek) ≠ (1, ..., 1, 3),<ref name="Kanold (1950)">Template:Cite journal</ref> (1, ..., 1, 5), (1, ..., 1, 6).<ref name="Cohen and Williams (1985)">Template:Cite journal</ref>
  • If Template:Math, then
    • e cannot be 3,<ref name="Hagis and McDaniel (1972)">Template:Cite journal</ref> 5, 24,<ref name="McDaniel and Hagis (1975)">Template:Cite journal</ref> 6, 8, 11, 14 or 18.<ref name="Cohen and Williams (1985)" />
    • <math> k\leq 2e^2+8e+2</math> and <math> N<2^{4^{2e^2 + 8e+3}}</math>.<ref name="Yamada (2019)">Template:Cite journal</ref>

In 1888, Sylvester stated:<ref>The Collected Mathematical Papers of James Joseph Sylvester p. 590, tr. from "Sur les nombres dits de Hamilton", Compte Rendu de l'Association Française (Toulouse, 1887), pp. 164–168.</ref>

<templatestyles src="Template:Blockquote/styles.css" />

... a prolonged meditation on the subject has satisfied me that the existence of any one such [odd perfect number]—its escape, so to say, from the complex web of conditions which hem it in on all sides—would be little short of a miracle.{{#if:|{{#if:|}}

}}

{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Blockquote with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | author | by | char | character | cite | class | content | multiline | personquoted | publication | quote | quotesource | quotetext | sign | source | style | text | title | ts }}

On the other hand, several odd integers come close to being perfect. René Descartes observed that the number Template:Math would be an odd perfect number if only Template:Math were a prime number. The odd numbers with this property (they would be perfect if one of their composite factors were prime) are the Descartes numbers.

Minor resultsEdit

All even perfect numbers have a very precise form; odd perfect numbers either do not exist or are rare. There are a number of results on perfect numbers that are actually quite easy to prove but nevertheless superficially impressive; some of them also come under Richard Guy's strong law of small numbers:

  • The only even perfect number of the form n3 + 1 is 28 Template:Harv.<ref>Template:Cite journal</ref>
  • 28 is also the only even perfect number that is a sum of two positive cubes of integers Template:Harv.<ref>Template:Cite journal.</ref>
  • The reciprocals of the divisors of a perfect number N must add up to 2 (to get this, take the definition of a perfect number, <math>\sigma_1(n) = 2n</math>, and divide both sides by n):
    • For 6, we have <math>\frac{1}{6}+\frac{1}{3}+\frac{1}{2}+\frac{1}{1} = \frac{1}{6}+\frac{2}{6}+\frac{3}{6}+\frac{6}{6} = \frac{1+2+3+6}{6} = \frac{2\cdot 6}{6} = 2</math>;
    • For 28, we have <math>1/28 + 1/14 + 1/7 + 1/4 + 1/2 + 1/1 = 2</math>, etc.
  • The number of divisors of a perfect number (whether even or odd) must be even, because N cannot be a perfect square.<ref>Template:Citation.</ref>
  • The even perfect numbers are not trapezoidal numbers; that is, they cannot be represented as the difference of two positive non-consecutive triangular numbers. There are only three types of non-trapezoidal numbers: even perfect numbers, powers of two, and the numbers of the form <math>2^{n-1}(2^n+1)</math> formed as the product of a Fermat prime <math>2^n+1</math> with a power of two in a similar way to the construction of even perfect numbers from Mersenne primes.<ref>Template:Cite journal</ref>
  • The number of perfect numbers less than n is less than <math>c\sqrt{n}</math>, where c > 0 is a constant.<ref name="Hornfeck (1955)">Template:Cite journal</ref> In fact it is <math>o(\sqrt{n})</math>, using little-o notation.<ref>Template:Cite journal</ref>
  • Every even perfect number ends in 6 or 28 in base ten and, with the only exception of 6, ends in 1 in base 9.<ref>H. Novarese. Note sur les nombres parfaits Texeira J. VIII (1886), 11–16.</ref><ref>Template:Cite book</ref> Therefore, in particular the digital root of every even perfect number other than 6 is 1.
  • The only square-free perfect number is 6.<ref>Template:Cite book.</ref>

Related conceptsEdit

Template:Euler diagram numbers with many divisors.svg The sum of proper divisors gives various other kinds of numbers. Numbers where the sum is less than the number itself are called deficient, and where it is greater than the number, abundant. These terms, together with perfect itself, come from Greek numerology. A pair of numbers which are the sum of each other's proper divisors are called amicable, and larger cycles of numbers are called sociable. A positive integer such that every smaller positive integer is a sum of distinct divisors of it is a practical number.

By definition, a perfect number is a fixed point of the restricted divisor function Template:Nowrap, and the aliquot sequence associated with a perfect number is a constant sequence. All perfect numbers are also <math>\mathcal{S}</math>-perfect numbers, or Granville numbers.

A semiperfect number is a natural number that is equal to the sum of all or some of its proper divisors. A semiperfect number that is equal to the sum of all its proper divisors is a perfect number. Most abundant numbers are also semiperfect; abundant numbers which are not semiperfect are called weird numbers.

See alsoEdit

NotesEdit

Template:Notelist

ReferencesEdit

Template:Reflist

SourcesEdit

Template:Refbegin

Template:Refend

Further readingEdit

  • Nankar, M.L.: "History of perfect numbers," Ganita Bharati 1, no. 1–2 (1979), 7–8.
  • Template:Cite journal
  • Riele, H.J.J. "Perfect Numbers and Aliquot Sequences" in H.W. Lenstra and R. Tijdeman (eds.): Computational Methods in Number Theory, Vol. 154, Amsterdam, 1982, pp. 141–157.
  • Riesel, H. Prime Numbers and Computer Methods for Factorisation, Birkhauser, 1985.
  • Template:Cite book

External linksEdit

|CitationClass=web }}

Template:Divisor classes Template:Classes of natural numbers Template:Authority control