Skip to content

Commit 6a35362

Browse files
authored
Correct algorithm definition | ArmstrongNumber
1 parent ce7e7e2 commit 6a35362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/ArmstrongNumber.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Author: dephraiim
33
* License: GPL-3.0 or later
44
*
5-
* An Armstrong number is equal to the sum of the cubes of its digits.
5+
* An Armstrong number is equal to the sum of its own digits each raised to the power of the number of digits.
66
* For example, 370 is an Armstrong number because 3*3*3 + 7*7*7 + 0*0*0 = 370.
77
* An Armstrong number is often called Narcissistic number.
88
*

0 commit comments

Comments
 (0)