Perfect Number Calculator: Divisor Sum & Euclid Formula

Check if a number is perfect, deficient or abundant using the sum of proper divisors. Discover Euclid's formula and Mersenne prime connections.

1-Click Presets & Famous Numbers
Includes perfect, abundant & deficient cases

Input Number & Search Range

Perfect Number VerifiedEuclid Prime p = 3

28 is a Perfect Number!

The aliquot sum of proper divisors strictly equals 28. It satisfies Euclid's classical criterion: s(n) = n.

Target Number (n)

28
Number tested

Aliquot Sum s(n)

28
Sum of proper divisors

Abundancy Index I(n)

2.0000
σ(n) / n (2.0 = Perfect)

Proper Divisors Count

5
Factors strictly < n

Number vs Divisors Sum

Ratio: 100.0%

Equal bar lengths indicate a perfect number. Divisor sum exceeding target indicates abundance.

Proper Divisors Contribution

5 proper divisors

Distribution of the largest proper divisors making up the aliquot sum.

Perfect Numbers in Range (2 to 1000)

3 perfect numbers identified
6
Click to test
28
Click to test
496
Click to test

Complete Divisor Decomposition & Factor Pairs

Total Divisors Sum: 28
#Proper DivisorComplement FactorCumulative Aliquot Sum
111 × 28 = 281
222 × 14 = 283
344 × 7 = 287
477 × 4 = 2814
51414 × 2 = 2828

Euclid-Euler Theorem: Even Perfect Numbers & Mersenne Primes

Every even perfect number takes the form 2^(p-1) × (2^p - 1) where 2^p - 1 is prime.

Prime pMersenne Prime (2^p - 1)Euclid FormulaPerfect NumberDigitsDiscovered By
p = 232¹ × 361Ancient Greeks (Pythagoreans)
p = 372² × 728 Match2Ancient Greeks
p = 5312⁴ × 314963Ancient Greeks
p = 71272⁶ × 1278,1284Nicomachus (~100 CE)
p = 138,1912¹² × 8,19133,550,3368Medieval manuscript (~1456)
p = 17131,0712¹⁶ × 131,0718,589,869,05610Pietro Cataldi (1588)
p = 19524,2872¹⁸ × 524,287137,438,691,32812Pietro Cataldi (1588)
p = 312,147,483,6472³⁰ × (2³¹ - 1)2,305,843,009,213,693,95219Leonhard Euler (1772)

Variables Explained

n

The positive integer under inspection (tested for perfection, abundance, or deficiency).

s(n) (Aliquot Sum)

The sum of all proper divisors of n, excluding the number n itself.

σ(n) (Divisor Function)

The sum of all positive divisors of n, including n (σ(n) = s(n) + n).

Abundancy Index I(n)

The ratio σ(n) / n. If I(n) = 2, n is perfect; if I(n) < 2, n is deficient; if I(n) > 2, n is abundant.

M_p = 2^p - 1

The Mersenne number for prime exponent p. When M_p is prime, 2^(p-1) × M_p generates an even perfect number.

Important Notes

•

Exact Integer Verification: This calculator uses deterministic trial factorization to compute exact proper divisors for numbers up to 100,000,000. Range searches above 10,000 are capped to preserve browser responsiveness.

•

Theoretical Mathematics: All discovered perfect numbers to date are even and generated by Mersenne primes. The existence of odd perfect numbers remains one of the oldest unsolved open problems in mathematics.

Frequently Asked Questions

Quick Tips

  • 1Double-check your input values for accuracy
  • 2Use the correct units of measurement
  • 3Round results to appropriate decimal places
  • 4Consider the context when interpreting results