2 3 , 2 8 3 , 0 6 4 , 3 6 5 , 3 8 6 , 9 6 2 , 8 9 0 , 6 2 5 ?
How many digits are there in the number:Details and Assumptions
You may use the fact the number factors to 5 3 2
You may use the approximation: lo g 1 0 5 ≈ 0 . 6 9 8 9 7
Try this
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.
A concise form to find the no. of digits of a number in base b can be stated as,
δ ( n ) = ⌊ lo g b n ⌋ + 1
where, n is the number given and δ ( n ) be the function that returns the number of digits of n when written in base b .
For this problem, the base is decimal base, so b = 1 0 and the given number n = 5 3 2
Whoa ......... You blew my MIND !!!!!! AWESOME
धन्यवाद आपका
On counting gives 2 3
Damn !!!!!!!! This has got to be the most hilarious solution you've ever encountered in your life !!!!! :D
It's really depressing when you even count wrong...
Log in to reply
EVEN HERE PYTHON !!!!!!!! HAHAHAAHAHAHAHAHAHAHAHAHAHAHAAH
Log in to reply
atleast he didn't had to count on his own...
Log in to reply
@Kislay Raj – THe time it would have taken for him to go to desktop, open python, think and write the code would be the same as the time it would take to count.
P.S. Even i did not count . i too used logarithm , but for fun posted the other thing
Lol how about vb6?
Soo.... i'm guessing counting wasn't the correct way to do it? ;-)
the sum is quite good.....but by writing the whole number in the question ,it's just an eye sight check..that who can read well..
Reverse the digits of the exponent, especially if it is a two digit number. 1 to the tenth power has one digit
what about 1 1 1 ?? does it have 11 digits??
Problem Loading...
Note Loading...
Set Loading...
no. of digits = l o g 5 3 2
=> 32 log 5
=> 22.something..
=>no. of digits=22+1=23
p.s - well there is no harm to verify the answer by counting the digits :p ;)