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?
- A)
- B)
- C)
- D)
- E)
Answer
B
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 .
The trap
Counting b = 0 or b = 1 as answers. They make a = 0, and a two-digit number cannot have tens digit 0.
Concise solution
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
Techniques
Organized listing / direct enumeration · Set up the equation/formula and compute; no special trick needed