Amicable Numbers Calculator (Pairs, Sociable Chains)
Amicable numbers calculator: pair check, partner search, list up to N, sociable chains of iterated aliquot cycles and historical Thabit ibn Qurra formula.
Report a calculation error
Help us improve. Describe what is wrong with the calculation.
Result
| Voce | Valore |
|---|
Show full details
Share result
Disclaimer: this calculation is for informational purposes only. For important decisions, consult a qualified professional.
Amicable numbers
Two positive integers m and n are amicable if the sum of proper divisors of one equals the other, and vice versa: s(m) = n and s(n) = m. The most famous pair is (220, 284): s(220) = 1+2+4+5+10+11+20+22+44+55+110 = 284 and s(284) = 1+2+4+71+142 = 220. Pythagoreans (6th century BC) considered them symbols of perfect friendship; two friends each carried 220 and 284 as talismans.
Formal definition
Let sigma(n) = sum of all divisors of n, s(n) = sigma(n) - n = proper divisor sum (aliquot). Then (m, n) with m != n are amicable iff:
sigma(m) = sigma(n) = m + n
Equivalently: s(m) = n and s(n) = m. If m = n, condition becomes s(m) = m, i.e., m is perfect - degenerate self-amicability case.
Thabit ibn Qurra formula (850 AD)
Arab mathematician Thabit ibn Qurra (826-901) discovered the first explicit formula:
If p = 3 * 2^k - 1, q = 3 * 2^(k-1) - 1, r = 9 * 2^(2k-1) - 1 all prime, then (2^k * p * q, 2^k * r) is an amicable pair.
k=2: p=11, q=5, r=71 all prime -> (220, 284).
k=4: p=47, q=23, r=1151 prime -> (17296, 18416), attributed to Fermat 1636.
k=7: p=383, q=191, r=73727 prime -> (9363584, 9437056), Descartes 1638.
For k in {1, 3, 5, 6, 8, ...}: one of three not prime, Thabit inapplicable.
Discovery history
- 220, 284: Pythagoreans, ~500 BC.
- 17296, 18416: Thabit ibn Qurra ~860 AD (formally), Fermat 1636 (rediscovery).
- 9363584, 9437056: Descartes 1638.
- 1184, 1210: shocking discovery by 16-year-old Nicolo Paganini in 1866. Missed by Euler who found over 60 pairs.
- Euler (1747): 30 new pairs, bringing total to 36.
- Modern computing (GIMPS-style): over 1 billion pairs known as of 2026.
Sociable chains
Generalization of amicability to cycles of length > 2: a sociable chain is a sequence n_1 -> n_2 -> ... -> n_k -> n_1 where each n_{i+1} = s(n_i). If k=1, perfect number. If k=2, amicable pair. If k >= 3, proper sociable chain.
- Length 5 chain: (12496, 14288, 15472, 14536, 14264) discovered by Poulet 1918.
- Length 28 chain: discovered 1965 (Poulet), starts with 14316.
- Chains of length 4, 6, 8, 9, 10 exist but no length 3 found.
- Conjecture: no length-3 chains exist (open).
Five calculator modes
- Pair check: given m, n, checks if amicable.
- Partner search: given m, finds amicable partner (or identifies if perfect).
- Pair list: all amicable pairs up to N.
- Sociable chain: iterated s orbit with cycle detection.
- Thabit formula: for given k, checks if p, q, r prime and builds pair.
Notable properties
- If (m, n) amicable, one is abundant and other is deficient.
- All known amicable pairs are both even or both odd. Mixed parity: open.
- Sum of amicable pair always divisible by 9 for pairs with m+n < 10^7 (Lee-Madachy 1972 conjecture).
- Smallest amicable pair for each prime factor p.
- Asymptotic density of amicable pairs unknown; conjectured o(n / log n).
Applications
- Number theory: connections to sigma, Mersenne, arithmetic formulas.
- History of mathematics: Pythagorean friendship symbol, Arab tradition, European Renaissance.
- Distributed computing: amicable pair search projects.
- Cryptography: some pairs appear as examples in factorization exercises.
- Philosophy: recurring theme in numerology and mystical mathematics.
- Education: accessible exercise introducing divisors, sigma, sequences.
Amicable numbers in culture and mysticism
The pair (220, 284) has fascinated humanity for millennia, far beyond pure mathematics. The Pythagoreans saw in amicable numbers a symbol of friendship and harmony, attributing an almost sacred value to the concept: it is said that Pythagoras, asked what a friend was, replied "one who is the other I, like 220 and 284". In the Middle Ages these numbers appeared on talismans and love charms: it was believed that writing 220 and 284 on two objects given to two people would strengthen their bond of affection. Jewish tradition links the pair to the biblical account in which Jacob offers Esau 220 goats as a gift of reconciliation. This rich symbolism shows how an arithmetical curiosity can cross philosophy, religion and superstition.
Open questions about amicable numbers
Despite centuries of study, amicable numbers retain unsolved mysteries. It is not known whether infinitely many amicable pairs exist: billions are now known thanks to computers, but a proof that they are infinite is still lacking. No amicable pair has ever been found in which the two numbers are coprime (with no common divisors), and it is suspected that none exists. All known pairs, moreover, have the same parity: both even or both odd, never a mixed one. Many conjectures about these patterns remain open, and Thabit's formula, though elegant, generates only a tiny fraction of all existing pairs. Amicable numbers remain fertile ground for number theory.
Updated July 2026
Comments (0)
Login to leave a comment.
No comments yet. Be the first!