Perfect Number Checker
Check whether n equals the sum of its proper divisors.
About this tool
Enter a number to check whether its proper divisors sum to itself. 28 is perfect: 1 + 2 + 4 + 7 + 14 = 28.
How to use
How it works
Proper divisors are all divisors except the number itself. If they add to less than n the number is deficient, if more it is abundant, and if exactly n it is perfect. Every even perfect number has the form 2^(p−1)(2^p − 1) where 2^p − 1 is prime, which gives 6, 28, 496, 8128, 33,550,336.
n is perfect ⇔ σ(n) − n = n
Worked example
An abundant number
- Input
- n = 12
- Output
- not perfect
- Walkthrough
- Proper divisors of 12: 1 + 2 + 3 + 4 + 6 = 16, which is more than 12, so 12 is abundant.
Limitations
- The tool answers perfect or not perfect only; it does not label deficient or abundant.
- Only the checker is provided, not a search for new perfect numbers.
Questions
Is 28 a perfect number?
Is 12 a perfect number?
Is 8128 a perfect number?
Is 945 a perfect number?
Features
- Instant check
- Large numbers
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Derivative as a concept
Khan Academy
When general calculators hand off to calculus tools.
Watch on YouTubeVariables, expressions, and equations
Khan Academy
Expression language for scientific and expression calculators.
Watch on YouTube
- Geometry Index
Math is Fun
Shape and formula index for geometry calculators.
- Order of Operations
Math is Fun
PEMDAS/BODMAS when expression calculators surprise you.