跳转到主要内容
Calcton

Narcissistic Numbers Calculator

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

中文版:水仙花数在线计算器

Narcissistic Numbers Calculator
正整数 n(1 ≤ n ≤ 10^6,同时枚举不超过 n 的水仙花数)

原理:水仙花数(narcissistic number / plus-perfect number)等于其**每一位数字的位数次幂之和**:d 位数的每一位取 d 次方再求和。153 = 1³ + 5³ + 3³ 是最著名的三位例,连同 370、371、407 构成「水仙花四姐妹」。一位数 1..9 平凡地满足;四位的有 1634、8208、9474。水仙花数在每一位数长度上都是**有限个**(d 位最多 10^d 个组合),全数轴上共 88 个(最大的有 39 位),枚举上界 10^6 内是 20 个。

步骤:输入 n,按位数展开每一项幂并求和对拍;枚举列表逐数重算幂和(1..10^6 全量约 20 万次幂运算,瞬时完成)。

示例:153 的展开 = 1³ + 5³ + 3³ = 153(是);100 的展开 = 1³ + 0³ + 0³ = 1(否);不超过 10000 的水仙花数 = 1、2、3、4、5、6、7、8、9、153、370、371、407、1634、8208、9474。

注意事项:幂次取决于**总位数**而不是数字本身(370 的 0³ 也计入);狭义「水仙花」常专指三位(153 等),广义定义覆盖所有位数;枚举上限 10^6,更高的位数请直接查表(全表 88 个已由数论穷举完成);数字根与数位和工具处理的是 1 次幂情形。

相关:数位和与数字根工具处理逐位运算的基础;快乐数工具是「平方幂和迭代」的近亲;幂运算与质因数分解工具覆盖幂的计算;阿姆斯特朗数是水仙花数的别名(以 Michael F. Armstrong 命名)。

How to use the Narcissistic 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 Narcissistic 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.

搜索计算器

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