Arithmetic & Number Theory

Perfect Number Check

True if n equals the sum of its proper divisors.

Formula

Formula
n = Σ proper divisors

Variables

SymbolDefinitionType & rangeUnitsRole
n positive integer integer (ℤ) — input

Try it yourself

Interactive calculator
Result
—

Worked examples

Example 1
Givenn = 28
ResultTrue
Example 2
Givenn = 12
ResultFalse