Loading…

Perfect Abundant and Deficient Numbers

Math Algebra • Numbers

View all topics

Classify a positive integer as perfect, abundant, or deficient by comparing the number with the sum of its proper divisors.

s(n) = sum of proper divisors Perfect: s(n) = n Abundant: s(n) > n Deficient: s(n) < n

Number input

Supported range: \(1\le n\le 10^8\). Proper divisors are positive divisors less than \(n\). The number \(1\) is deficient because it has no positive proper divisors, so \(s(1)=0\).

Quick examples

Ready
Enter a positive integer, then click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a proper divisor?

A proper divisor of n is a positive divisor that is smaller than n. The number n itself is not included.

What is s(n)?

s(n) is the sum of all positive proper divisors of n.

How do you know whether a number is perfect?

A number is perfect if the sum of its proper divisors equals the number itself. For example, 28 is perfect because 1 + 2 + 4 + 7 + 14 = 28.

How do you know whether a number is abundant?

A number is abundant if the sum of its proper divisors is greater than the number. For example, 12 is abundant because 1 + 2 + 3 + 4 + 6 = 16, and 16 is greater than 12.

How do you know whether a number is deficient?

A number is deficient if the sum of its proper divisors is less than the number. For example, 15 is deficient because 1 + 3 + 5 = 9, and 9 is less than 15.

Is 1 perfect, abundant, or deficient?

The number 1 is deficient because it has no positive proper divisors, so s(1) = 0, and 0 is less than 1.

Are prime numbers perfect?

No. Every prime number has only one positive proper divisor, 1, so every prime number is deficient.

Why can divisors be found by checking only up to sqrt(n)?

Divisors come in pairs. If d divides n, then n/d is also a divisor. One member of each divisor pair is less than or equal to sqrt(n), so checking up to sqrt(n) is enough.

What is the aliquot difference?

The aliquot difference is s(n) - n. It is zero for perfect numbers, positive for abundant numbers, and negative for deficient numbers.

What is sigma(n)?

sigma(n), written σ(n), is the sum of all positive divisors of n, including n itself. It satisfies σ(n) = s(n) + n.