Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eaed625 + 6a35362 commit 29e1074Copy full SHA for 29e1074
1 file changed
Maths/ArmstrongNumber.js
@@ -2,7 +2,7 @@
2
* Author: dephraiim
3
* License: GPL-3.0 or later
4
*
5
- * An Armstrong number is equal to the sum of the cubes of its digits.
+ * An Armstrong number is equal to the sum of its own digits each raised to the power of the number of digits.
6
* For example, 370 is an Armstrong number because 3*3*3 + 7*7*7 + 0*0*0 = 370.
7
* An Armstrong number is often called Narcissistic number.
8
0 commit comments