Deficient: s(n) < n
Examples: 1, 8, 9, 10, 97. Every prime and every prime power is deficient.
s(n) = σ(n) − n with perfect, abundant or deficient class and full aliquot sequences.
Enter your values below to get started.
s(n) = n means n is perfect; s(n) > n means abundant; s(n) < n means deficient.
Every prime p has s(p) = 1, so prime numbers are deficient.
Two numbers a and b are amicable when s(a) = b and s(b) = a, such as 220 and 284.
Set the step limit to 200 to follow long aliquot sequences such as 138.
An aliquot sum calculator adds the proper divisors of a whole number n, the divisors smaller than n, to give s(n) = σ(n) − n. For n = 12 the proper divisors 1, 2, 3, 4 and 6 add up to 16. Enter n up to 1012 to get s(n), its prime factorization, the perfect, abundant or deficient class, an amicable partner, the aliquot sequence n → s(n) → s(s(n)) → …, or a count of every class from 1 to N.
An aliquot sum s(n) is the sum of the proper divisors of n, meaning every positive divisor of n except n itself. The proper divisors of 12 are 1, 2, 3, 4 and 6, so s(12) = 16.
The word aliquot comes from Latin and means "a part that divides a whole exactly". Greek mathematicians of the Pythagorean school compared s(n) with n more than 2,500 years ago, and Euclid proved the first theorem about perfect numbers in the Elements (Book IX, Proposition 36, around 300 BC). σ(n), the sum of all divisors including n, is the divisor function σ1(n).
The aliquot sum puts every whole number n ≥ 2 in 1 of 3 classes: perfect when s(n) = n (28), abundant when s(n) > n (12) and deficient when s(n) < n (every prime).
The aliquot sum calculator factors n into primes, builds σ(n) from the prime powers and subtracts n. Trial division only needs to test divisors up to √n, since every divisor d below √n pairs with n/d above √n; for n = 1012 that is at most 106 trial divisors.
Trial division by 2, 3 and numbers of the form 6k ± 1 up to √n: 220 = 2² × 5 × 11.
Multiply 1 + p + … + pe for each prime power: σ(220) = 7 × 6 × 12 = 504.
s(220) = 504 − 220 = 284.
Compare s(n) with n, test s(s(n)) = n for an amicable pair, and repeat for the aliquot sequence.
The aliquot sum formula is s(n) = σ(n) − n, where σ(n) is the product of (pe+1 − 1)/(p − 1) over the prime powers pe of n. The product form follows from one property: σ is multiplicative: σ(ab) = σ(a)σ(b) when a and b share no factor.
Write n = p1e1 p2e2 ⋯ pkek. Then:
There are 3 main types of numbers by aliquot sum: deficient, perfect and abundant, plus 3 special cases: primes, amicable numbers and sociable numbers. About 75.2% of whole numbers are deficient and about 24.8% are abundant; perfect numbers are rare, with only 4 below 10 million.
Examples: 1, 8, 9, 10, 97. Every prime and every prime power is deficient.
6, 28, 496, 8,128 and 33,550,336. Every known perfect number is even.
12, 18, 20, 24, 360. The smallest odd abundant number is 945, with s(945) = 975.
A prime p has only 1 as a proper divisor, so s(p) = 1.
220 and 284, 1,184 and 1,210, 2,620 and 2,924.
A loop of 3 or more numbers: 12,496 → 14,288 → 15,472 → 14,536 → 14,264 → 12,496.
To calculate an aliquot sum by hand, list every divisor of n up to √n with its partner n/d, drop n itself and add the rest. Here is s(36):
An aliquot sequence starts at n and applies s again and again: n, s(n), s(s(n)), … Every aliquot sequence studied so far does 1 of 3 things: it reaches a prime, then 1 and 0; it reaches a perfect number, amicable pair or sociable cycle and repeats; or it is still open.
The Catalan–Dickson conjecture (Eugène Catalan 1888, Leonard Dickson 1913) states that every aliquot sequence ends or cycles. The Guy–Selfridge counter-conjecture states that many sequences with even starts grow without bound. Neither has been proven.
Perfect, amicable and sociable numbers are the cycles of the aliquot sum: a perfect number is a cycle of length 1, an amicable pair a cycle of length 2 and a sociable group a cycle of length 3 or more.
Enter n, pick Aliquot sum, Aliquot sequence or Classify 1 to N, and press Calculate. The result card shows s(n) with the class, σ(n), the abundance and the prime factors; the tabs list every step, chart the values and table each proper divisor or sequence term.
Any whole number from 1 to 1012, such as 8,128 or 999,999,999,989.
Aliquot sum s(n), Aliquot sequence (with a step limit), or Classify 1 to N (N ≤ 1,000,000).
Sequence mode only: up to 200 steps; terms above 1012 stop the run.
Perfect, abundant or deficient, the amicable partner, the sequence outcome or the class counts.
Aliquot sums are used in number theory research, programming exercises, distributed computing projects and mathematics education. There are 4 common uses:
Aliquot sums of well-known numbers.
| n | Proper divisors | s(n) | Class | Calculator |
|---|---|---|---|---|
| 12 | 1, 2, 3, 4, 6 | 16 | Abundant | |
| 28 | 1, 2, 4, 7, 14 | 28 | Perfect | |
| 97 | 1 | 1 | Deficient (prime) | |
| 220 | 1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110 | 284 | Abundant, amicable | |
| 284 | 1, 2, 4, 71, 142 | 220 | Deficient, amicable | |
| 360 | 23 divisors | 810 | Abundant | |
| 945 | 15 divisors | 975 | Abundant (smallest odd) |
Try each one, then reveal the answer or solve it in the calculator.
Find the aliquot sum of 30 and classify 30.
Show that 496 is a perfect number.
Find s(1,184). Is 1,184 part of an amicable pair?
Write the aliquot sequence of 10.
Find the aliquot sum of 945, the smallest odd abundant number.
How many abundant numbers are there from 1 to 100?
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
An aliquot sum calculator is an online tool that adds the proper divisors of n to give s(n) = σ(n) − n. The calculator classifies n as perfect, abundant or deficient, finds amicable partners and follows the aliquot sequence.
The aliquot sum of 12 is 16: 1 + 2 + 3 + 4 + 6 = 16. 16 > 12, so 12 is the smallest abundant number.
σ(n) adds every divisor of n including n, and s(n) adds only the proper divisors, so s(n) = σ(n) − n. For n = 12, σ(12) = 28 and s(12) = 16.
No, 1 is not perfect. 1 has no proper divisors, so s(1) = 0 < 1 and 1 is deficient.
The first 4 perfect numbers are 6, 28, 496 and 8,128. The 5th is 33,550,336.
No, no odd perfect number is known, and none exists below 10<sup>1500</sup> (Pascal Ochem and Michaël Rao, 2012). Whether one exists is an open problem.
An amicable pair is 2 different numbers a and b with s(a) = b and s(b) = a. The smallest pair is 220 and 284.
No, nobody has proved that every aliquot sequence ends. Most sequences reach 0 or a cycle, but the sequence of 276 has passed 200 digits without ending.
The aliquot sum of every prime number is 1, since 1 is the only proper divisor of a prime. s(97) = 1.
The aliquot sum s(n) = σ(n) − n adds the proper divisors of n, and comparing s(n) with n sorts every number into deficient, perfect or abundant. The aliquot sum calculator factors n up to 1012, lists each proper divisor, finds amicable partners, follows aliquot sequences for up to 200 steps and counts each class up to 1,000,000.
Not sure which mode to pick? Answer 3 questions below.