2017 AMC 10B Problem 1
Mary thought of a positive two-digit number. She multiplied it by and added . Then she switched the digits of the result, obtaining a number between and , inclusive. What was Mary's number?
Show solution without answering
Key insight
Undo the steps from the end. Switched back, the result was 17, 27, 37, 47 or 57, and only 47 = 3 times 12 plus 11 works.
Solution
Mary did three things in order: multiply by , add , switch the digits. We know only the end result, so undo the steps starting from the last one.
- Undo the switch. The final number was , , , or . Switching the digits back, the number before the switch was , , , or .
- Undo the "add 11". Subtract from each: , , , , .
- Undo the "multiply by 3". Mary's number times gave one of these, so the right one must be a multiple of . Only and are.
- The number is not two-digit, so Mary's number is .
- Check: , and switching the digits gives , which is between and .
The answer is .
Why this works
When a problem tells you a chain of steps and only the final result, run the chain backwards: undo the last step first. Here the "multiple of " test threw out four of the five candidates at once, so no guessing was needed.
Alternative approach
Try each answer choice forward.
| Mary's number | |||||
|---|---|---|---|---|---|
| times , plus | |||||
| digits switched |
Only is between and , so the answer is .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Work backwards from the final number. Switching the digits of produced or , so itself was or .
Subtract from each candidate: . Divide by : only is a multiple of , giving . Check: , and switching the digits gives , which is in range. (The candidate would give , not two-digit.)
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Introduction to Algebra, Chapter 3: One-Variable Linear Equations (§3.3, §3.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.4)
- Introduction to Number Theory, Chapter 9: Base Number Arithmetic
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.