Let and denote the sum and product of all digits of respectively.
Find the sum of all two-digit natural numbers such that .
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.
Let n = 1 0 a + b , where a = 1 , 2 , 3 . . . 9 and b = 0 , 1 , 2 . . . 9 . Then we have:
s ( n ) + p ( n ) ⟹ a + b + a b a b ⟹ b = n = 1 0 a + b = 9 a = 9
⟹ n = { 1 9 , 2 9 , 3 9 , . . . 9 9 } and the sum of all n 's,
S = a = 1 ∑ 9 ( 1 0 a + 9 ) = 1 0 ⋅ 2 9 ( 1 0 ) + 9 ⋅ 9 = 4 5 0 + 8 1 = 5 3 1 .