WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Perfect Number Generator

number
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,
28=
2
2
×7
, so the proper divisors of
28
are
1
,
2
,
4
,
7
,
14
; because
1+2+4+7+14=28
,
28
is a perfect number. Letting
s(n)
be the sum of the proper divisors of
n
, the points plotted are
(n,n-s(n))
, so blue dots fall above deficient numbers, red dots under abundant numbers, and large black dots on perfect numbers.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.