Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

What integer satisfies and
Solution
An integer is divisible by if and only if the sum of its digits is divisible by and the last digit is even (meaning it is divisible by both 9 and 2). The sum of the digits of is 14. Since is negative, this number is 5 a multiple of 9. The number is 4 a multiple of 9. Subtracting 4 gives Since has a digit sum of 18, this number is a multiple of 9. However this is not a multiple of 18 so we need to subtract 9 again: Now the number is a multiple of 18, so the answer is .
Final answer
13