Which of the following is an Armstrong number?(Armstrong number is a number that is equal to the sum of cubes of its digits.) 123 333 407 663
Question
Which of the following is an Armstrong number?
(Armstrong number is a number that is equal to the sum of cubes of its digits.)
123
333
407
663
Solution
To find out which of the given numbers is an Armstrong number, we need to check each number individually.
-
123: The cube of each digit is 1^3=1, 2^3=8, 3^3=27. The sum of these is 1+8+27=36, which is not equal to 123. So, 123 is not an Armstrong number.
-
333: The cube of each digit is 3^3=27. The sum of these is 27+27+27=81, which is not equal to 333. So, 333 is not an Armstrong number.
-
407: The cube of each digit is 4^3=64, 0^3=0, 7^3=343. The sum of these is 64+0+343=407, which is equal to 407. So, 407 is an Armstrong number.
-
663: The cube of each digit is 6^3=216, 6^3=216, 3^3=27. The sum of these is 216+216+27=459, which is not equal to 663. So, 663 is not an Armstrong number.
Therefore, the only Armstrong number in the list is 407.
Similar Questions
Complete the code segment to check whether the number is an Armstrong number or not.Armstrong Number:
Write a python program to check the given number is Armstrong or not usingwhile loop.
What is the octal equivalent of the binary number:10111101ans.275675573572 Previous Marked for Review Next
Which of the following numbers is divisible by 3?Group of answer choices171263122593
What is the octal representation of the binary number 101110?Group of answer choices46263656
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.