Armstrong number is a number that is equal to the sum of the digits raised to the power of the number of digits. So for example:
371 = 3^3 + 7^3 + 1^3 = 27 + 343 + 1 = 371
There are other such numbers as well: 150, 370, 407, 8208, 1741725, etc.
According to Wikipedia: Narcissistic Number or Armstrong Number is a number that is the sum of its own digits each raised to the power of the number of digits. This definition depends on the base b of the number system used, e.g., b = 10 for the decimal system or b = 2 for the binary system.
371 = 3^3 + 7^3 + 1^3 = 27 + 343 + 1 = 371
There are other such numbers as well: 150, 370, 407, 8208, 1741725, etc.
According to Wikipedia: Narcissistic Number or Armstrong Number is a number that is the sum of its own digits each raised to the power of the number of digits. This definition depends on the base b of the number system used, e.g., b = 10 for the decimal system or b = 2 for the binary system.