Just for fun!-XV

Algebra Level 3

Evaluate the number of digits in 2 100 2^{100}

Note : You may use the fact that log 2 = 0.301 \log\ 2 = 0.301 .


The answer is 31.

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.

4 solutions

Raj Rajput
Aug 20, 2015

Awesome solution.Upvoted! ( Im pretty sure im not gonna stop mentioning this but awesome calligraphy)

Athiyaman Nallathambi - 5 years, 9 months ago

Log in to reply

thank you very much :)

RAJ RAJPUT - 5 years, 9 months ago

Excellent solution.

Swapnil Das - 5 years, 9 months ago

Log in to reply

thanks :) :) :)

RAJ RAJPUT - 5 years, 9 months ago

Nice solution but for beginners, it would be better if you add a few lines on why is the number of digits in an exponent is log N \left\lceil \log { N } \right\rceil

Arulx Z - 5 years, 9 months ago
Md Omur Faruque
Aug 28, 2015

It's the same method as the one posted by Raj. But for those who are new to these kind of problems I'd like to post a more detailed solution.

At first, let's take a look at some explicit examples :

Smallest 1 , 2 , 3 & 4 1, 2, 3 \text{ \& }4 digit positive integer are 1, 10, 100 \text { &} \, 1000 respectively. Now, log 1 = 0 \log1=0 log 10 = 1 \log10=1 log 100 = 2 \log 100=2 log 1000 = 3 \log1000=3 Notice that, for n n digits it's always ( n 1 ) (n-1) . As, log x \log x always increases as x x increases towards positive infinity, it's always true that, for x x to be a n n digit positive integer, n 1 log x < n n-1\leq \log x<n log x = n 1 \Rightarrow \lfloor \log x \rfloor =n-1 n = log x + 1 \Rightarrow n=\lfloor \log x \rfloor+1

Here, . \lfloor. \rfloor represents the floor function. x \lfloor x\rfloor is the greatest integer not greater than x x . For example, 3.98 = 3 \lfloor 3.98\rfloor =3 & 4 = 4 \lfloor 4\rfloor=4

Thus, for this question, n = log 2 100 + 1 n=\lfloor \log2^{100} \rfloor+1 n = 100 log 2 + 1 \Rightarrow n=\lfloor 100 \log 2\rfloor+1 n = 100 × 0.3010 + 1 \Rightarrow n=\lfloor 100\times 0.3010\rfloor+1 n = 30.1 + 1 = 30 + 1 = 31 \Rightarrow n=\lfloor 30.1 \rfloor +1=30+1=\color{#0C6AC7} {\boxed {31}}

Thank you, for your detailed sollution..........

Irfanul Hasan Rafi - 5 years, 9 months ago

Log in to reply

You are welcome. I'm glad you liked it.

MD Omur Faruque - 5 years, 9 months ago
Uahbid Dey
Aug 21, 2015

log 2¹⁰⁰ = 100 log 2 = 30.1 ... ... ... => 2¹⁰⁰ = 10^30.1 ... ... ... => 31 digit

Did it mentally

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...