AMC 10 Step by Step

2005 AMC 10A Problem 16

P16-20~3 minPrint

The sum of the digits of a two-digit number is subtracted from the number. The units digit of the result is 66 . How many two-digit numbers have this property?

Log in to save your progress.
Show solution without answering

Key insight

A two-digit number minus its digit sum is 9 times the tens digit. Only 36 ends in 6, so the tens digit is 4 and the units digit is free.

Solution

Try one number first to see what happens. Take 4747: the digit sum is 4+7=114 + 7 = 11, and 47−11=3647 - 11 = 36. Now take 4242: 42−6=3642 - 6 = 36 again. The units digit seems not to matter. Here is why.

1. Write the number with digits. A two-digit number with tens digit aa and units digit bb equals 10a+b10a + b. Its digit sum is a+ba + b.
2. Subtract.
(10a+b)−(a+b)=9a.(10a + b) - (a + b) = 9a.
The bb cancels, so the result depends only on the tens digit.
3. List the possible results. For a=1,2,…,9a = 1, 2, \ldots, 9: 9,18,27,36,45,54,63,72,819, 18, 27, 36, 45, 54, 63, 72, 81.
4. Which ends in 66? Only 3636, which comes from a=4a = 4.
5. Count. The tens digit must be 44, and the units digit can be any of 00 to 99. That gives 40,41,…,4940, 41, \ldots, 49: 1010 numbers.

The answer is (D) 10\boxed{\textbf{(D)}\ 10}.

Why this works

Taking away the digit sum removes the units digit completely and leaves 99 times the tens digit. That is why only one digit is restricted and the other is free. It is also a view of the rule "a number and its digit sum leave the same remainder when divided by 99."

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Write the number as 10a+b10a + b with tens digit aa (1≤a≤91 \leq a \leq 9) and units digit bb. Subtracting the digit sum:
(10a+b)−(a+b)=9a.(10a + b) - (a + b) = 9a.
The units digit bb drops out entirely, so the result depends only on aa.

The possible results are 9,18,27,36,45,54,63,72,819, 18, 27, 36, 45, 54, 63, 72, 81. Exactly one of these ends in 66: 3636, which needs a=4a = 4.

Every number with tens digit 44 works, whatever its units digit: 40,41,…,4940, 41, \dots, 49. That is 1010 numbers.

The answer is (D) 10\boxed{\textbf{(D)}\ 10}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.