Find the smallest possible values of A and B for the number 645A2879B8 to be divisible by both 8 and 9.
Published on November 11, 2024
To find the smallest possible values for A and B in a 10-digit number divisible by both 8 and 9, the last three digits (9B8) must be divisible by 8, and the sum of all digits must be divisible by 9. This leads to B=2 and A=3 as the smallest possible values.
Question
Answer
- If B = 2, then 928 is divisible by 8 (928/8 = 116).
- If B = 6, then 968 is divisible by 8 (968/8 = 121).
Since we are looking for the smallest value of B, we choose B = 2.