mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2003-12-17, 05:46   #1
Crispix
 
Dec 2003
San Diego, CA

5 Posts
Default Yes, it's time for the stupidest question ever . . .

I can't believe I'm asking this, but . . .

Regarding the Infinite Monkey question
(http://www.ietf.org/rfc/rfc2795.txt)

Let's say that we're not dealing with Monkeys, just the concepts of randomness and infinity. So if we have infinite systems churning out infinite random text, is Hamlet, the contents of the Library of Congress, a really good pie recipe, etc., eventually produced?

Seems to me that since there is also infinite random text that does NOT contain "Hamlet" (or whatever), that this is indeed a pointless question and cannot be proven either way.

Thanks for lowering to my level for this one!
Crispix is offline   Reply With Quote
Old 2003-12-17, 16:05   #2
tom11784
 
tom11784's Avatar
 
Aug 2003
Upstate NY, USA

14616 Posts
Default

by "Hamlet", the Library of Congress, etc..... are we talking subsets of text or does it have to be exactly and only those characters?

Just for this example I will say that Hamlet is 1,000,000 characters long (i have no idea if this is high or low). If that is allowed to be a substring of the text produced then since by limiting each character to one of the 256 ascii characters, yes we will eventually get to a 1,000,000 character substring of Hamlet's text with infinite time since there is a finite number of possible 1,000,000 character substrings (rather large at 256^1,000,000 - but still finite) and with infinite time the machine can run until it produces the desired substring


if it has to be exactly hamlet with nothing more before or after it then it becomes much more difficult, but still finite to do all combinations of 1 character, then 2 characters, then 3, 4, 5, ..., 999999, 1000000 - edited here: adds to (256^1000001)/255)

if given infinite time, a well-configured machine using this procedure should be able to produce all such works, just not nearly as fast as the first way....

just my thoughts - feel free to let me know what you think

-Tom

Last fiddled with by tom11784 on 2003-12-17 at 16:07
tom11784 is offline   Reply With Quote
Old 2003-12-17, 17:07   #3
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·7·132 Posts
Default Re: Yes, it's time for the stupidest question ever . . .

Quote:
Originally posted by Crispix
So if we have infinite systems churning out infinite random text, is Hamlet, the contents of the Library of Congress, a really good pie recipe, etc., eventually produced?
Suppose we are looking for a particular sequence of letters of length "N" - Hamlet or your good recipe or whatever. There is a small probability "p" that it will be the first N letters typed, and hence a probability (1-p), that it is not the first N letters typed. If we chop the stream of text into chunks of length N and look at the first "k" chunks, the probability that none of them are Hamlet is (1-p)^k. (Hamlet doesn't have to start at the beginning of a chunk, but this means the probability it did not occur is lower than this bound.) You can make this number as tiny as you like by making k large enough. So we can find a time when there is a 90% probability that Hamlet will have appeared, and a longer time when the probability is 99%, and 99.99999%. For any number less then 100%, no matter how tiny less, there is a finite time when the probability of getting Hamlet is larger.

Most rigorous statements about infinity really mean something about a limit as a finite bound gets larger and larger. What we really have is "For any probability "p" less than 1, there is a finite time when by which the probability of having typed Hamlet is greater than p." In everyday language, "given infinite time, Hamlet will be typed."
wblipp is offline   Reply With Quote
Old 2003-12-17, 17:40   #4
Crispix
 
Dec 2003
San Diego, CA

5 Posts
Default

Thanks.

"Cudgel thy brains no more about it."

(Act v. Sc. 1.)

Crispix is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
stupidest question you've ever answered science_man_88 Lounge 11 2011-10-10 06:16
Time Xyzzy Science & Technology 26 2008-01-19 03:28
Iteration Time display question georgekh Software 9 2005-12-27 00:54
Dumb question time... ThomRuley LMH > 100M 3 2004-06-11 02:02
P3 TF time PrimeCruncher Software 30 2003-12-21 05:26

All times are UTC. The time now is 02:59.


Sat Jul 17 02:59:31 UTC 2021 up 50 days, 46 mins, 1 user, load averages: 1.05, 1.21, 1.32

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.