跳转到主要内容
Calcton

Weird Numbers Calculator

Free online weird 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.

中文版:怪异数判定与盈余计算器

Weird Numbers Calculator
正整数 n(1 ≤ n ≤ 50000,同时枚举不超过 n 的怪异数)

原理:怪异数(weird number)同时满足两个矛盾的条件——它是盈数(真因子和超过 n),却**不能**把真因子的任何子集加总成 n。最小的怪异数是 70:真因子 1、2、5、7、10、14、35 总和 74(盈 4),但 70 无法被任何子集凑出。第二个怪异数要跳到 836,第三个 4030——它们比想象中稀少得多。所有已知的怪异数都是偶数;存在奇怪异数吗?这是未解决问题(已知若存在则大于 10^21)。怪异数不可能是半完全数,也永远不会是完美数;把怪异数乘以质数倍后仍是怪异数(倍率规则保持「盈而不凑」)。

步骤:输入 n,先算盈余量与半完全判定(DP),二者合成怪异数判定;再枚举不超过 n 的前 10 个怪异数(枚举内每个数做一次 O(因子数) 级 DP)。

示例:70 盈余量 = 4.000000000000、isWeird = 是;836 盈余量 = 8.000000000000;12 盈余量 = 4.000000000000 但可凑(非怪异);不超过 5000 的怪异数 = 70、836、4030。

注意事项:枚举上限 50000(超过 10^7 后怪异数间隔急剧拉大);判定依赖 DP 与盈余两个条件缺一不可——只看盈余会把 12、18 误判进来;70 是「最小反例教学数」:它是盈数却连一个子集分解都找不到。

相关:半完全数工具给出「能凑」的那一侧;盈数工具与实用数工具刻画相邻分类;因子和工具展示 σ(n) 的计算;无浪费数(本站订阅浪费工具)是「凑不出预算」的生活版类比。

How to use the Weird Numbers Calculator

  1. Fill in the inputs with your own numbers — every field shows what it expects.
  2. The result updates instantly as you type; no "Calculate" click needed.
  3. Read the result card for the main figure, the step-by-step formula, and practical notes.

Frequently asked questions

Is the Weird 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.

  1. dlmf.nist.gov
  2. mathworld.wolfram.com
Kevin's profile

KevinContent LeadCalcton Editorial Team · Last updated 2026-10-02

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.

搜索计算器

搜索全站计算器、分类与页面,回车直达