# Infinite Monkeys

**URL:** <https://boards.straightdope.com/t/infinite-monkeys/278519>\
**Category:** Cafe Society\
**Created:** [December 7, 2004, 9:47am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519 "2004-12-07T09:47:10Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 7, 2004, 10:29pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/21 "2004-12-07T22:29:54Z")

</div>

> [@nivlac](#):
>
> Even a finite number of monkeys typing an infinite amount of time will eventually type out every possible sequence of letters, punctuation marks, etc.

No, that’s not guaranteed. The set of possible outcomes is the set of all countably-long strings on the alphabet of typewriter symbols. @@@@@@… is one of those, and there’s no Shakespeare anywhere in there.

Note that the number of monkeys makes no difference in this case.

---

<div class="post-metadata">

**Author:** ![Hyperelastic](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@Hyperelastic](https://boards.straightdope.com/u/Hyperelastic)\
**Post date:** [December 7, 2004, 11:08pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/22 "2004-12-07T23:08:19Z")

</div>

[Letterman]  
I think we can all agree, that if an infinite number of monkeys were to type for an infinite length of time, the smell would be unbearable.  
[/Letterman]

---

<div class="post-metadata">

**Author:** ![Bernard\_Marx](https://avatars.discourse-cdn.com/v4/letter/b/4491bb/32.png) [@Bernard\_Marx](https://boards.straightdope.com/u/Bernard_Marx)\
**Post date:** [December 8, 2004, 12:53am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/23 "2004-12-08T00:53:38Z")

</div>

Thank you Mr Ekers, you are a gentleman and a scholar

---

<div class="post-metadata">

**Author:** ![tracer](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tracer/32/20578_2.png) [@tracer](https://boards.straightdope.com/u/tracer)\
**Post date:** [December 8, 2004, 1:14am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/24 "2004-12-08T01:14:09Z")

</div>

Bob Newhart, on his live-performance-recording album _ **The Button-Down Mind Strikes Back** _, tells a joke story about what would happen if you really **did** try to conduct an experiment with an infinite number of monkeys and in infinite number of typewriters. To actually **check** to see if they’d produced the works of Shakespeare yet, there’d have to be an infinite number of people hired to proofread the monkeys’ work:

“Harry, hold on, post fifteen here has something. I think this is famous or something. Uh … ‘To be or not to be, that is thegzornenplat.’”

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [December 8, 2004, 1:18am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/25 "2004-12-08T01:18:29Z")

</div>

I always thought it was 7000 monkeys for 7000 years, but now I have no idea why I thought that.

When considering infinite monkeys and/or infinite time, doesn’t the maxim of “all things that can happen must happen” come into play?

---

<div class="post-metadata">

**Author:** ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)\
**Post date:** [December 8, 2004, 9:09am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/26 "2004-12-08T09:09:01Z")

</div>

> [@ultrafilter](#):
>
> No, that’s not guaranteed. The set of possible outcomes is the set of all countably-long strings on the alphabet of typewriter symbols. @@@@@@… is one of those, and there’s no Shakespeare anywhere in there.
> 
> Note that the number of monkeys makes no difference in this case.

Yes, you’re right. The infinite number of sequences of non-Shakespeare (like the @@@…) can fill out the infinite amount of time. Damn, those monkeys can be wasting an awful lot of energy for nothing!

---

<div class="post-metadata">

**Author:** ![cryptic\_j](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@cryptic\_j](https://boards.straightdope.com/u/cryptic_j)\
**Post date:** [December 8, 2004, 10:07am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/27 "2004-12-08T10:07:20Z")

</div>

So… should I strap the monkeys in… and force them to sit at the typewriter?

what if they had predictive text style word processors…

also, does the world produce an infinite amount of Banana’s?

I can see this is going to be an expensive undertaking…

One question… has anyone thought maybe this experiment _has been_ done already - - the evidence is there before us…  
when reading Shakespeare - - most of it is gibberish - -

---

<div class="post-metadata">

**Author:** ![Max\_Carnage](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/max_carnage/32/12775_2.png) [@Max\_Carnage](https://boards.straightdope.com/u/Max_Carnage)\
**Post date:** [December 8, 2004, 4:35pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/28 "2004-12-08T16:35:58Z")

</div>

I just realized the _Amazing Stories_ I was thinking of was actually a houseplant grown by the light of a TV that began to type up successful TV comedy scripts.

Monkeys…what was I thinking.

---

<div class="post-metadata">

**Author:** ![jay-c](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jay-c](https://boards.straightdope.com/u/jay-c)\
**Post date:** [December 8, 2004, 8:34pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/29 "2004-12-08T20:34:48Z")

</div>

> [@cryptic\_j](#):
>
> … does anyone know who originally came up with the infinite monkey idea in the first place.?

[Infinite Monkey Theorem](http://en.wikipedia.org/wiki/Infinite_monkey_theorem)

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 8, 2004, 8:42pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/30 "2004-12-08T20:42:19Z")

</div>

> [@jay-c](#):
>
> [Infinite Monkey Theorem](http://en.wikipedia.org/wiki/Infinite_monkey_theorem)

That article is incorrect because it makes the assumption that an event with probability 0 can’t happen (or more formally, that a set of measure 0 is necessarily empty).

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [December 8, 2004, 9:41pm UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/31 "2004-12-08T21:41:32Z")

</div>

> [@](#):
>
> Gosh, I thought you were going to ask about the sci-fi story about the author who uses a monkey hooked in to a typwriter to convince his editor that his story is well-written.

For what it’s worth, it’s Asimov, but I don’t remember the title.

---

<div class="post-metadata">

**Author:** ![Shade](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Shade](https://boards.straightdope.com/u/Shade)\
**Post date:** [December 9, 2004, 12:39am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/32 "2004-12-09T00:39:18Z")

</div>

> [@Chronos](#):
>
> For what it’s worth, it’s Asimov, but I don’t remember the title.

The Monkey’s Fingers.

---

<div class="post-metadata">

**Author:** ![dotchan](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dotchan](https://boards.straightdope.com/u/dotchan)\
**Post date:** [December 9, 2004, 1:06am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/33 "2004-12-09T01:06:52Z")

</div>

Paraphrasing a Usenet .sig file…

“Come to think of it, we already do have a million monkeys at a million typewriters, and Usenet is nothing like Shakespeare.”

😃

---

<div class="post-metadata">

**Author:** ![phaishazamkhan](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@phaishazamkhan](https://boards.straightdope.com/u/phaishazamkhan)\
**Post date:** [December 9, 2004, 2:23am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/34 "2004-12-09T02:23:46Z")

</div>

I hope no one considers me adding to noise rather than the signal. I recall a short story featured in one of those Dozois edited “Year’s Best” anthologies. A man writes a program that he names after the concept of a million monkeys at a million typewriters. As the story progresses he starts getting interesting results as he improves the program. He realizes with regular computers he can not achieve true randomness, just an illusion of randomness no matter how well he seeds it so he starts using data acquired from supercolliders and radio telescopes, using their background noise for true randomness. Towards the end he discovers old conversations he had while he was a child, things said and yet to be said or written. Sadly I do not recall the title or the author.

---

<div class="post-metadata">

**Author:** ![Jake](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jake](https://boards.straightdope.com/u/Jake)\
**Post date:** [December 9, 2004, 2:52am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/35 "2004-12-09T02:52:54Z")

</div>

Given an Infinite amout of time, in our Universe, an infinite number of “Things” can happen.

I think.

Well, at least I happened! 😃

---

<div class="post-metadata">

**Author:** ![Roland\_Orzabal](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@Roland\_Orzabal](https://boards.straightdope.com/u/Roland_Orzabal)\
**Post date:** [December 9, 2004, 4:18am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/36 "2004-12-09T04:18:37Z")

</div>

> [@nivlac](#):
>
> Really? Even a finite number of monkeys typing an infinite amount of time will eventually type out every possible sequence of letters, punctuation marks, etc. It might take an awfully long time, but “infinite” time means no limit on time. Unless by “infinite”, you are restricted by the duration of the known universe.

Not so. This reminds me of a conversation I once had with a friend of mine when we were in fourth grade, while waiting for the bus one day.\*

Roland: Let’s play a game. You pick a number, then I’ll pick a number, and we’ll see whose is higher.  
Friend: Okay. Apple.  
R: …what?  
F: Apple.  
R: “Apple” isn’t a number.  
F: Yes it is. If there’s infinite numbers, then eventually there’s got to be one called “apple”.  
R: (thinks about this for a minute) No, I think that’s still wrong.  
F: Well, what’s a thousand times a million?  
R: A billion.  
F: What’s a thousand times that?  
R: A trillion.  
F: What’s a thousand times that?  
R: …I dunno, I think it has a name though…  
F: See, you run out of names after a while, and if there’s infinite numbers, you have to go through every name.  
R: (thinks about this for a minute) No…that’s still wrong. Ok, what if we call a million times a million a “megamillion”. [I didn’t know what a trillion was, but I knew what the metric prefix ‘mega-’ meant. I was a weird kid.]  
F: Okay.  
R: Now, what if we called a million times that a “mega-megamillion”. And a million times that is a “mega-mega-megamillion”.  
F: Okay.  
R: So, from there you can go as long as you want, and just keep adding “megas” to it. You’ll still have infinite numbers, but you’ll never get anything called “apple”.  
F: (thinks about this for a minute) Yeah, I guess…  
(We stand in silence until the bus comes)

It’s the same thing with the monkeys and the typewriters. Even if the keypresses are completely random – and we have not-insignificant reason to believe that they wouldn’t be – it’s possible that you could still end up with a series of infinite 'K’s (with a nod to **kevsnyde** ). Not bloody likely; indeed, exponentially less likely even than the works of Shakespeare, but possible nonetheless. It is possible to have an infinite string of random characters and not wind up with Hamlet, just as it is possible to have an infinite number of named entities (e.g. numbers) and never end up with one named “apple”.

\*Yes, this conversation actually happened, and yes, we were in fourth grade. I promise. We were, and are, complete and utter dorks.

---

<div class="post-metadata">

**Author:** ![Roland\_Orzabal](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@Roland\_Orzabal](https://boards.straightdope.com/u/Roland_Orzabal)\
**Post date:** [December 9, 2004, 4:21am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/37 "2004-12-09T04:21:39Z")

</div>

> [@Roland Orzabal](#):
>
> [I didn’t know what a trillion was…]

Er, a _quadrillion_, that is. Meaning that I couldn’t answer my friends question of “what’s a thousand times a trillion”. Just wanted to avoid confusion.

---

<div class="post-metadata">

**Author:** ![Bernard\_Marx](https://avatars.discourse-cdn.com/v4/letter/b/4491bb/32.png) [@Bernard\_Marx](https://boards.straightdope.com/u/Bernard_Marx)\
**Post date:** [December 9, 2004, 7:07am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/38 "2004-12-09T07:07:43Z")

</div>

> [@](#):
>
> _originally posted by_ **Roland Orzabal**  
> Even if the keypresses are completely random – and we have not-insignificant reason to believe that they wouldn’t be – it’s possible that you could still end up with a series of infinite 'K’s (with a nod to kevsnyde). Not bloody likely; indeed, exponentially less likely even than the works of Shakespeare, but possible nonetheless.

Surely a series of "k"s is just as likely as Shakespeare, assuming that each letter struck is independent of the one struck before it (in the same way that a series of coin tosses HHHHHHHHHH is just as likely as HTHTHTHT and HTHHHTHTTT)

---

<div class="post-metadata">

**Author:** ![Roland\_Orzabal](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@Roland\_Orzabal](https://boards.straightdope.com/u/Roland_Orzabal)\
**Post date:** [December 9, 2004, 7:42am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/39 "2004-12-09T07:42:27Z")

</div>

> [@Bernard Marx](#):
>
> Surely a series of "k"s is just as likely as Shakespeare, assuming that each letter struck is independent of the one struck before it (in the same way that a series of coin tosses HHHHHHHHHH is just as likely as HTHTHTHT and HTHHHTHTTT)

For a string of "k"s containing the same number of characters as the relevant portion of Shakespeare, certainly. I was referring to the likelihood of a “k” series of indeterminate length, presumably greater than the length of Shakespeare’s texts, that would at any point of reference seem to continue indefinitely.

---

<div class="post-metadata">

**Author:** ![moriah](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@moriah](https://boards.straightdope.com/u/moriah)\
**Post date:** [December 9, 2004, 7:46am UTC](https://boards.straightdope.com/t/infinite-monkeys/278519/40 "2004-12-09T07:46:34Z")

</div>

This gets around to the age old argument whether an infinite number of possibilities will guarantee **all** possibilities (it doesn’t). Lay folk who aren’t that familiar with probability and infinity find it counterintuitive.

Here’s a way to explain it:

Imagine the set of all counting numbers, {1, 2, 3, 4, 5…}

It’s a set with an infinite amount of members. Now take out the number ‘3,’ {1, 2, 4, 5…}. It still has an infinite amount of members, but it doesn’t have all possible members of the counting numbers set.

If an infinite amount of monkeys are forced to create random numbers, it’s a possibility that none of them will ever choose ‘3,’ even though you have an infinite amount of numbers created by those monkeys – just like the counting number set minus the number 3. Infinite, but not containing every possibility.

Now, it becomes more likely, that as the number of monkeys or their time spent hitting random keys approaches infinity that 3 will be pop up in their number set. Though, it will never be guaranteed.

If 3 isn’t guaranteed to pop up in an infinite list of number, consider how much more likely that Hamlet will not pop up in an infinite number of random-keystroke manuscripts.

Peace.

[Previous page](https://boards.straightdope.com/t/infinite-monkeys/278519.md?page=1)

[Next page](https://boards.straightdope.com/t/infinite-monkeys/278519.md?page=3)
