edited by
612 views
0 votes
0 votes

For a positive integer $n$, let $\text{P}_n$ denote product of the digits of $n$ and $\text{S}_n$ denote the sum of the digits of $n$ The number of integers between $10$ and $1000$ for which $\text{P}_n + \text{S}_n = n$ is

  1. $81$
  2. $16$
  3. $18$
  4. $9$
edited by

1 Answer

Best answer
2 votes
2 votes

n can be a 2 digit or a 3 digit number.

Case (1) Let n be a 2 digit number.

Let n = 10x + y

$P_{n}$  = xy and $S_{n}$ = x + y

Now, $P_{n}$ + $S_{n}$ = n

 xy + x + y = 10x + y

xy = 9x = 9

There are 9 two digit numbers (19, 29, 29, … ,99) for which y = 9

Case (2) Let n be a 3 digit number.

Let n = 100x + 10y + z

$P_{n}$ = xyz and $S_{n}$ = x + y + z

Now, $P_{n}$ +$S_{n}$ = n xyz + x + y + z = 100x + 10y + z 

xyz = 99x + 9y

 z = $\frac{99}{y} + \frac{9}{x}$  

From the above expression, 0 < x, y < 9

But, we cannot find any value of x and y, for which z is a single digit number.

There are no 3 digit numbers which satisfy$P_{n}$ +$S_{n}$ = n

Hence, option (4)9 is the Answer.

selected by

Related questions

0 votes
0 votes
0 answers
2
go_editor asked Dec 29, 2015
279 views
Let $\text{S}$ be a positive integer such that every element $n$ of $\text{S}$ satisfies the conditions$1000 \leq n \leq 1200$every digit in $n$ is oddThen how many elem...
1 votes
1 votes
1 answer
3
go_editor asked Dec 29, 2015
597 views
The rightmost non-zero digit of the number $30^{2720}$ is ______$1$$3$$7$$9$
0 votes
0 votes
0 answers
5
go_editor asked Dec 29, 2015
332 views
Let $n! = 1 \times 2 \times 3 \times \dots \times n$ for integer $n \geq 1$. If $p = 1! (2 \times 2!) + (3 \times 3!) + \dots + (10 \times 10!)$, then $p+2$ when divided ...