Abundant Number Calculator
Check whether the divisors of an integer add to more than twice the number itself.
What it does
An abundant number is one whose positive divisors add to more than twice the number itself. Equivalently, the proper divisors, meaning all divisors except the number, add to more than the number. The first example is 12, whose divisors total 28 against a target of 24.
The idea goes back to ancient Greek mathematics, where numbers were classified as perfect, abundant or deficient according to how their divisors compared with the whole. Nicomachus described the three types in his work on arithmetic.
The difference between the divisor sum and twice the number is called the abundance or excess. A positive excess means abundant, zero means perfect and a negative value means deficient. This page reports that exact difference.
The divisor sum is computed from the prime factorization using the standard product formula, not by listing divisors. That keeps the calculation fast and exact up to one million.
The tool also distinguishes perfect numbers explicitly, so an input with zero excess is not misreported as abundant.
How to use
- Enter a whole number n from 1 to 1,000,000.
- Read the classification in the main result box.
- Check the total of all divisors beside it.
- Use the excess to see how far the number is from perfect.
- The default n = 12 reproduces the worked example.
- Try n = 6 to see a perfect number with zero excess.
Formula
- n
- The integer being classified.
- sigma(n)
- The sum of all positive divisors of n.
- excess
- sigma(n) minus 2n.
For a prime power p^a the divisor sum is (p^(a+1) - 1)/(p - 1), and the contributions multiply across distinct primes. Because the divisor sum includes n itself, comparing it with 2n is the same as comparing the proper divisor sum with n.
Worked example
Example: n = 12
The page opens with n = 12.
- Factor 12 as 2^2 x 3.
- The prime power 2^2 contributes 1 + 2 + 4 = 7.
- The prime 3 contributes 1 + 3 = 4.
- Multiply the contributions: 7 x 4 = 28.
- Compute twice the number: 2 x 12 = 24.
- The excess is 28 - 24 = 4, which is positive.
- The tool reports sigma 28, excess 4, and Abundant.
Reference table
| n | sigma(n) | Excess | Classification |
|---|---|---|---|
| 6 | 12 | 0 | Perfect |
| 10 | 18 | -2 | Deficient |
| 12 | 28 | 4 | Abundant |
| 18 | 39 | 3 | Abundant |
| 20 | 42 | 2 | Abundant |
Limits
- Only positive integers up to one million are accepted.
- The divisor sum includes n itself.
- The tool classifies one number at a time.
- Values are exact integers with no rounding.
Common mistakes
- Forgetting that the divisor sum includes n itself.
- Comparing with n rather than twice n.
- Using the product of divisors instead of the sum.
- Reporting zero excess as abundant.
- Counting only prime divisors.
Try it yourself
Quick checks. Answers sit tucked under each question.
Is 12 abundant?
Yes. Its divisors sum to 28, giving an excess of 4 over 24.
Is 6 abundant?
No. Its divisors sum to 12, exactly twice 6, so it is perfect.
What is the excess for 10?
18 - 20 = -2, so 10 is deficient.
Questions
What is abundance?
It is the amount by which the divisor sum exceeds twice the number.
What is the first abundant number?
Twelve, with divisor sum 28.
Are most numbers abundant or deficient?
Both are common, though abundant numbers have positive asymptotic density.
Is every multiple of an abundant number abundant?
Yes, because the divisor sum grows at least proportionally.
Are results exact?
Yes. The product formula uses integers only.
What input range is accepted?
Whole numbers from 1 through 1,000,000.