Discover amicable number pairs and explore the fascinating world of number theory. Check if two numbers are amicable or find all pairs within a range.
Definition: Two numbers (a, b) are amicable if σ(a) - a = b and σ(b) - b = a, where σ(n) is the sum of all divisors of n.
Equivalently: sum of proper divisors of a equals b, and sum of proper divisors of b equals a.
Note: This may take longer for larger ranges. The algorithm finds all amicable pairs where both numbers are within the specified range.
Explore: View known amicable pairs and their properties. Click on any pair to analyze it further.
Thābit ibn Qurra's Theorem (9th century):
For n > 1, let:
p = 3 × 2n-1 - 1
q = 3 × 2n - 1
r = 9 × 22n-1 - 1
If p, q, and r are prime numbers, then 2n × p × q and 2n × r are amicable numbers.
Amicable numbers are two different numbers related in such a way that the sum of the proper divisors of each is equal to the other number. They have fascinated mathematicians since ancient times.
Mathematical Definition:
Two numbers (a, b) are amicable if:
σ(a) - a = b and σ(b) - b = a
where σ(n) is the sum of all positive divisors of n, and σ(n) - n is the sum of proper divisors (excluding n itself).
Ancient Origins: The smallest pair (220, 284) was known to the ancient Greeks. Pythagoras considered them to symbolize friendship and harmony.
Islamic Mathematics: Arab mathematicians made significant contributions. Thābit ibn Qurra (826-901) formulated a theorem for generating amicable numbers.
Modern Discoveries: With computers, millions of amicable pairs have been discovered. The largest known pairs have over 240,000 digits each.
Theorem: For n > 1, let p = 3 × 2ⁿ⁻¹ - 1, q = 3 × 2ⁿ - 1, and r = 9 × 2²ⁿ⁻¹ - 1. If p, q, and r are prime numbers, then 2ⁿ × p × q and 2ⁿ × r are amicable numbers.
For n = 2: p = 5, q = 11, r = 71 (all prime) → 2² × 5 × 11 = 220 and 2² × 71 = 284.
| Type | Definition | Example | References |
|---|---|---|---|
| Perfect Numbers | σ(n) - n = n (equals its own aliquot sum) | 6, 28, 496 | Euclid, "Elements" (c. 300 BCE) |
| Amicable Numbers | σ(a) - a = b and σ(b) - b = a | 220 & 284 | Iamblichus, "Life of Pythagoras" (c. 300 CE) |
| Sociable Numbers | Chain of 3 or more numbers where each equals the sum of divisors of the previous | 12496 → 14288 → 15472 → 14536 → 14264 → 12496 | Poulet, "Les nombres sociables" (1918) |
| Betrothed Numbers | σ(a) - a - 1 = b and σ(b) - b - 1 = a | 48 & 75, 140 & 195 | Cohen & te Riele, "On Betrothed Numbers" (1995) |
Definition: Two numbers (m, n) such that the sum of the proper divisors of m is one more than n, and the sum of the proper divisors of n is one more than m.
Formally: σ(m) - m - 1 = n and σ(n) - n - 1 = m
Examples: (48, 75), (140, 195), (1050, 1925)
Also called "quasi-amicable numbers" or "reduced amicable numbers".
Calculator Features: