Browse · MATH
Printjmc
number theory intermediate
Problem
Find the value of such that the four-digit number is divisible by 18.
Solution
The prime factorization of 18 is , so in order for a number to be divisible by 18 it must be divisible by both 3 and 2. First, in order for a number to be divisible by 3, the sum of its digits must be divisible by 3. In the case of , this means that must be divisible by 3. Since the constant term (6) is already a multiple of 3, must be divisible by 3, which means that itself must be a multiple of as well. Second, in order for a number to be divisible by 2, the units digit must be an even number. In this case, the divisibility rule for 2 implies that must be an even number. Thus, since we know that it must be an even single-digit multiple of 3, the only possible value for is .
Final answer
6