Armstrong numbers
1 min readAug 28, 2020
Dear reader,
Stick to your doubt and try to analyse the scenario that goes on behind , to grab an unclouded answer/solution for your queries.
What are Armstrong numbers?????
Well basically if you want to TAG a number(s) or emphasize a number as an Armstrong number , you should stick to the following constraints :-
- When the number is equal to the resultant number formed by the sum of its own digits each raised to the power of the number of digits.
- And the value of the power raised purely depends upon the count of the digits in the base number.
For example :-
- 4-digit :- 9474 is an example for a 4-digit Armstrong number because 9⁴+4⁴+7⁴+4⁴=9474.
- 3-digit :- 153 is an example for a 3-digit Armstrong number because 1³+5³+3³=153.
I hope that’s understood.
-Nishanth.