wu :: forums
« wu :: forums - How many digits? »

Welcome, Guest. Please Login or Register.
Mar 22nd, 2025, 2:38pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: Eigenray, ThudnBlunder, towr, william wu, Icarus, SMQ, Grimbal)
   How many digits?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: How many digits?  (Read 307 times)
BNC
Uberpuzzler
*****





   


Gender: male
Posts: 1732
How many digits?  
« on: Jun 3rd, 2004, 5:37am »
Quote Quote Modify Modify

If I were to write the number 22004 followed by the number 52004 (both in explicit decimal notation), how many digits would I write?
IP Logged

How about supercalifragilisticexpialidociouspuzzler [Towr, 2007]
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: How many digits?  
« Reply #1 on: Jun 3rd, 2004, 6:22am »
Quote Quote Modify Modify

Ten.  But some of them more than once.  Grin
 
More seriously, I would propose: ceil(log10(2)*2004)+ceil(log10(5)*2004) which I leave to the reader to calculate.
IP Logged
harpanet
Junior Member
**





   
WWW

Posts: 109
Re: How many digits?  
« Reply #2 on: Jun 3rd, 2004, 6:42am »
Quote Quote Modify Modify

I'll do the calculation by hand and let you know next year.
IP Logged
BNC
Uberpuzzler
*****





   


Gender: male
Posts: 1732
Re: How many digits?  
« Reply #3 on: Jun 3rd, 2004, 7:08am »
Quote Quote Modify Modify

on Jun 3rd, 2004, 6:22am, Grimbal wrote:
... I would propose: <hidden>

 
explaining how you arrived at an answer is more valuable than the answer itself !
IP Logged

How about supercalifragilisticexpialidociouspuzzler [Towr, 2007]
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: How many digits?  
« Reply #4 on: Jun 3rd, 2004, 7:53am »
Quote Quote Modify Modify

on Jun 3rd, 2004, 7:08am, BNC wrote:
explaining how you arrived at an answer is more valuable than the answer itself !

 
I didn't give the answer, I just told how I computed it!
 
OK.  A N-number digit can have values 10^(N-1)<=value<10^N.
so, (N-1)<=log10(value)<N which means that if you know the value and want to know the number of digits, you have N=floor(log10(value))+1.  (I used ceil because in this case, the logs are not integers)
If for example value = 3^123, log10(value) = 123*log10(3).
This is valid for all 3 in {2,5} and any 123 in {2004}.
 
But I realised there is a much simpler way to get to the same result.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: How many digits?  
« Reply #5 on: Jun 3rd, 2004, 8:30am »
Quote Quote Modify Modify

::log10(2) + log10(5) = 1, so I get 2005
Because ceil(a+b) <= ceil(a) + ceil(b) <= ceil(a+b) + 1, and in this case a+b is an integer and a and b aren't.
::
« Last Edit: Jun 3rd, 2004, 8:32am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: How many digits?  
« Reply #6 on: Jun 3rd, 2004, 8:39am »
Quote Quote Modify Modify

Exactly.  Since 2*5=10.
::You have 2 numbers of which the product is 10^2024.  It must have 2005 digits, since they are not of the form 10^n.::
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board