All Tools
Categories
Number Tools 116 XML Tools 64 Email Marketing Tools 55 Import-Export Tools 50 JSON Tools 45 Text Tools 13 Shipping Freight Tools 5 Calculator 4
About Contact Privacy

Perfect Number Test

Check whether a number is perfect: equal to the sum of its proper divisors. Exact BigInt sigma computation, prime factorization, first known perfect numbers 6, 28, 496, 8128, 33550336..., batches up to 10,000. Free, runs in your browser.

Number(s)
Perfect exactly when sigma(n) = 2n - sigma computed from the prime factorization, BigInt-exact up to a trillion.
Verdicts

          

About Perfect Number Test

Six is the first number that sums its own parts: 6 = 1 + 2 + 3. Twenty-eight does the same with more pieces: 28 = 1 + 2 + 4 + 7 + 14. Numbers with that lucky equality are perfect - and they are staggeringly rare. The known ones run 6, 28, 496, 8128, 33550336, 8589869056... every one even, every one of the Euclid-Euler form 2^(p-1) times a Mersenne prime 2^p - 1, and every one exact, because sigma is computed from prime factors, never estimated.

Perfect Number Test factorizes any value up to a trillion by trial division, computes sigma(n) as the product (p^(e+1) - 1)/(p - 1), and reports one of three verdicts - perfect, abundant or deficient - with the full arithmetic: factorization, sigma, proper-divisor sum and, for perfect inputs, the matched Mersenne exponent. Batches of 10,000 run in one pass, all in the browser.

Features

  • Exact sigma: Divisor sums from prime factorizations - (p^(e+1) - 1)/(p - 1) per prime, never an estimate.
  • Three truthful verdicts: Perfect, abundant or deficient, shown with the comparison that decides.
  • Full arithmetic row: Factorization, sigma, proper sum, and excess or deficit on every line.
  • Mersenne form detector: Even perfects report their p with 2^(p-1)(2^p - 1).
  • Batch testing: Up to 10,000 values per run, each with independent verdict and detail.
  • Trillion ceiling: Inputs of up to twelve digits are fully covered by the prime table.
  • Copy or download: Verdict list and numbers list, both one-click exports.
  • Reference tab: The known perfect numbers, the Euclid-Euler theorem, open odd cases.
  • Free and private: Everything runs locally; nothing is uploaded or stored.

How to Use

  1. Enter numbers - one per line, or a batch separated by commas or spaces.
  2. Read the verdict badge - perfect, abundant, or deficient.
  3. See the sigma arithmetic - sigma, proper-divisor sum and the deciding comparison.
  4. Catch the exponent - even perfects display their Mersenne p.
  5. Copy or download the results for research, teaching or further analysis.

Examples

Example 1 - The first two. Enter 6 and 28. Both return PERFECT: sigma(6) = 12 = 2 x 6 and sigma(28) = 56 = 2 x 28, with proper sums 6 and 28.

Example 2 - The giants. Enter 33550336 and 8589869056. The tool factorizes both instantly and reports PERFECT with the exponents 13 and 17 - 2^12(2^13 - 1) and 2^16(2^17 - 1).

Example 3 - Near misses. Enter 12 and 16. 12 is abundant: sigma is 28, proper sum 16 beats 12. 16 is deficient: sigma is 31, proper sum 15 misses by one.

Example 4 - Nothing is assumed. Enter 945 and 2048. 945 is abundant and odd; 2048 is deficient - sigma 4095, proper 2047, short by one. Both verdicts come from computed factors.

Example 5 - Batch audit. Paste 6, 12, 28, 45, 496, 1000, 8128, 945, 10089 together: the badges mix perfect, abundant and deficient with factorization detail on every row.

Benefits

  • Proven verdicts: Every classification rests on exact sigma arithmetic, not tables.
  • Rare-number focus: Full support for every known perfect below a trillion, with p-forms shown.
  • Transparent math: Factorization to sigma to comparison - the whole proof on the row.
  • Batch speed: Ten thousand candidates classified per run with per-line detail.
  • Open-problem aware: Odd inputs get computed answers, with the honest status in the reference.
  • Private and free: Everything runs in the browser; nothing is uploaded, stored or logged.

Frequently Asked Questions

What is a perfect number?
A positive integer equal to the sum of its proper divisors, the divisors smaller than itself. The first ones: 6 = 1 + 2 + 3, 28 = 1 + 2 + 4 + 7 + 14, then 496, 8128, 33550336...
How is the test performed here?
By computing sigma, the sum of all divisors, from the prime factorization: sigma(n) is the product over primes p of (p^(e+1) - 1)/(p - 1). A number is perfect exactly when sigma(n) = 2n.
How is the factorization found?
Trial division by every prime up to one million - the square root ceiling for inputs up to a trillion. Values beyond 12 digits are rejected with a clear message.
How large can the tested numbers be?
Up to 999,999,999,999 - twelve digits. That covers every known perfect number below the trillion mark, including 8589869056 and 137438691328, with certainty.
Why is every even perfect number special?
Euclid showed that when 2^p - 1 is prime (a Mersenne prime), then 2^(p-1)(2^p - 1) is perfect; Euler proved there are no other even perfect numbers. The tool reports that p-form directly.
Are there odd perfect numbers?
None is known, and none is known to exist - the oldest open question in mathematics. The test here handles odd inputs honestly: computed, not assumed.
Can I check a batch?
Yes. Paste up to 10,000 numbers separated by new lines, commas or spaces. Each value gets its own verdict line with factorization, sigma and classification.
Is anything stored or uploaded?
No. Factorization and sigma run entirely in the browser. Nothing is sent to a server, saved or logged. Copy or download before closing the tab.