Find all three-digit numbers with non-zero first digit that are equal to the sum of the cubes of their digits.(FORTON)
Ans: There is only 4 three-digit number that is equal to the sum of the cubes of their digits.
Numbers are:
153, 370, 371, and 407
Procedure:
The three-digit numbers with a non-zero first digit are from 100 to 999.
To find all the three-digit numbers with non-zero first digit that are equal to the sum of the cubes of their digits, we can run a loop from 100 to 999 and check each number whether the number satisfies the property or not.
Here an algorithm to find the numbers:
For example, the code is written in JAVA. (Any language can be used with the same algorithm)
Code:
import java.io.*;
import java.util.*;
public class UniqueNumbers{
public static void main(String[]
args){
for(int
i=100;i<=999;i++){
//For loop from 100 to
999
int number = i;
int
digit1 = i%10;
//Will give the unit digit of
the number
int digit2 =
(i/10)%10;
//Will give the second digit of the number
int digit3 =
i/100;
//will give the third digit
of the number
//To find the sum of cubes of digit
int sum = (int)Math.pow(digit1,3) + (int)Math.pow(digit2,3) + (int)Math.pow(digit3,3);
if(sum == number){
System.out.println(number+" ");
}
}
System.out.println("");
}
}
Outputs :
153
370
371
407
Screenshot of full working code along with output:

Find all three-digit numbers with non-zero first digit that are equal to the sum of the...
Find all arithmetic progressions of natural numbers beginning with 3 whose sum is a three digit number whose digits form a non constant geometric progression.
Find all arithmetic progressions of natural numbers beginning with 3 whose sum is a three digit number whose digits form a non constant geometric progression.
SOLVE IN MATLAB 11. Find the 5-digit number that satisfies the following properties: a. sum of all the digits is 23 b. sum of the first three digits is 16 c. sum of the first two digits is equal to the third digit d. third digit is twice the fourth digit e. subtracting the fourth digit from the second digit returns the fifth digit
Armstrong numbers are numbers that are equal to the sum of their digits raised to power of the number of digits in them. The number 153, for example, 1^3 + 5^3 + 3^3. Thus it is an Armstrong number. Write a program to display all three digit Armstrong numbers.
13. For how many three digit numbers (100 to 999) is the sum of the digits even? (For example, 343 has an even sum of digits: 3+4+3 = 10 which is even.) Find the answer and explain why it is correct in at least two different ways.
will is playing a math game. He needs help to use the following clues to write a 5 digit number: 1.The number consists of 3 different digits 2.All digits are even numbers greater than zero 3.the value of the ones digit is one tenth of the value in the tens digit 4.The value of the tenths digit is 10 times as much as the value of the hundreds digit 5.The sum of the tenths and hundredths digits is equal to...
1. A) How many three-digit numbers are there for which the sum of the digits is at least 25? B) How many three-digit numbers can be formed if only odd numbers are allowed to be re-used Please combinatorics principles where applicable.
show all work
2. Find the first three non-zero terms in the binomial series for the function f(x) = (1 + x)}
How many five digit numbers contain no repeated digits, have no even digits, and the sum of their digits is 25?
How many 5-digit odd whole numbers are there if there is no leading zero, the third digit must be 6, and the second digit must be greater than zero and divisible by 4. No digits may repeat. PLEASE HELP. Thank you!