# Perfect Number Checker

σ(n) = 2n ⟺ perfect. Factorization-based σ(n), proper-divisor sum, deficient/perfect/abundant classification, abundancy index, Euclid–Euler form. n ≤ 10¹².

> Canonical page: https://elysiatools.com/en/tools/perfect-number-checker

- **Category:** Math & Numbers

- **Keywords:** perfect number, aliquot sum, abundant number, deficient number, abundancy index, divisors, mersenne prime, number theory

## Overview

The Perfect Number Checker analyzes integers up to 10¹² to determine whether they are perfect, deficient, or abundant based on prime factorization and proper divisor sums. It computes the sum-of-divisors function σ(n), the abundancy index σ(n)/n, identifies Euclid–Euler form parameters for even perfect numbers, and can list proper divisors.

## Inputs

- **Number n** (text): 1 ≤ n ≤ 10¹² (trial-division factorization bound).
- **Output detail** (select)

## When to use

- Verifying whether a given integer equals the sum of its proper divisors.
- Classifying integers up to 10¹² as deficient, perfect, or abundant alongside their abundancy index.
- Deconstructing known even perfect numbers into their Euclid–Euler form 2^(p−1)·(2^p − 1) and associated Mersenne primes.

## How it works

- Enter an integer n between 1 and 10¹² and select whether to output classification statistics only or include the list of proper divisors.
- The tool performs trial-division prime factorization to determine prime factors and their exponents.
- Using multiplicative properties, it calculates σ(n), derives the proper-divisor sum (σ(n) − n), and determines the abundancy index.
- For perfect numbers, it matches the value against the Euclid–Euler form to display prime exponent p and corresponding Mersenne prime (2^p − 1).

## Use cases

- Checking number theory homework problems involving aliquot sums and divisor functions.
- Exploring properties of small abundant numbers and calculating exact abundancy indices.
- Studying Mersenne primes and validating even perfect numbers within the range up to 10¹².

## Frequently asked questions

### What is a perfect number?

A perfect number is a positive integer that equals the sum of its proper divisors, meaning σ(n) = 2n.

### What is the difference between deficient, perfect, and abundant numbers?

A number is deficient if the sum of its proper divisors is less than n, perfect if equal to n, and abundant if greater than n.

### What is the maximum value of n supported?

The tool supports integers n from 1 up to 10¹² (1,000,000,000,000).

### When does the tool list individual proper divisors?

Proper divisors are listed when the 'Output detail' option is set to include divisors and the total proper divisor count is 200 or fewer.

### How does the tool identify the Euclid–Euler form?

For even perfect numbers, it expresses n as 2^(p−1)·(2^p − 1), verifying the exponent p and Mersenne prime factor.

## Related tools

- [Dimensional Analysis Unit Cancellation Tutor](https://elysiatools.com/en/tools/dimensional-analysis-unit-cancellation-tutor): Step-by-step factor-label unit cancellation with inverted-factor diagnosis and optional student-answer checking.
- [PERT Network Analyzer (Expected Duration & Variance)](https://elysiatools.com/en/tools/pert-network-analyzer): Three-point PERT estimates: te and σ² per activity, critical path, expected project duration and variance, and normal completion probability for a target time.
- [Prime Number Checker](https://elysiatools.com/en/tools/prime-number-checker): Check if a number is prime (a natural number greater than 1 that has no positive divisors other than 1 and itself)
- [M/M/c Multi-Server Queue Calculator](https://elysiatools.com/en/tools/queuing-theory-mmc): Steady-state M/M/c metrics with the Erlang-C formula: offered load, P0, Pw, Lq, L, W, Wq plus Little's-law cross-checks; unstable λ ≥ cμ inputs are rejected.
- [Wilson's Theorem Primality Checker](https://elysiatools.com/en/tools/wilson-theorem-checker): (n−1)! ≡ −1 (mod n) ⟺ n is prime. Exact factorial residue for n ≤ 10⁷, Miller–Rabin cross-check, composite factorial law, optional running-products trace.
- [Prime Factorization Calculator](https://elysiatools.com/en/tools/prime-factorization): Factor any integer into its prime factors with detailed analysis and mathematical properties.
- [Quadratic Residue Checker (Legendre / Jacobi Symbol)](https://elysiatools.com/en/tools/quadratic-residue-checker): Jacobi/Legendre symbol with deterministic Miller–Rabin primality, Tonelli–Shanks square roots for prime moduli, and brute-force resolution for small composite moduli.
- [Three-Phase Short-Circuit Current Calculator (IEC 60909)](https://elysiatools.com/en/tools/short-circuit-current-calculator): Estimate the three-phase symmetric short-circuit current using the IEC 60909 far-from-generator method: I"_k = c·U_n/(√3·|Z|) and i_p = κ·√2·I"_k with κ = 1.02 + 0.98·e^(−3R/X). Source impedance is the series sum of transformer and line R/X.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [EU VAT Number Samples](https://elysiatools.com/en/samples/eu-vat): Collection of EU VAT numbers from all member states for validation testing
- [Global Phone Number Samples](https://elysiatools.com/en/samples/global-phone): Collection of phone numbers from various countries for validation testing
- [Number & Currency Samples](https://elysiatools.com/en/samples/number-currency-samples): Text containing various number and currency formats for testing currency extraction
