Correct algorithm definition | ArmstrongNumber

This commit is contained in:
IlyaIskra
2021-02-05 10:33:12 +03:00
committed by GitHub
parent ce7e7e2954
commit 6a35362160

View File

@ -2,7 +2,7 @@
* Author: dephraiim
* License: GPL-3.0 or later
*
* 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.
* For example, 370 is an Armstrong number because 3*3*3 + 7*7*7 + 0*0*0 = 370.
* An Armstrong number is often called Narcissistic number.
*