Perfect, Abundant and Deficient Number Calculator

Classify a number as perfect, abundant or deficient from the sum of its proper divisors, with the full divisor list. Let s(n) be the sum of the proper divisors. Example: with number 28, the result is Classification = Perfect; Sum of proper divisors (aliquot sum) = 28.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

How do you use the Perfect, Abundant and Deficient Number Calculator?

Enter a whole number up to one trillion. The calculator lists its proper divisors (all divisors except the number itself), adds them and compares the sum with the number to classify it as perfect, abundant or deficient.

What formula does the Perfect, Abundant and Deficient Number Calculator use?

Let s(n) be the sum of the proper divisors. If s(n) = n the number is perfect, if s(n) > n it is abundant and if s(n) < n it is deficient. The even perfect numbers are exactly 2^(p−1)(2^p − 1) where 2^p − 1 is a Mersenne prime.

Worked example: Number 28

For 28 the proper divisors are 1, 2, 4, 7 and 14, and 1 + 2 + 4 + 7 + 14 = 28, so 28 is perfect. For 12 they sum to 16 (abundant), and for 15 they sum to 9 (deficient).

With the default values the calculator returns Classification = Perfect; Sum of proper divisors (aliquot sum) = 28; Proper divisors = 1, 2, 4, 7, 14; Difference from n = 0.

Where Is This Calculation Used?

Perfect numbers fascinated Greek mathematicians: 6, 28, 496 and 8128 were known to Euclid. Whether any odd perfect number exists is an open problem. Abundant and deficient numbers describe how “rich” a number is in divisors; every prime is deficient with s(p) = 1.

The first four perfect numbers (6, 28, 496 and 8128) were known to the ancient Greeks, and the fifth, 33,550,336, was recorded in the 15th century. Only a few dozen are known today, all even and all tied to Mersenne primes. Amicable pairs such as 220 and 284, where each number is the sum of the other’s proper divisors, are a close relative of perfect numbers.

What are the most common mistakes with the Perfect, Abundant and Deficient Number Calculator?

  • Including the number itself in the divisor sum.
  • Forgetting divisor 1.
  • Assuming all even numbers are abundant; 2, 4, 8 and all powers of 2 are deficient.

What Is the Tested Example for the Default Values?

This example is computed by the same code that powers the calculator above, so you can compare it with your own numbers or a textbook answer.

Input: Number28
ClassificationPerfect
Sum of proper divisors (aliquot sum)28
Proper divisors1, 2, 4, 7, 14
Difference from n0

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is a perfect number?

A number equal to the sum of its proper divisors, such as 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14.

What is the smallest abundant number?

12, whose proper divisors sum to 16.

Are there odd perfect numbers?

None has ever been found, and whether one exists is an unsolved problem.