Perfect Numbers Calculator
Free online perfect numbers calculator. Enter your values and get instant results with the formula, step-by-step working, a worked example and FAQs — everything runs locally in your browser on Calcton, no signup required.
中文版:完全数在线计算器
原理:完全数等于其全部真因子之和,等价于因子和函数 σ(n) = 2n。欧几里得在《几何原本》第九卷证明:若 2^p − 1 是素数(梅森素数),则 2^(p−1)(2^p − 1) 是完全数;两千年后欧拉证明反方向——所有偶完全数都有且仅有这一形式。σ 的乘性给出验证:σ(2^(p−1)(2^p − 1)) = (2^p − 1)·2^p = 2n。前四个完全数 6 = 1+2+3、28 = 1+2+4+7+14、496、8128 分别对应 p = 2, 3, 5, 7;第 5 个 33550336 对应 p = 13。完全数是否无穷多个、是否存在奇完全数,至今未解。
步骤:输入搜索上限,程序对每个 n ≥ 2 用 O(√n) 试除计算 σ(n),逐个检验 σ(n) = 2n,并给出每个完全数对应的欧拉指数 p。
示例:上限 10000 时得到 6, 28, 496, 8128 共 4 个;σ(8128) = 16256.000000000000 = 2 × 8128;欧拉公式回代:p = 7 给出 8128。
注意事项:上限最大 200000(浏览器实时枚举的性能边界;200000 以内完全数只有前 4 个);6 是唯一的完满位似(各位数字和也为真因子和的特例);本工具为偶完全数枚举——奇完全数若存在必大于 10^1500,不在枚举射程内。
相关:梅森素数工具给出 2^p − 1 的素性检验;因子分解工具展示 σ 函数的算术;亲和数 220 与 284 是 σ 函数的另一个经典常数对。
How to use the Perfect Numbers Calculator
- Fill in the inputs with your own numbers — every field shows what it expects.
- The result updates instantly as you type; no "Calculate" click needed.
- Read the result card for the main figure, the step-by-step formula, and practical notes.
Frequently asked questions
Is the Perfect Numbers Calculator free?
Yes — all math calculators on Calcton are free, with no sign-up required. Your inputs are processed in your browser and never sent to a server.
Is there a Chinese version of this tool?
Yes. Use the Chinese version link above — it is the same calculator with the interface in Simplified Chinese.
References
Formulas and benchmarks used by this calculator follow these published sources.
KevinContent LeadCalcton Editorial Team · Last updated 2026-10-01
Kevin maintains Calcton's formula verification and content: every calculator cites the standard it implements, worked examples are recomputed programmatically, and health benchmarks follow WHO and international guidelines.
Related calculators
More in this category: Math calculators
About math calculators
Free online math calculators for algebra, statistics, number theory and everyday arithmetic — from quadratic equations and matrices to percentages, fractions and prime factorization, each with step-by-step formulas.