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?
- A)
- B)
- C)
- D)
- E)
Answer
B
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 .
The trap
Looking for a number whose 3x + 11 lies between 71 and 75 without switching the digits back first. No whole number works, and students start guessing.
Concise solution
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
Techniques
Use the answer choices (mod checks, size, form) to eliminate or select · Start from the end state / desired conclusion and reverse