Product × \times Sum = = Division!

Let s ( n ) s(n) and p ( n ) p(n) denote the sum and product of all digits of n n respectively.

Find the sum of all two-digit natural numbers n n such that n = s ( n ) + p ( n ) n = s(n) + p(n) .


The answer is 531.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Chew-Seong Cheong
Sep 10, 2016

Let n = 10 a + b n = 10a+b , where a = 1 , 2 , 3...9 a=1,2,3...9 and b = 0 , 1 , 2...9 b=0,1,2...9 . Then we have:

s ( n ) + p ( n ) = n a + b + a b = 10 a + b a b = 9 a b = 9 \begin{aligned} s(n) + p(n) & = n \\ \implies a+b + ab & = 10a+b \\ ab & = 9a \\ \implies b & = 9 \end{aligned}

n = { 19 , 29 , 39 , . . . 99 } \implies n = \{19, 29, 39, ... 99\} and the sum of all n n 's,

S = a = 1 9 ( 10 a + 9 ) = 10 9 ( 10 ) 2 + 9 9 = 450 + 81 = 531 S = \displaystyle \sum_{a=1}^9 (10a+9) = 10 \cdot \frac {9(10)}2 + 9\cdot 9 = 450 +81 = \boxed{531} .

Thanks sir.

Priyanshu Mishra - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...