2021 AMC Fall 10A Problem 8
A two-digit positive integer is said to be if it is equal to the sum of its nonzero tens digit and the square of its units digit. How many two-digit positive integers are cuddly?
Show solution without answering
Key insight
Write the number as 10a + b. Cuddly means 9a = b(b - 1). Checking all ten units digits, only b = 9, a = 8 works.
Solution
1. Write the number with its digits. Call the tens digit (from to ) and the units digit (from to ). For example, is . So the number is .
2. Write the rule as an equation. Cuddly means the number equals :
3. Simplify. Subtract and from both sides:
So must equal times the tens digit: one of .
4. Check every units digit. There are only ten choices for :
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 2 | 6 | 12 | 20 | 30 | 42 | 56 | 72 |
- Only is on the list . It comes from , and gives . (The s would need , which is not a tens digit.)
- Check. . It works.
There is exactly one cuddly number, .
The answer is .
Why this works
Writing a two-digit number as turns a word rule about digits into an equation. Here the equation leaves only ten cases, so checking them all is fastest and leaves no doubt. You could also notice that and are next to each other, so they share no factor of , which means one of them must be a multiple of by itself. That again points straight to .
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 number have tens digit () and units digit (), so its value is . Cuddly means
So must be a positive multiple of with . The values of for are . The only multiples of are (from or ) and (from ). But forces , which is not allowed for a tens digit. The remaining case gives , so .
The unique cuddly number is ; indeed .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 8: Base Numbers
- Introduction to Number Theory, Chapter 7: Algebra With Integers
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
- 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.