Question:

For a positive integer n, let \(P_n\) denote the product of the digits of n, and \(S_n\) denote the sum of the digits of n. The number of integers between 10 and 1000 for which \(P_n + S_n = n\) is

Show Hint

Write n in terms of its digits. Two-digit numbers give a simple condition on the units digit; for three-digit numbers compare the size of the product with that of the number.
Updated On: Nov 4, 2026
  • 81
  • 9
  • 18
  • 16
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Two-digit numbers:
Let \(n = 10a + b\) with \(a \ge 1\). Then \(P_n + S_n = ab + a + b\). Setting this equal to \(10a + b\) gives \(ab = 9a\), so \(b = 9\). Hence \(n = 19, 29, 39, \dots, 99\): that is 9 numbers.

Step 2: Three-digit numbers:
Let \(n = 100a + 10b + c\) with \(a \ge 1\). Then \(abc + a + b + c = 100a + 10b + c\), so \(abc = 99a + 9b\), i.e. \(a(bc - 99) = 9b\). But \(bc \le 81\), so the left side is negative while the right side is \(\ge 0\). No solution exists.

Step 3: Count:
The only numbers between 10 and 1000 with \(P_n + S_n = n\) are 19, 29, 39, 49, 59, 69, 79, 89, 99. A direct check by computer over 11 to 999 gives the same list. Total \(= 9\).

Final Answer:
The correct option is (2): 9
Was this answer helpful?
0
0

Top CAT Quantitative Aptitude Questions

View More Questions