2001 AMC 10 Problem 6
Let and denote the product and the sum, respectively, of the digits of the integer . For example, and . Suppose is a two-digit number such that . What is the units digit of ?
Show solution without answering
Key insight
Write the number as 10 times the tens digit plus the units digit. The units digit cancels, and what is left forces it to be 9.
Solution
1. Try one number to see what the condition means. For : , which is not . So most numbers fail.
2. To see which ones work, call the tens digit and the units digit . Then (for example ).
3. The product of the digits is and the sum is . The condition becomes
4. Both sides have a , so take it away from both sides:
5. Take away from both sides: .
6. The tens digit is not (otherwise would not be a two-digit number), so we can divide both sides by . That gives .
7. Check with : , , and . It works. So do , and every one ends in .
The answer is .
Why this works
Writing a two-digit number as turns a digit puzzle into ordinary algebra. Here the units digit shows up on both sides and cancels, which is why the question asks only about the units digit: the tens digit can be anything. Before dividing by a letter, always make sure it cannot be ; a leading digit never is.
Alternative approach
Test small numbers, starting with those ending in the answer choices. : , no. : , no. : , no. : , no. : , yes. The units digit is .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Let the tens digit be and the units digit be , so with . Then and , and the condition reads
The on each side cancels, leaving , i.e. . Because (it is the leading digit), divide by to get .
Every number works (for instance ), and in all of them the units digit is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Introduction to Number Theory, Chapter 9: Base Number Arithmetic
- Introduction to Number Theory, Chapter 6: Special Numbers (§6.5)
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. Also appeared as 2001 12 #2.