AMC 10 Step by Step

2021 AMC Fall 10A Problem 8

P1-10~3 minPrint

A two-digit positive integer is said to be cuddly\emph{cuddly} 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?

Log in to save your progress.
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 aa (from 11 to 99) and the units digit bb (from 00 to 99). For example, 4747 is 10×4+710 \times 4 + 7. So the number is 10a+b10a + b.
2. Write the rule as an equation. Cuddly means the number equals a+b2a + b^2:
10a+b=a+b2.10a + b = a + b^2.
3. Simplify. Subtract aa and bb from both sides:
9a=b2−b=b(b−1).9a = b^2 - b = b(b - 1).
So b(b−1)b(b-1) must equal 99 times the tens digit: one of 9,18,27,…,819, 18, 27, \ldots, 81.
4. Check every units digit. There are only ten choices for bb:

bb0123456789
b(b−1)b(b-1)0026122030425672
  1. Only 7272 is on the list 9,18,…,819, 18, \ldots, 81. It comes from b=9b = 9, and 9a=729a = 72 gives a=8a = 8. (The 00s would need a=0a = 0, which is not a tens digit.)
  2. Check. 8+92=8+81=898 + 9^2 = 8 + 81 = 89. It works.

There is exactly one cuddly number, 8989.

The answer is (B) 1\boxed{\textbf{(B)}\ 1}.

Why this works

Writing a two-digit number as 10a+b10a + b 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 bb and b−1b - 1 are next to each other, so they share no factor of 33, which means one of them must be a multiple of 99 by itself. That again points straight to b=9b = 9.

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 aa (1≤a≤91 \le a \le 9) and units digit bb (0≤b≤90 \le b \le 9), so its value is 10a+b10a + b. Cuddly means
10a+b=a+b2⟹9a=b2−b=b(b−1).10a + b = a + b^2 \quad\Longrightarrow\quad 9a = b^2 - b = b(b-1).

So b(b−1)b(b-1) must be a positive multiple of 99 with b≤9b \le 9. The values of b(b−1)b(b-1) for b=0,1,…,9b = 0, 1, \dots, 9 are 0,0,2,6,12,20,30,42,56,720, 0, 2, 6, 12, 20, 30, 42, 56, 72. The only multiples of 99 are 00 (from b=0b = 0 or 11) and 7272 (from b=9b = 9). But 9a=09a = 0 forces a=0a = 0, which is not allowed for a tens digit. The remaining case b=9b = 9 gives 9a=729a = 72, so a=8a = 8.

The unique cuddly number is 8989; indeed 8+92=898 + 9^2 = 89.

The answer is (B) 1\boxed{\textbf{(B)}\ 1}.

Review in the AoPS books

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.