Respuesta :
Answer:
The biggest multiple of 36, which consists of all 10 digits, each used once 8754321096 .
Explanation:
Conditions for a number to be completely divisible by 36,
- last 2 digits should be divisible by 4
- the sum of the digits of the number should be divisible by 9.
When we add the digits of the numbers 0 to 9, we get 45, which is divisible by 9.
Similarly, the greatest 2-digit number that is divisble by 4 is 96
So the last 2 positions of the 10-digit number can be 96.
Filling the rest of the positions by the numbers in descending order, we get the greatest multiple of 36 with all the 10 digits used only once to be 8754321096.
Answer:
It should be:
9876543120
This is a result: 274348420 * 36
Step-by-step explanation:
Use a program to generate so I cant explain the math formula.
Not really efficient but it works.
//Logic:
//300,000,000*36 = 11 digits so we can start from here
for (long i = 300000000 ; i >= 0;i--)
{
result = i * 36;
resultString = Long.toString(result);
if (resultString.length() == 10 && resultString.contains("0") && resultString.contains("1")
&& resultString.contains("2") && resultString.contains("3")
&& resultString.contains("4") && resultString.contains("5")
&& resultString.contains("6") && resultString.contains("7")
&& resultString.contains("8") && resultString.contains("9"))
{
//Once you found, you can just exit from the loop
System.out.println("Found: " + result + ";" + i);
break;
}
}