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
The condition 10a + b = a + b^2 becomes 9a = b(b-1); checking digits b, only b = 9 gives a valid tens digit a = 8.
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 .
Why this works
Digit problems become algebra once you write the number as . Here the equation forces a divisibility condition, , and with only ten possible units digits a direct check is fastest. Note that and are consecutive, so has to divide one of them entirely, which is why only (and the degenerate ) appear.
The trap
Counting b = 0 or b = 1 (which give a = 0) as solutions, even though the tens digit must be nonzero.
Common mistakes
- Counting b = 0 or b = 1 (which give a = 0) as solutions, even though the tens digit must be nonzero.
- Writing the number as or squaring the tens digit instead of the units digit.
Techniques
Organized listing / direct enumeration · Set up the equation/formula and compute; no special trick needed