From 6a35362160fc7fa6da230d8885881d721e0cd4bb Mon Sep 17 00:00:00 2001 From: IlyaIskra <70522988+IlyaIskra@users.noreply.github.com> Date: Fri, 5 Feb 2021 10:33:12 +0300 Subject: [PATCH] Correct algorithm definition | ArmstrongNumber --- Maths/ArmstrongNumber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maths/ArmstrongNumber.js b/Maths/ArmstrongNumber.js index 71f448a7f..a3ab78299 100644 --- a/Maths/ArmstrongNumber.js +++ b/Maths/ArmstrongNumber.js @@ -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. *