
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the amicable numbers are two different
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s related in such a way that the
sum of the
proper divisor
In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a '' multiple'' of m. An integer n is divisible or evenly divisibl ...
s of each is equal to the other number. That is, ''s''(''a'')=''b'' and ''s''(''b'')=''a'', where ''s''(''n'')=σ(''n'')-''n'' is equal to the sum of positive divisors of ''n'' except ''n'' itself (see also
divisor function
In mathematics, and specifically in number theory, a divisor function is an arithmetic function related to the divisors of an integer. When referred to as ''the'' divisor function, it counts the ''number of divisors of an integer'' (includi ...
).
The smallest pair of amicable numbers is (
220,
284). They are amicable because the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110, of which the sum is 284; and the proper divisors of 284 are 1, 2, 4, 71 and 142, of which the sum is 220.
The first ten amicable pairs are: (220, 284), (1184, 1210), (2620, 2924), (5020, 5564), (6232, 6368), (10744, 10856), (12285, 14595), (17296, 18416), (63020, 76084), and (66928, 66992) . It is unknown if there are infinitely many pairs of amicable numbers.
A pair of amicable numbers constitutes an
aliquot sequence
In mathematics, an aliquot sequence is a sequence of positive integers in which each term is the sum of the proper divisors of the previous term. If the sequence reaches the number 1, it ends, since the sum of the proper divisors of 1 is 0.
Def ...
of
period 2. A related concept is that of a
perfect number
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. For instance, 6 has proper divisors 1, 2 and 3, and 1 + 2 + 3 = 6, so 6 is a perfec ...
, which is a number that equals the sum of ''its own'' proper divisors, in other words a number which forms an aliquot sequence of period 1. Numbers that are members of an aliquot sequence with period greater than 2 are known as
sociable numbers.
History
Amicable numbers were known to the
Pythagoreans
Pythagoreanism originated in the 6th century BC, based on and around the teachings and beliefs held by Pythagoras and his followers, the Pythagoreans. Pythagoras established the first Pythagorean community in the Ancient Greece, ancient Greek co ...
, who credited them with many mystical properties. A general formula by which some of these numbers could be derived was invented circa 850 by the
Iraqi mathematician
Thābit ibn Qurra
Thābit ibn Qurra (full name: , , ; 826 or 836 – February 19, 901), was a scholar known for his work in mathematics, medicine, astronomy, and translation. He lived in Baghdad in the second half of the ninth century during the time of the Abba ...
(826–901). Other
Arab
Arabs (, , ; , , ) are an ethnic group mainly inhabiting the Arab world in West Asia and North Africa. A significant Arab diaspora is present in various parts of the world.
Arabs have been in the Fertile Crescent for thousands of years ...
mathematicians who studied amicable numbers are
al-Majriti (died 1007),
al-Baghdadi (980–1037), and
al-Fārisī (1260–1320). The
Iran
Iran, officially the Islamic Republic of Iran (IRI) and also known as Persia, is a country in West Asia. It borders Iraq to the west, Turkey, Azerbaijan, and Armenia to the northwest, the Caspian Sea to the north, Turkmenistan to the nort ...
ian mathematician
Muhammad Baqir Yazdi (16th century) discovered the pair (9363584, 9437056), though this has often been attributed to
Descartes. Much of the work of
Eastern mathematicians in this area has been forgotten.
Thābit ibn Qurra's formula was rediscovered by
Fermat
Pierre de Fermat (; ; 17 August 1601 – 12 January 1665) was a French mathematician who is given credit for early developments that led to infinitesimal calculus, including his technique of adequality. In particular, he is recognized for his d ...
(1601–1665) and
Descartes (1596–1650), to whom it is sometimes ascribed, and extended by
Euler
Leonhard Euler ( ; ; ; 15 April 170718 September 1783) was a Swiss polymath who was active as a mathematician, physicist, astronomer, logician, geographer, and engineer. He founded the studies of graph theory and topology and made influential ...
(1707–1783). It was extended further by
Borho in 1972. Fermat and Descartes also rediscovered pairs of amicable numbers known to Arab mathematicians. Euler also discovered dozens of new pairs.
[ The second smallest pair, (1184, 1210), was discovered in 1867 by 16-year-old B. Nicolò I. Paganini (not to be confused with the composer and violinist), having been overlooked by earlier mathematicians.][
]
There are over 1 billion known amicable pairs.
Rules for generation
While these rules do generate some pairs of amicable numbers, many other pairs are known, so these rules are by no means comprehensive.
In particular, the two rules below produce only even amicable pairs, so they are of no interest for the open problem of finding amicable pairs coprime to 210 = 2·3·5·7, while over 1000 pairs coprime to 30 = 2·3·5 are known arcía, Pedersen & te Riele (2003), Sándor & Crstici (2004)
Thābit ibn Qurrah theorem
The Thābit ibn Qurrah theorem is a method for discovering amicable numbers invented in the 9th century by the Arab
Arabs (, , ; , , ) are an ethnic group mainly inhabiting the Arab world in West Asia and North Africa. A significant Arab diaspora is present in various parts of the world.
Arabs have been in the Fertile Crescent for thousands of years ...
mathematician
A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems. Mathematicians are concerned with numbers, data, quantity, mathematical structure, structure, space, Mathematica ...
Thābit ibn Qurrah.
It states that if
where is an integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
and are prime number
A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s, then and are a pair of amicable numbers. This formula gives the pairs for , for , and for , but no other such pairs are known. Numbers of the form are known as Thabit numbers. In order for Ibn Qurrah's formula to produce an amicable pair, two consecutive Thabit numbers must be prime; this severely restricts the possible values of .
To establish the theorem, Thâbit ibn Qurra proved nine lemmas divided into two groups. The first three lemmas deal with the determination of the aliquot parts of a natural integer. The second group of lemmas deals more specifically with the formation of perfect, abundant and deficient numbers.
Euler's rule
''Euler's rule'' is a generalization of the Thâbit ibn Qurra theorem. It states that if
where are integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s and are prime number
A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s, then and are a pair of amicable numbers. Thābit ibn Qurra's theorem corresponds to the case . Euler's rule creates additional amicable pairs for with no others being known. Euler (1747 & 1750) overall found 58 new pairs increasing the number of pairs that were then known to 61.
Regular pairs
Let (, ) be a pair of amicable numbers with , and write and where is the greatest common divisor
In mathematics, the greatest common divisor (GCD), also known as greatest common factor (GCF), of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers , , the greatest co ...
of and . If and are both coprime
In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
to and square free then the pair (, ) is said to be regular ; otherwise, it is called irregular or exotic. If (, ) is regular and and have and prime factors respectively, then is said to be of type .
For example, with , the greatest common divisor is and so and . Therefore, is regular of type .
Twin amicable pairs
An amicable pair is twin if there are no integers between and belonging to any other amicable pair .
Other results
In every known case, the numbers of a pair are either both even or both odd. It is not known whether an even-odd pair of amicable numbers exists, but if it does, the even number must either be a square number or twice one, and the odd number must be a square number. However, amicable numbers where the two members have different smallest prime factors do exist: there are seven such pairs known. Also, every known pair shares at least one common prime factor. It is not known whether a pair of coprime
In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
amicable numbers exists, though if any does, the product of the two must be greater than 1065. Also, a pair of co-prime amicable numbers cannot be generated by Thabit's formula (above), nor by any similar formula.
In 1955 Paul Erdős
Paul Erdős ( ; 26March 191320September 1996) was a Hungarian mathematician. He was one of the most prolific mathematicians and producers of mathematical conjectures of the 20th century. pursued and proposed problems in discrete mathematics, g ...
showed that the density of amicable numbers, relative to the positive integers, was 0.
In 1968 Martin Gardner
Martin Gardner (October 21, 1914May 22, 2010) was an American popular mathematics and popular science writer with interests also encompassing magic, scientific skepticism, micromagic, philosophy, religion, and literatureespecially the writin ...
noted that most even amicable pairs have sums divisible by 9, and that a rule for characterizing the exceptions was obtained.
According to the sum of amicable pairs conjecture, as the number of the amicable numbers approaches infinity, the percentage of the sums of the amicable pairs divisible by ten approaches 100% .
Although all amicable pairs up to 10,000 are even pairs, the proportion of odd amicable pairs increases steadily towards higher numbers, and presumably there are more of them than of the even amicable pairs (sequence A360054 in OEIS).
There are amicable pairs where the sum of one number from the first pair and one number from the second pair equals the sum of the remaining two numbers, e.g. 67212 = 220 + 66992 = 284 + 66928 where (220, 284) and (66928, 66992) are two amicable pairs (sequence A359334 in OEIS).
Gaussian integer
In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as \mathbf ...
amicable pairs exist, e.g.
s(8008+3960i) = 4232-8280i and s(4232-8280i) = 8008+3960i.
Generalizations
Amicable tuples
Amicable numbers satisfy and which can be written together as . This can be generalized to larger tuples, say , where we require
:
For example, (1980, 2016, 2556) is an amicable triple , and (3270960, 3361680, 3461040, 3834000) is an amicable quadruple .
Amicable multiset
In mathematics, a multiset (or bag, or mset) is a modification of the concept of a set that, unlike a set, allows for multiple instances for each of its elements. The number of instances given for each element is called the ''multiplicity'' of ...
s are defined analogously and generalizes this a bit further .
Sociable numbers
Sociable numbers are the numbers in cyclic lists of numbers (with a length greater than 2) where each number is the sum of the proper divisors of the preceding number. For example, are sociable numbers of order 4.
Searching for sociable numbers
The aliquot sequence
In mathematics, an aliquot sequence is a sequence of positive integers in which each term is the sum of the proper divisors of the previous term. If the sequence reaches the number 1, it ends, since the sum of the proper divisors of 1 is 0.
Def ...
can be represented as a directed graph, , for a given integer , where denotes the
sum of the proper divisors of .
Cycles in represent sociable numbers
In mathematics, sociable numbers are numbers whose Aliquot sum#Definition, aliquot sums form a periodic sequence. They are generalizations of the concepts of perfect numbers and amicable numbers. The first two sociable sequences, or sociable chains ...
within the interval