**New course!**Every coder should learn

**Generative AI!**

+ 4

# What is Armstrong number

2 Answers

+ 3

- Take a number and let the number of digits in it be *n*
- now raise every digit of the original number to power *n*
- add all the resultant numbers and if you get the original number after addition, then the number is Armstrong number
For example
Number = 153
n = 3 { as it is a three digit number)
1³ + 5³ + 3³
= 1 + 125 + 27
= 153 { and as it is same as original number so 153 is armstrong number )

+ 3

A number that is equal to sum of cubes of its digit..
E.g. 407
4³+0³+7³=407