Perfect Number Generator
Perfect Number Generator
A deficient number is a number that is greater than the sum of its proper divisors, a perfect number is equal to the sum of its proper divisors, and an abundant number is less than the sum of its proper divisors. For example, , so the proper divisors of are , , , , ; because , is a perfect number. Letting be the sum of the proper divisors of , the points plotted are , so blue dots fall above deficient numbers, red dots under abundant numbers, and large black dots on perfect numbers.
28=×7
2
2
28
1
2
4
7
14
1+2+4+7+14=28
28
s(n)
n
(n,n-s(n))