check if the sum of all the possible 3 digit numbers that can be formed using the digits of 547 is divisible by the sum of its digits. find the other factors of the sum
Answers
Answered by
1
Answer:
4
Step-by-step explanation:
Input: l = 2, r = 10
Input: l = 2, r = 10Output: 5
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbers
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 3
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 317, 19 and 22 are such numbers
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 317, 19 and 22 are such numbersAs, 17 and 19 are already prime.
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 317, 19 and 22 are such numbersAs, 17 and 19 are already prime.Prime Factors of 22 = 2 * 11 i.e
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 317, 19 and 22 are such numbersAs, 17 and 19 are already prime.Prime Factors of 22 = 2 * 11 i.e For 22, Sum of digits is 2+2 = 4
Input: l = 2, r = 10Output: 52, 3, 4, 5 and 7 are such numbersInput: l = 15, r = 22Output: 317, 19 and 22 are such numbersAs, 17 and 19 are already prime.Prime Factors of 22 = 2 * 11 i.e For 22, Sum of digits is 2+2 = 4For 2 * 11, Sum of digits is 2 + 1 + 1 = 4
Similar questions