An Infinite Number of Monkeys

An infinite number of monkeys, given an infinite amount of time, would most likely:

  • prefer manual typewriters to the IBM Selectric.

    Votes: 1 5.6%
  • type the entire works of Shakespeare.

    Votes: 0 0.0%
  • briefly ride the crest of fame, marry Courtney Love, and then shoot themselves.

    Votes: 7 38.9%
  • carefully monitor their story scores.

    Votes: 10 55.6%

  • Total voters
    18

shereads

Sloganless
Joined
Jun 6, 2003
Posts
19,242
Resisting the urge to hijack the newest God thread, and inspired by Dr. M's reference to the sonnet-composing skills of an infinite number of monkeys...

The topic of this thread, if it has one after the monkeys have done their part, is:

INFINITY. HOW WEIRD IS THAT?

This is from a site called "Doctor Math."

If you don't care about the monkeys, scroll to the final paragraph. Warning: if you used drugs in the past, this will give you a flashback to those bong-induced conversations about the existence of tiny universes in our fingertips.

~ ~ ~

Monkeys Typing Shakespeare: Infinity Theory



Date: 08/05/98 at 01:26:24
From: adam bridge
Subject: Infinity Theory

This request is for you to settle an argument within our household if
you would be kind enough.

Many years ago I read somewhere that if you had an infinite number of
monkeys sitting at an infinite number of typewriters for an infinite
number of years typing at random then it could be accepted as a
probability that one would eventually type the entire works of
Shakespeare !

My wife and son say that that this view is incorrect; however, I would
appreciate it if you can you shed any light on it from a mathematical
viewpoint.

Thanking you in anticipation

- Adam Bridge

------------------------------------------------------------------------



Date: 08/13/98 at 13:35:41
From: Doctor Benway
Subject: Re: Infinity Theory

Hi Adam,

So you want the mathematical perspective on the "monkeys typing"
scenario? Keep in mind that this is going to be an entirely
theoretical answer. As you can imagine, there are some serious
practical problems with having an actual infinite number of monkeys
typing on an infinite number of typewriters (e.g. where would you put
them? what would you feed them?), but since we're mathematicians we
can gleefully ignore such considerations.

The cheap and easy answer to your question is, "yeah, they'll crank
out Shakespeare's works... eventually." This is assuming they really
are typing at random. The monkeys with typewriters I have personally
observed (mostly of the "young human/little sister" variety) tend to
bang on the same keys repeatedly, so it's hard to imagine them
actually turning out Shakespeare. But again, this is math so we will
ignore the real world.

As large as Shakespeare's collected works are, they are still finite.
If you type at random, eventually some six-jillion-letter combination
you type will end up being the collected works of Shakespeare.

An easier way to think about this is picking lottery numbers. Imagine
you are filthy rich and decide to buy a bunch of lottery tickets in an
effort to win Powerball. Since you are filthy rich, you can afford to
buy six jillion lottery tickets with every possible combination of
numbers that could come up, and thus you would be guaranteed to win
the lottery. It's the same concept with monkeys typing.

The grittiest detail in this problem is that the answer is only yes if
we are talking about an infinite number of trials; that is, having an
infinite number of monkeys or letting one monkey pound away for an
infinite amount of time. If we are restricted to a finite number of
monkeys and a finite amount of time, then the answer is no. It is
entirely possible that in a finite amount of time a finite number of
monkeys may type out nothing but pages upon pages of meaningless
drivel. It's also possible (although unlikely) that one monkey may get
it right the first time.

A good way to think of this is to imagine rolling a six-sided die
numerous times and waiting for a six to come up. It may come up on the
first roll. It's possible that you could keep rolling and rolling
millions of times without a six coming up, although you would expect
it to come up within six rolls, since there is a 1/6 chance of a 6
turning up on each roll.

Let's do an actual example. Since the collected works of Shakespeare
are a pretty lofty goal, let's just see about how long we would expect
it to take for a monkey to crank out one of Shakespeare's sonnets, for
example the following:


Look in thy glass and tell the face thou viewest -48
Now is the time that face should form another -45
Whose fresh repair if now thou not renewest -43
Thou dost beguile the world unbless some mother -47
For where is she so fair whose uneard womb -42
Disdains the tillage of thy husbandry -37
Or who is he so fond will be the tomb -37
Of his self love to stop posterity -34
Thou art thy mothers glass and she in thee -42
Calls back the lovely April of her prime -40
So thou through windows of thine age shall see -46
Despite of wrinkles this thy golden time -40
But if thou live rememberd not to be -36
Die single and thine image dies with thee -41


In the above sonnet I removed all punctuation, just leaving the
letters and spacing--we can't expect too much; they're only monkeys,
right? If my letter count is correct, this leaves 572 letters and
spaces. To further simplify, we won't worry about carriage returns,
capital letters, or any other such stuff.

Anyhow, say we give a monkey a special typewriter that has 27 keys
(26 keys for the letters of the alphabet along with a space bar).
We let the monkey type 572 characters at a time, pull the sheet out,
and see if it's the sonnet. If not, we keep going.

We'll do some calculations on the fly here to see how long this
process will take. Got a calculator handy? First of all let's find out
how many 572-letter possibilities there are for the monkey to type.
We have 572 characters, and 27 choices for each character, so there
will be 27^572 possibilities (that's 27 times itself 572 times).
Punching this into my calculator... er... okay, on second thought
better use a computer....I get the following number of possibilities:

5496333784561099393693048531368044344887926194198532520694117049056247
2568424395482058851927075593679213263223991649095444601504350463483987
5025610104140864608504908534119526789608399222986117684072414622768253
6214908304427395812519474546086831288010236639735783766919573127540345
2575089566044810413932116060031762894505524988451285440971813773606694
0163946473467668970711919689863460271936750837609798272198814318196353
5086770723528603185438692855503864007605689811533968043988986405766599
4634626982653271152473969190655534329764726804924235126863461599117918
7453007805890829071114522894672065623217961791812204851353664903930975
3565419938168852881272755213408072890621434530416560019423439471934830
8488558728285338553045399661579902802268940348808763480359167736446637
8909091744053824079947245708112252748079248200721

It's a big number, about 5*10^818.

Let's say our monkey can type about 120 characters per minute. Then
the monkey will be cranking out one of these about every five minutes,
12 every hour, 288 per day, and 105120 of them per year. Divide that
big number by 105120 and you get that it would take that monkey about
5*10^813 years to type out that sonnet.

Now say we get 10^813 (that's ten followed by 813 zeros) monkeys
working on the job. With that many monkeys working 24 hours a day,
typing at random, one of them is likely to crank out the sonnet we are
looking for within five years. If the monkeys are particularly
unlucky, you may have to let them run an infinite amount of time
before they crank out the desired sonnet, but chances are with this
many monkeys on the job you will get results in five years.

To make a long story short, if you have only a finite number of
outcomes and you take an infinite number of trials, you will end up
getting the outcome you are looking for.

Well, forget about making a long story short, I'll give you one more
mind-blowing example. A typical digitized picture on your computer
screen is 640 pixels long by 480 pixels wide, for a total of
307200 pixels. Using only 256 different colors, you can get decent
resolution. Now if you take 256^307200 (256 times itself 307200 times)
you get... well, a pretty big number, but a finite number nonetheless.
That's the number of different images you can have of that particular
size. Any picture you would scan into a computer at that size and
resolution will necessarily be one of those images. Therefore,
contained in those images are the images of the faces of every human
being who ever lived along with the images of the faces of every
person yet to be born.

Deep stuff, eh? I'll leave you with that thought. Thanks for writing.

Dr. Benton, The Math Forum
 
Last edited:
And to think, my monkey turned out my novel on the very first try! ;)
 
Ah yes, the Math Forum. I remember going to that place years back for lots of frivolous extra-curricular time spent on that in hopes of helping me get 1st place in my school. To no avail, I always got second.

Grrr!

:D

Twas an interesting read.
 
Cordelia!

Where are you!

This is your kind of thread...

Foooool
 
An Infinite Number of Monkeys

~ by Ronald Koertge

After all the Shakespeare, the book
of poems they type is the saddest
in history.

But before they can finish it,
they have to wait for that Someone
who is always

looking to look away. Only then
can they strike the million
keys that spell

humiliation and grief, which are
the great subjects of Monkey
Literature

and not, as some people still
believe, the banana
and the tire.

_

from Making Love to Roget's Wife, 1997
University of Arkansas Press

Copyright 1997 by Ronald Koertge.
 
Xelebes said:
Ah yes, the Math Forum. I remember going to that place years back for lots of frivolous extra-curricular time spent on that in hopes of helping me get 1st place in my school. To no avail, I always got second.

Grrr!

:D

Twas an interesting read. [/B]

You haven't fallen victim to Olympic Medals Syndrome, have you? The belief that skiing the slalom course .00019 seconds slower than the winner makes you an also-ran?

Second is good, X. Belated congratulations.
 
shereads said:
You haven't fallen victim to Olympic Medals Syndrome, have you? The belief that skiing the slalom course .00019 seconds slower than the winner makes you an also-ran?

Second is good, X. Belated congratulations.

I did get first place in the geography challenge one year and I was about to go to the provincials but then we moved. At that point in my life I had little else to live for as my marks in general were slipping and a social life was non-existent. I am glad I made it through junior high. I hated those years.
 
Could Monkeys Type the 23rd Psalm?
by Russell Grigg

First published in:
Creation Ex Nihilo 13(1):30–34
December 1990 – February 1991

On June 30, 1860, there occurred an event which, in the minds of many people, was the turning point for the public acceptance of the theory of evolution in its confrontation with Christianity. This event was the debate between the agnostic Thomas Huxley, who came to be known as ‘Darwin’s bulldog’, and the Anglican Bishop of Oxford, Samuel Wilberforce, son of the famous anti-slavery politician, William Wilberforce. The debate was held at a meeting of the British Association, Oxford, of which Bishop Wilberforce was a vice-president, and was sparked by the publication of Charles Darwin’s Origin of Species seven months earlier, in November 1859.

Wilberforce was an experienced and skilful debater. As well as being a theologian, he was an able naturalist. He had also acquired a first in mathematics in his graduate days at Oxford. He had the unusual combination of being both Professor of Theology and Professor of Mathematics at the University of Oxford. He was well versed in Darwin’s theory as, shortly before the debate took place, he had written a review of the Origin, which was published in the Quarterly Review, July 1860. When Darwin read this review his comment was:

‘It is uncommonly clever; it picks out with skill all the most conjectural parts, and brings forward well all the difficulties.’1

Wilberforce began the debate and, after making several scientific points, concluded with Paley’s argument that a watch implies the existence of a watchmaker, and similarly design in nature implies the existence of a Designer.

Huxley then arose and put forward his now well-known argument that six eternal monkeys or apes typing on six eternal typewriters with unlimited amounts of paper and ink could, given enough time, produce a Psalm, a Shakespearean sonnet, or even a whole book, purely by chance that is, by random striking of the keys.

In the course of his presentation Huxley pretended to find the 23rd Psalm among the reams of written gibberish produced by his six imaginary apes at their typewriters. He went on to make his point that, in the same way, molecular movement, given enough time and matter, could produce Bishop Wilberforce himself, purely by chance and without the work of any Designer or Creator.

:devil:
 
Last edited:
Xelebes said:
I am glad I made it through junior high. I hated those years.

Oh lord, yes. Junior High is like The Perfect Storm. Adolesence, raging hormones, Clearasil, bad hair days, choosing sides for volleyball, stinky gym lockers, your peers are at the cruelest age of childhood - and it seems so permanent! You should go on a speaking tour of junior high schools and assure the kids who hate it that life isn't like that, and that even on the days when adult life does suck, there are free dirty stories.

Here, before I go off to bed, is a link to a site whose creator asks that anyone who logs on and finds in the typing field "anything that resembles the bard" please notify him immediately.

REAL-TIME VIRTUAL TYPING MONKEY AT WORK:

http://www.dogsbody.org/fun/monkey.html
 
Last edited:
This bears looking into, but tonight I'm too tired to register for the site. It's called The Simi Project (Search for Intelligent Monkeys on the Internet).

http://www.100monkeys.org/
 

Attachments

  • index_07.gif
    index_07.gif
    10.4 KB · Views: 12
shereads said:
Oh lord, yes. Junior High is like The Perfect Storm. Adolesence, raging hormones, Clearasil, bad hair days, choosing sides for volleyball, stinky gym lockers, your peers are at the cruelest age of childhood - and it seems so permanent! You should go on a speaking tour of junior high schools and assure the kids who hate it that life isn't like that, and that even on the days when adult life does suck, there are free dirty stories.

Here, before I go off to bed, is a link to a site whose creator asks that anyone who logs on and finds words in the typing field please notify him immediately.

REAL-TIME VIRTUAL TYPING MONKEY AT WORK:

http://www.dogsbody.org/fun/monkey.html

On point 1, I was probably considered the most unliked person in my junior high making me feel that I need a purpose in life otherwise I would just skip the whole thing. My younger brother is going through the same thing right now with the same predicament - very few friends. In fact, he has only one friend but we totally despise him. We're pretty sure he'll be drug-lord or fraud ring-leader one day and we hope my brother can get away from the lure from the sense of belonging with him.

2nd point, o! That link has UT MAPS! WOOT! THANKS FOR THE FIND!
 
RESULTS SO FAR FROM "MONKEY SHAKESPEARE SIMULATOR" as reported by viewers:


3 letters from "The Comedy of Errors" after 33 monkey-years. Sent in by Mark Powell on 26 July 2003.
"MarCmbSD!K 1Xi1&wWVv(C8h&aQBn]49'a..." matched "Marchant. Proceed Solinus to procure my fall,
And by the doome of death end woes and all"


4 letters from "The Winter's Tale" after 195 monkey-years. Sent in by Matt Greer on 26 July 2003.
"Archan:jdTAQ]Mu:.jt "gm3dw.jhVHw.V2..." matched "Arch. If you shall chance (Camillo) to visit Bohemia, on the like occasion whereon my seruices are now on-foot, you shall see (as I haue said) great difference betwixt our Bohemia, and your Sicilia"


5 letters from "Cymbeline" after 3,928 monkey-years. Sent in by Tom Stallard on 30 July 2003.
"1.Gen0HW;MdBenGFU4GXx8)hgwAXuGRM" !Q..." matched "1.Gent. You do not meet a man but Frownes. Our bloods no more obey the Heauens Then our Courtiers: Still seeme, as do's the Kings"


6 letters from "King John" after 86,339 monkey-years. Sent in by Martin from High Wycombe, UK on 30 July 2003.
"King Il[&b1H4m.hyfDY4'LiU0S8NLrK:hhJT..." matched "King Iohn. Now say Chatillion, what would France with vs?
_ Chat. Thus (after greeting) speakes the King of France, In my behauiour to the Maiesty, The borrowed Maiesty of England heere"


7 letters from "King John" after 2,737,851 monkey-years. Sent in by David Thurston of Falls Church, VA on 8 August 2003: "King Io8-'D"IZ'i-K[kn5f6?y&a4Y;m!cC&EY..." matched "King Iohn. Now say Chatillion, what would France with vs? Chat. Thus (after greeting) speakes the King of France, In my behauiour to the Maiesty, The borrowed Maiesty of England heere"


8 letters from "Cymbeline" after 598,877 monkey-years. Sent in by Tim Joyce, Toronto, Ontario, Canada on 24 Aug 2003.
"1.Gent. rP0)Pux;t3ZGfjDrjrN)cbu]K1KJB..." matched "1.Gent. You do not meet a man but Frownes. Our bloods no more obey the Heauens Then our Courtiers: Still seeme, as do's the Kings"


9 letters from "All's Well That End's Well" after 315,072,000 monkey-years. Sent in by Robert Stephen Mayer Jr, Portland OR, USA on 18 Sept 2003. "COUNTESS.V1 V"Zcp[NFv!U:(UOI2(kFn;fLAe..." matched "COUNTESS. In delivering my son from me, I bury a second husband."


10 letters from "Henry 4th, Part 1" after 1,397,990,000 monkey-years. Sent in by acidtest of Paris, France on 17 Oct 2003. "King. So sv :T5nFUh1f]o'!T]SI-Eu?SY(EHRzV..." matched "King. So shaken as we are, so wan with care, Find we a time for frighted peace to pant And breathe short-winded accents of new broils"


11 letters from "Antony and Cleopatra" after 505,920,000 monkey-years. Sent in by Bish on 20 Nov 2003. "PHILO. Nay,ef?eTHW6Hf1ZhfaqE3(zMqZq!kt,Iyz..." matched "PHILO. Nay, but this dotage of our general's O'erflows the measure: those his goodly eyes, That o'er the files and musters of the war Have glow'd like plated Mars, now bend, now turn,..."


12 letters from "All's Well That Ends Well" after 2,236,400,000,000,000 monkey-years. Sent in by David Fennell of St. Andrews, Scotland on 21 Dec 2003. "COUNTESS. Inn]B!5tc4JXrS!w2RB(?gPCz]hJPYqgG..." matched "COUNTESS. In delivering my son from me, I bury a second husband. BERTRAM. And I in going, madam, weep o'er my father's death anew;..."


13 letters from "Measure For_ Measure" after 6,146,950,000,000,000 monkey-years. Sent in by PY222 of Team Free-DC on 7 Feb 2004. "Duke. Escalus 1YYAY)FTJk!QNF,)AwbtTuDWuGnm?s..." matched "Duke. Escalus.___ Esc. My Lord._ Duk. Of Gouernment, the properties to vnfold, Would seeme in me t' affect speech & discourse, Since I am put to know, that your owne Science Exceedes (in that) the lists of all aduice My strength can giue you..."


14 letters from "Coriolanus" after 4,651,360,000,000,000,000 monkey-years. Sent in by Bill Herrin from Hannibal, MO, USA on 24 Feb 2004. "1. Citizen. Be&uox:w6LDn;x&:5"vz(Q'5y6zF!0[ A..." matched "1. Citizen. Before we proceed any further, heare me speake__ All. Speake, speake__ 1.Cit. You are all resolu'd rather to dy then to famish?_ All. Resolu'd, resolu'd..."

15 letters from "Pericles" after 958,399,000,000,000,000,000 monkey-years. Sent in by Ken Phillips from Roseville, California on 12 April 2004. "[Enter GOWER.] ?2IDzPN9sq6V ;e'?nGI3&?3 La""0 ..." matched "[Enter GOWER.] [Before the palace of Antioch.] To sing a song that old was sung, From ashes ancient Gower is come; Assuming man's infirmities, To glad your ear, and please your eyes."
 
junior high

Gad. I experienced junior high twice, and it crippled me for years.

My first porn was a junior high cat who starts a junior high love cult. It was a very liberating thing to write, but nobody will touch it, commercially.
 
Not just twice, honey. We've all experienced junior high an infinite number of times and are experiencing it even now. Or maybe Stephen Hawking was wrong about the infinite number of universes...

;)
 
*bowing low* to the Patron Saint of Monkeys

:D

~lucky monkey
 

Attachments

  • lm_logo.gif
    lm_logo.gif
    52.3 KB · Views: 15
infinite junior highs-- gack.

I admit, shereads,it did take a helluva while to move beyond it.

I graduated at sixteen, so everyone around me went crazy while I didn't. All the guys pounding their chests and ripping up the vegetation, all the girls suddenly having profound secrets which they advertised from the rooftops.

Then it hit me when it was already old stuff to everyone else, and I got the worst kind of mockery and pariah-hood.

Dude. But I think I got over it by the time I was thirty-eight or forty-two.

Partly it was writing Augie and the Love Cult that did it. Partly it was my daughter leaving home for good and all and the attendant distancing from the adolescents. They came around a lot less often to see me than they had to see her, for some reason.
 
Still no "spank the monkey" jokes?

What is it with you people?
 
'And all the monkeys aren't in the zoo,
everyday you meet quite a few,
so you see, it's all up to you,
you can be better than you are,
you could be swinging on a star.'

Snoopy
 
Woody Allen: Then one day they got quite excited as they looked at the typewritten sheet, it said: "To be or not to be, that is the gazonenplat."

Simpsons: Mr Burns checking on his infinite monkey; " It was the best of times it was the blurst of times?"

I don't think infinite monkeys are equatable with a random typing programme, although I can see myself visiting that page quite often.

I thought the 800 X 600 pixels idea was infinitely more thrilling. Although you wouldn't be able to identify them as such the picture would produce the likenesses of Christ, Buddah, Ghengis Kahn, Harald Hadrada, every person that ever lived and will ever live.

Gauche
 
lucky-E-leven said:
*bowing low* to the Patron Saint of Monkeys

:D

~lucky monkey

Monkeys have no need of saints. They're lucky.
 

Attachments

  • luckymonkey.jpg
    luckymonkey.jpg
    19.7 KB · Views: 13
gauchecritic said:
I thought the 800 X 600 pixels idea was infinitely more thrilling. Although you wouldn't be able to identify them as such the picture would produce the likenesses of Christ, Buddah, Ghengis Kahn, Harald Hadrada, every person that ever lived and will ever live.

Gauche

I wish I got it.
 
This just in: infinity hasn't always existed.


Infinity and beyond

~ John Sanford in The Stanford Report

The ancient Greeks developed mathematics into a theoretical discipline. But conventional wisdom has always held that they disliked dealing with infinity because it's a messy concept. "Infinities give rise to all sorts of slippery problems," Netz explained. {Riviel Netz, scholar of Greek Mathematics}


http://news-service.stanford.edu/news/2002/november6/archimedes-116.html
 
No one has mentioned it's "The Year of the Monkey". Duh. Right now, people.

Perdita

p.s. really idle people are still arguing about "who" wrote Shakespeare (vs. what). On that note, I think it was the Venetians who introduced monkeys as typesetters during Carnivale. They had the most elaborate uniforms too.
 
Back
Top