Find a three-digit number with all three properties:
Fix the hundreds digit from the range. Any with starts with , so write with the tens digit and the units digit . The digit sum is .
Understand what adding 4 does to the digit sum. There are only two cases:
This is the crux. If , then is never a multiple of , but always is.
Conclude that a carry is mandatory. The first case is impossible, so we need — and, to keep the tens digit from carrying too, (a tens digit of would roll over into the hundreds and change the arithmetic again).
Impose the digit-sum condition. With and , require
The pairs that work are giving , giving , and giving .
List and check the solutions.
A brute-force scan of every integer from to confirms these are the only three. Any one of them answers the question.
Need to solve a different problem like this? Open the solver →