The fear of Lord Voldemort (The Dark Lord)

Find the sum of all natural numbers x x such that the product of their digits (in decimal notation) is equal to x 2 10 x 22 x^2 - 10x - 22 .


The answer is 12.

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

Mark Hennings
Feb 24, 2018

Note that if N = a 1 a 2 a n N = \overline{a_1a_2\cdots a_n} then the product of the digits of N N is P ( N ) = a 1 × a 2 × × a n a 1 × 1 0 n 1 a 1 a 2 a n = N P(N) \; = \; a_1\times a_2 \times \cdots\times a_n \; \le \; a_1 \times 10^{n-1} \; \le \; \overline{a_1a_2\cdots a_n} \; = \; N Thus, if N 2 10 N 22 = P ( N ) N^2 - 10N - 22 = P(N) , then N 2 10 N 22 = P ( N ) N N 2 11 N 22 0 1 2 ( 11 209 ) N 1 2 ( 11 + 209 ) \begin{aligned} N^2 - 10N - 22 & = \; P(N) \; \le \; N \\ N^2 - 11N - 22 & \le \; 0 \\ \tfrac12\big(11 - \sqrt{209}\big) & \le \; N \; \le \; \tfrac12\big(11 + \sqrt{209}\big) \end{aligned} and hence 1 N 12 1 \le N \le 12 . Checking these values, the only natural number N N such that N 2 10 N 22 = P ( N ) N^2 - 10N - 22 = P(N) is N = 12 N = \boxed{12} .

The exact way by which I solved. Thanks for posting this solution.

Harry Potter - 3 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...