Product of digits

Let P ( n ) P(n) be the product of n n 's digits. Find k k , if P ( k ) = k 2 10 k 22 P(k)=k^2-10k-22

Note: k k is a positive integer.


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

Zach Abueg
Aug 5, 2017

Since k > 0 k > 0 , we must have P ( k ) > 0 P(k) > 0 \ :

k 2 10 k 22 > 0 k > 11.86 k 12 \displaystyle \begin{aligned} k^2 - 10k - 22 & > 0 \\ k & > 11.86 \\ \implies k & \geq 12 \end{aligned}

Furthermore, P ( n ) n n N P(n) \leq n \ \forall \ n \in \mathbb{N} . Let d d be the number of digits of n n , and a > 0 a > 0 be the first digit of n n . The product of its digits is then bounded above by a × 9 d 1 a \times 9^{d - 1} , while the number n n itself is bounded below by a × 1 0 d 1 a \times 10^{d - 1} .

Thus, we have

k 2 10 k 22 k k 12.73 k 12 \displaystyle \begin{aligned} k^2 - 10k - 22 & \leq k \\ k & \leq 12.73 \\ \implies k & \leq 12 \end{aligned}

We check that k = 12 k = 12 is a solution, and see that it is indeed a (and thus the only) solution. Our answer is 12 \boxed{12} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...