The sum of the digits of a two-digit number is subtracted from the number. The units digit of the result is . How many two-digit numbers have this property?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Subtracting the digit sum from 10a + b leaves 9a, independent of b; the only multiple of 9 up to 81 ending in 6 is 36, so a = 4.
Solution
Write the number as with tens digit () and units digit . Subtracting the digit sum:
The units digit drops out entirely, so the result depends only on .
The possible results are . Exactly one of these ends in : , which needs .
Every number with tens digit works, whatever its units digit: . That is numbers.
The answer is .
Why this works
"Number minus its digit sum" is always (tens digit) for two-digit numbers, a special case of the fact that a number and its digit sum agree mod . Because the units digit cancels, the condition constrains only one digit, and the other digit is free, which is where the count of comes from.
The trap
Stopping at the single tens digit a = 4 and answering 1, or forgetting that all ten units digits 0 through 9 work.
Common mistakes
- Stopping at the single tens digit a = 4 and answering 1, or forgetting that all ten units digits 0 through 9 work.
- Testing a few numbers like or by hand and guessing the pattern without deriving .
Techniques
Set up the equation/formula and compute; no special trick needed