We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce7e7e2 commit 6a35362Copy full SHA for 6a35362
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