Exponent Equals to the Number of Digits

I am a number. Let the amount of the digits I have be d d . For example: If I was the number 5764801 5764801 , d d would be equal to 7 7 .

5764801 There are 7 digits d = 7 \large \begin{array}{rcl} \underbrace{5764801}_{\text{There are} \space \color{#ff0000}7 \space \color{#333333} \text{digits}} & \implies & d= \color{#ff0000}7 \end{array}

I am the largest number that can be expressed as x d x^{d} . Find the value of x × d x × d .

NOTE: All variables are integer values.


Join the guessing game!


The answer is 189.

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.

2 solutions

Alexander Shannon
Jul 16, 2020

d = log 10 x d + 1 = d log 10 x + 1 d log 10 x = d 1 d=\lfloor \log_{10} x^d \rfloor +1 = \lfloor d \cdot \log_{10} x \rfloor +1 \implies \lfloor d \cdot \log_{10} x \rfloor =d-1

we definitely need x < 10 x<10 , otherwise d log 10 x d \lfloor d \cdot \log_{10} x \rfloor \geq d

then, we need

d 1 d log 10 x d 1 d log 10 x 1 1 d log 10 x d-1 \leq d\cdot \log_{10} x \implies \frac{d-1}{d} \leq \log_{10} x \implies 1-\frac{1}{d} \leq \log_{10} x

1 d log 10 x 1 = log 10 x 10 d 1 log 10 x 10 \implies -\frac{1}{d} \leq \log_{10} x-1 = \log_{10} \frac{x}{10} \implies d \leq \frac{-1}{\log_{10} \frac{x}{10}}

now, notice 1 < x < 10 1<x<10 and the higher x x is the higher the upper limit of d d can be. So, JUST take x = 9 x=9 , which gives d 21.85 d \leq 21.85 . So, JUST take d = 21 d=21 . You know, just do it!

I am interesting!

Alexander Shannon - 11 months ago

Yes, you right! in python #print(len(str(9**21))) gives output as 21

Mahdi Raza - 11 months ago

Log in to reply

thanks man, I appreciate u doing the dirty work :D

Alexander Shannon - 11 months ago
Kaizen Cyrus
Jul 15, 2020

We can set up inequalities if we make an example.

If d d is equal to 3 3 , then x d x^{d} could be 100 , 100, 101 , 101, 102 , . . . , 102, ..., or 999 999 (numbers that have 3 3 digits). Therefore, it must be between 99 99 and 1000 1000 . If d = 4 d=4 , then x d x^{d} could be 1000 , 1000, 1001 , 1001, 1002 , 1002, . . . , ..., or 9999 9999 (numbers that have 4 4 digits). Therefore, it must be between 999 999 and 10000 10000 .

Through those examples, we can deduce that

1 0 d 1 1 < x d < 1 0 d 10^{d-1}-1 < x^{d} < 10^{d}

Since x d < 1 0 d x^{d} < 10^{d} and we're looking for the largest value, x x must be equal to 9 9 because it is the largest integer before 10 10 .

log 9 ( 1 0 d 1 1 ) < d < log 9 ( 1 0 d ) log 9 ( 1 0 d 1 1 ) < d < d log 9 10 (divide all expressions by d ) log 9 ( 1 0 d 1 1 ) d < 1 < log 9 10 \begin{aligned} & \log_9 (10^{d-1}-1) < d < \log_9 (10^{d}) & \\ \implies & \log_9 (10^{d-1}-1) < d < d \log_9 10 & \space \space \small \color{#3D99F6}\text{(divide all expressions by} \space d \text{)} \\ \implies & \frac{\log_9 (10^{d-1}-1)}{d} < 1 < \log_9 10 & \end{aligned}

In the left expression, we find that the largest integer value for d d such that it would equate less than 1 1 is 21 21 .

log 9 ( 1 0 21 1 1 ) 21 = 0.998... < 1 \frac{\log_9 (10^{21-1}-1)}{21} = 0.998... < 1

x d = 9 21 9 × 21 = 189 \begin{array}{cc} x^{d} = 9^{21} & \implies 9×21 = \boxed{189} \end{array}

You are to!

Alexander Shannon - 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...