Find a three-digit number with all three properties:
Give any one such number.
Recall the one fact that governs every problem of this shape. Adding to a number either leaves the digit sum larger (no carry) or reduces it by a multiple of for each carry. Concretely, one units carry changes the digit sum by .
Rule out the no-carry case. If and no carry occurs, the new sum is , which leaves remainder modulo — never . So adding must cause at least one carry, meaning the units digit satisfies .
Work out what one carry does here. With exactly one carry the digit sum changes by , giving . For and to hold at once is impossible, so two carries are needed: the tens digit must also roll over, which requires the tens digit to be . Two carries change the sum by , and is a multiple of whenever is.
Impose the conditions on the digits. Write with , , and . We need , so , giving (the only value reachable with , ):
List and verify.
A brute-force scan of to returns exactly these three, so any of them is a valid answer.
Need to solve a different problem like this? Open the solver →