FACTOID # 13: New York has America's lowest percentage of residents who are veterans.

 Home Encyclopedia Statistics States A-Z Flags Maps FAQ About

 WHAT'S NEW

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

(* = Graphable)

Encyclopedia > Infinite monkey theorem
Given enough time, a hypothetical chimpanzee typing at random would, as part of its output, almost surely produce one of Shakespeare's plays (or any other text).

Variants of the theorem include multiple and even infinitely many typists, and the target text varies between an entire library and a single sentence. The history of these statements can be traced back to Aristotle's Metaphysics and Cicero's De natura deorum, through Blaise Pascal and Jonathan Swift, and finally to modern statements with their iconic typewriters. In the early 20th century, Émile Borel and Arthur Eddington used the theorem to illustrate the timescales implicit in the foundations of statistical mechanics. Various Christian apologists on the one hand, and Richard Dawkins on the other, have argued about the appropriateness of the monkeys as a metaphor for evolution. For other uses, see Aristotle (disambiguation). ... For other uses, see Cicero (disambiguation). ... Blaise Pascal (pronounced ), (June 20 [[1624 // ]] â€“ August 19, 1662) was a French mathematician, physicist, and religious philosopher. ... Jonathan Swift Jonathan Swift (November 30, 1667 â€“ October 19, 1745) was an Irish cleric, satirist, essayist, political pamphleteer (first for Whigs then for Tories), and poet, famous for works like Gullivers Travels, A Modest Proposal, A Journal to Stella, The Drapiers Letters, The Battle of the Books, and... FÃ©lix Ã‰douard Justin Ã‰mile Borel (January 7, 1871 â€“ February 3, 1956) was a French mathematician and politician. ... One of Sir Arthur Stanley Eddingtons papers announced Einsteins theory of general relativity to the English-speaking world. ... Statistical mechanics is the application of probability theory, which includes mathematical tools for dealing with large populations, to the field of mechanics, which is concerned with the motion of particles or objects when subjected to a force. ... Apologetics is the field of study concerned with the systematic defense of a position. ... Clinton Richard Dawkins, FRS (born March 26, 1941) is a British ethologist, evolutionary biologist and popular science writer who holds the Charles Simonyi Chair for the Public Understanding of Science at the University of Oxford. ... This article is about evolution in biology. ...

Today, popular interest in the typing monkeys is sustained by numerous appearances in literature, television and radio, music, and the Internet. In 2003, a humorous experiment was performed with six Celebes Crested Macaques, but their literary contribution was five pages consisting largely of the letter S. Binomial name Macaca nigra (Desmarest, 1822) The Celebes Crested Macaque (Macaca nigra), also known as the Black Ape, is an Old World monkey that lives in the northeast of the Indonesian island Sulawesi (Celebes) as well as on smaller neighboring islands. ...

### Direct proof

There is a straightforward proof of this theorem. If two events are statistically independent, (i.e. neither affects the outcome of the other), then the probability of both happening equals the product of the probabilities of each one happening independently. E.g. if the chance of rain in Sydney on a particular day is 0.3 and the chance of an earthquake in San Francisco on that day is 0.008, then the chance of both happening on that same day is 0.3 × 0.008 = 0.0024. In probability theory, to say that two events are independent intuitively means that knowing whether or not one of them occurs makes it neither more probable nor less probable that the other occurs. ... Probability is the likelihood or chance that something is the case or will happen. ...

Suppose the typewriter has 50 keys, and the word to be typed is "banana". Typing at random, the chance that the first letter typed is b is 1/50, and the chance that the second letter typed is a is also 1/50, and so on, because events are independent. So the chance of the first six letters matching banana is Mechanical desktop typewriters, such as this Underwood Five, were long time standards of government agencies, newsrooms, and sales offices. ...

(1/50) × (1/50) × (1/50) × (1/50) × (1/50) × (1/50) = (1/50)6.

For the same reason, the chance that the next 6 letters match banana is also (1/50)6, and so on.

From the above, the chance of not typing banana in a given block of 6 letters is 1 − (1/50)6. Because each block is typed independently, the chance Xn of not typing banana in any of the first n blocks of 6 letters is

$X_n=left(1-frac{1}{50^6}right)^n.$

As n grows, Xn gets smaller. For an n of a million, Xn is 99.99%, but for an n of 10 billion Xn is 53% and for an n of 100 billion it is 0.17%. As n approaches infinity, the probability Xn approaches zero; that is, by making n large enough, Xn can be made as small as one likes.[1][2] Wikibooks Calculus has a page on the topic of Limits In mathematics, the concept of a limit is used to describe the behavior of a function as its argument either gets close to some point, or as it becomes arbitrarily large; or the behavior of a sequences elements as...

The same argument shows why at least one of infinitely many monkeys will (almost surely) produce a text as quickly as it would be produced by a perfectly accurate human typist copying it from the original. In this case Xn = (1 − (1/50)6)n where Xn represents the probability that none of the first n monkeys types banana correctly on their first try. When we consider 100 billion monkeys, the probability falls to 0.17%, and as the number of monkeys n increases to infinity the value of Xn — the probability of the monkeys failing to reproduce the given text — decreases to zero. This is equivalent to stating that the probability that one or more of an infinite number of monkeys will produce a given text on the first try is 100%, or that it is almost certain they will do so.

### Infinite strings

The two statements above can be stated more generally and compactly in terms of strings, which are sequences of characters chosen from some finite alphabet: In computer programming and formal language theory, (and other branches of mathematics), a string is an ordered sequence of symbols. ...

• Given an infinite string where each character is chosen uniformly at random, any given finite string almost surely occurs as a substring at some position (and indeed, infinitely many positions).
• Given an infinite sequence of infinite strings, where each character of each string is chosen uniformly at random, any given finite string almost surely occurs as a prefix of one of these strings (and indeed, as a prefix of infinitely many of these strings in the sequence).

Both follow easily from the second Borel-Cantelli lemma. For the second theorem, let Ek be the event that the kth string begins with the given text. Because this has some fixed nonzero probability p of occurring, the Ek are independent, and the below sum diverges, In probability theory and statistics, the discrete uniform distribution is a discrete probability distribution that can be characterized by saying that all values of a finite set of possible values are equally probable. ... In probability theory, the Borel_Cantelli lemma is a theorem about sequences of events. ... In probability theory, an event is a set of outcomes (a subset of the sample space) to which a probability is assigned. ...

$sum_{i=1}^infty P(E_k) = sum_{i=1}^infty p = infty,$

the probability that infinitely many of the Ek occur is 1. The first theorem is shown similarly; one can divide the random string into nonoverlapping blocks matching the size of the desired text, and make Ek the event where the kth block equals the desired string.[3]

### Probabilities

Ignoring punctuation, spacing, and capitalization, a monkey typing letters uniformly at random has a chance of one in 26 of correctly typing the first letter of Hamlet. It has a chance of one in 676 (26 × 26) of typing the first two letters. Because the probability shrinks exponentially, at 20 letters it already has only a chance of one in 2620 = 19,928,148,895,209,409,152,340,197,376 (almost 2 x 1028) roughly equivalent to the probability of buying 4 lottery tickets consecutively and winning the jackpot each time. In the case of the entire text of Hamlet, the probabilities are so vanishingly small they can barely be conceived in human terms. Say the text of Hamlet contains 130,000 letters (it is actually more, even stripped of punctuation), then there is a probability of one in 3.4 × 10183,946 to get the text right at the first trial. The average number of letters that needs to be typed until the text appears is also 3.4 × 10183,946.[4] The term punctuation has two different linguistic meanings: in general, the act and the effect of punctuating, i. ... For other uses, see Hamlet (disambiguation). ... In mathematics, exponential growth (or geometric growth) occurs when the growth rate of a function is always proportional to the functions current size. ... A lottery is a popular form of gambling which involves the drawing of lots for a prize. ...

Even if the observable universe were filled with monkeys typing for all time, their total probability to produce a single instance of Hamlet would still be less than one in 10183,800. As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event…", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers." This is from their textbook on thermodynamics, the field whose statistical foundations motivated the first known expositions of typing monkeys.[5] Herbert Kroemer (born August 25, 1928) is a Professor of Electrical and Computer Engineering at University of California, Santa Barbara, received a Ph. ... Thermodynamics (from the Greek Î¸ÎµÏÎ¼Î·, therme, meaning heat and Î´Ï…Î½Î±Î¼Î¹Ï‚, dynamis, meaning power) is a branch of physics that studies the effects of changes in temperature, pressure, and volume on physical systems at the macroscopic scale by analyzing the collective motion of their particles using statistics. ...

## History

### Statistical mechanics

In one of the forms in which probabilists now know this theorem, with its "dactylographic" [i.e., typewriting] monkeys (French: singes dactylographes; the French word singe covers both the monkeys and the apes), appeared in Émile Borel's 1913 article "Mécanique Statistique et Irréversibilité" (Statistical mechanics and irreversibility),[6] and in his book "Le Hasard" in 1914. His "monkeys" are not actual monkeys; rather, they are a metaphor for an imaginary way to produce a large, random sequence of letters. Borel said that if a million monkeys typed ten hours a day, it was extremely unlikely that their output would exactly equal all the books of the richest libraries of the world; and yet, in comparison, it was even more unlikely that the laws of statistical mechanics would ever be violated, even briefly. Approximate worldwide distribution of monkeys. ... This article is about the biological superfamily. ... FÃ©lix Ã‰douard Justin Ã‰mile Borel (January 7, 1871 â€“ February 3, 1956) was a French mathematician and politician. ... Statistical mechanics is the application of probability theory, which includes mathematical tools for dealing with large populations, to the field of mechanics, which is concerned with the motion of particles or objects when subjected to a force. ... A random sequence is a kind of stochastic process. ...

The physicist Arthur Eddington drew on Borel's image further in The Nature of the Physical World (1928), writing: One of Sir Arthur Stanley Eddingtons papers announced Einsteins theory of general relativity to the English-speaking world. ...

If I let my fingers wander idly over the keys of a typewriter it might happen that my screed made an intelligible sentence. If an army of monkeys were strumming on typewriters they might write all the books in the British Museum. The chance of their doing so is decidedly more favourable than the chance of the molecules returning to one half of the vessel.[7]

These images invite the reader to consider the incredible improbability of a large but finite number of monkeys working for a large but finite amount of time producing a significant work, and compare this with the even greater improbability of certain physical events. Any physical process that is even less likely than such monkeys' success is effectively impossible, and it may safely be said that such a process will never happen.[5]

### Origins and "The Total Library"

In a 1939 essay entitled "The Total Library", Argentine writer Jorge Luis Borges traced the infinite-monkey concept back to Aristotle's Metaphysics. Explaining the views of Leucippus, who held that the world arose through the random combination of atoms, Aristotle notes that the atoms themselves are homogeneous and their possible arrangements only differ in position and ordering. The Greek philosopher compares this to the way that a tragedy and a comedy consist of the same "atoms", i.e., alphabetic characters. Three centuries later, Cicero's De natura deorum (On the Nature of the Gods) argued against the atomist worldview: Borges redirects here. ... For other uses, see Aristotle (disambiguation). ... This article is about the philosopher. ... For other uses, see Atom (disambiguation). ... For other uses, see Cicero (disambiguation). ...

He who believes this may as well believe that if a great quantity of the one-and-twenty letters, composed either of gold or any other matter, were thrown upon the ground, they would fall into such order as legibly to form the Annals of Ennius. I doubt whether fortune could make a single verse of them.[8]

Borges follows the history of this argument through Blaise Pascal and Jonathan Swift, then observes that in his own time, the vocabulary had changed. By 1939, the idiom was "that a half-dozen monkeys provided with typewriters would, in a few eternities, produce all the books in the British Museum." (To which Borges adds, "Strictly speaking, one immortal monkey would suffice.") Borges then imagines the contents of the Total Library which this enterprise would produce if carried to its fullest extreme: Blaise Pascal (pronounced ), (June 20 [[1624 // ]] â€“ August 19, 1662) was a French mathematician, physicist, and religious philosopher. ... Jonathan Swift Jonathan Swift (November 30, 1667 â€“ October 19, 1745) was an Irish cleric, satirist, essayist, political pamphleteer (first for Whigs then for Tories), and poet, famous for works like Gullivers Travels, A Modest Proposal, A Journal to Stella, The Drapiers Letters, The Battle of the Books, and...

Everything would be in its blind volumes. Everything: the detailed history of the future, Aeschylus' The Egyptians, the exact number of times that the waters of the Ganges have reflected the flight of a falcon, the secret and true nature of Rome, the encyclopedia Novalis would have constructed, my dreams and half-dreams at dawn on August 14, 1934, the proof of Pierre Fermat's theorem, the unwritten chapters of Edwin Drood, those same chapters translated into the language spoken by the Garamantes, the paradoxes Berkeley invented concerning Time but didn't publish, Urizen's books of iron, the premature epiphanies of Stephen Dedalus, which would be meaningless before a cycle of a thousand years, the Gnostic Gospel of Basilides, the song the sirens sang, the complete catalog of the Library, the proof of the inaccuracy of that catalog. Everything: but for every sensible line or accurate fact there would be millions of meaningless cacophonies, verbal farragoes, and babblings. Everything: but all the generations of mankind could pass before the dizzying shelves—shelves that obliterate the day and on which chaos lies—ever reward them with a tolerable page.[9]

Borges's total library concept was the main theme of his widely-read 1941 short story "The Library of Babel", which describes an unimaginably vast library consisting of interlocking hexagonal chambers, together containing every possible volume that could be composed from the letters of the alphabet and some punctuation characters. The Library of Babel (Spanish: ) is a short story by Argentine author (and librarian) Jorge Luis Borges, conceiving of a universe in the form of a vast library containing all possible 410-page books that can be composed in a certain character set. ...

## Applications and Criticisms

### Evolution

Thomas Huxley is sometimes misattributed with proposing a variant of the theory in his debates with Samuel Wilberforce.

In his 1931 book The Mysterious Universe, Eddington's rival James Jeans attributed the monkey parable to a "Huxley", presumably meaning Thomas Henry Huxley. This attribution is incorrect.[10] Today, it is sometimes further reported that Huxley applied the example in a now-legendary debate over Charles Darwin's Origin of Species with the Anglican Bishop of Oxford, Samuel Wilberforce, held at a meeting of the British Association for the Advancement of Science at Oxford in June 30, 1860. This story suffers not only from a lack of evidence, but the fact that in 1860 the typewriter itself had yet to emerge.[11] Primates were still a sensitive topic for other reasons, and the Huxley-Wilberforce debate did include byplay about apes: the bishop asked whether Huxley was descended from an ape on his grandmother's or his grandfather's side, and Huxley responded something to the effect that he would rather be descended from an ape than from someone who argued as dishonestly as the bishop.[12] Image File history File links Thomas_Henry_Huxley_-_Project_Gutenberg_eText_16935. ... Image File history File links Thomas_Henry_Huxley_-_Project_Gutenberg_eText_16935. ... Thomas Henry Huxley, FRS (4 May 1825 â€“ 29 June 1895) [1] was an English biologist, known as Darwins Bulldog for his advocacy of Charles Darwins theory of evolution. ... A photo of Samuel Wilberforce by Lewis Carroll Samuel Wilberforce (September 7, 1805 - July 19, 1873), English bishop, third son of William Wilberforce, was born at Clapham Common, London. ... Sir James Hopwood Jeans (September 11, 1877 in Ormskirk â€“ September 16, 1946 in Dorking) was a British physicist, astronomer, and mathematician. ... Thomas Henry Huxley PC, FRS (4 May 1825 Ealing â€“ 29 June 1895 Eastbourne, Sussex) was an English biologist, known as Darwins Bulldog for his advocacy of Charles Darwins theory of evolution. ... For other people of the same surname, and places and things named after Charles Darwin, see Darwin. ... The 1859 edition of On the Origin of Species First published in 1859, The Origin of Species (full title On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life) by British naturalist Charles Darwin is one of the pivotal... A photo of Samuel Wilberforce by Lewis Carroll Samuel Wilberforce (September 7, 1805 - July 19, 1873), English bishop, third son of William Wilberforce, was born at Clapham Common, London. ... The British Association or the British Association for the Advancement of Science or the BA is a learned society with the object of promoting science, directing general attention to scientific matters, and facilitating intercourse between scientific workers. ... is the 181st day of the year (182nd in leap years) in the Gregorian calendar. ... 1860 is the leap year starting on Sunday. ...

Despite the original mix-up, monkey-and-typewriter arguments are now common in arguments over evolution. For example, Doug Powell argues as a Christian apologist that even if a monkey accidentally types the letters of Hamlet, it has failed to produce Hamlet because it lacked the intention to communicate. His parallel implication is that natural laws could not produce the information content in DNA.[13] A more common argument is represented by Reverend John F. MacArthur, who claims that the genetic mutations necessary to produce a tapeworm from an amoeba are as unlikely as a monkey typing Hamlet's soliloquy, and hence the odds against the evolution of all life are impossible to overcome.[14] Apologetics is the field of study concerned with the systematic defense of a position. ... The structure of part of a DNA double helix Deoxyribonucleic acid, or DNA, is a nucleic acid molecule that contains the genetic instructions used in the development and functioning of all known living organisms. ... John MacArthur John F. MacArthur, Jr. ...

Evolutionary biologist Richard Dawkins employs the typing monkey concept in his 1986 book The Blind Watchmaker to demonstrate the abilities of natural selection in producing biological complexity out of random mutations. In the simulation experiment he describes, Dawkins has his Weasel program produce the Hamlet phrase METHINKS IT IS LIKE A WEASEL by typing random phrases but constantly freezing those parts of the output which already match the goal. The point is that random string generation merely serves to furnish raw materials, while selection imparts the information.[15] This article or section does not cite any references or sources. ... Clinton Richard Dawkins, FRS (born March 26, 1941) is a British ethologist, evolutionary biologist and popular science writer who holds the Charles Simonyi Chair for the Public Understanding of Science at the University of Oxford. ... The Blind Watchmaker is a 1986 book by Richard Dawkins in which he presents an explanation of, and argument for, the theory of evolution by means of natural selection. ... For other uses, see Natural selection (disambiguation). ... Complexity in general usage is the opposite of simplicity. ... For linguistic mutation, see Apophony. ... Hamlet: Do you see yonder cloud thats almost in shape of a camel? Polonius: By the mass, and tis like a camel, indeed. ...

A different avenue for rejecting the analogy between evolution and an unconstrained monkey lies in the problem that the monkey types only one letter at a time, independently of the other letters. Hugh Petrie argues that a more sophisticated setup is required, in his case not for biological evolution but the evolution of ideas:

In order to get the proper analogy, we would have to equip the monkey with a more complex typewriter. It would have to include whole Elizabethan sentences and thoughts. It would have to include Elizabethan beliefs about human action patterns and the causes, Elizabethan morality and science, and linguistic patterns for expressing these. It would probably even have to include an account of the sorts of experiences which shaped Shakespeare's belief structure as a particular example of an Elizabethan. Then, perhaps, we might allow the monkey to play with such a typewriter and produce variants, but the impossibility of obtaining a Shakespearean play is no longer obvious. What is varied really does encapsulate a great deal of already-achieved knowledge.[16]

James W. Valentine, while admitting that the classic monkey's task is impossible, finds that there is a worthwhile analogy between written English and the metazoan genome in this other sense: both have "combinatorial, hierarchical structures" that greatly constrain the immense number of combinations at the alphabet level.[17] James W. Valentine is an American evolutionary biologist and Professor Emeritus in the Department of Integrative Biology at the University of California, Berkeley. ... Phyla Radiata Cnidaria Ctenophora - Comb jellies Bilateria Protostomia Acoelomorpha Platyhelminthes - Flatworms Nemertina - Ribbon worms Gastrotricha Gnathostomulida - Jawed worms Micrognathozoa Rotifera - Rotifers Acanthocephala Priapulida Kinorhyncha Loricifera Entoprocta Nematoda - Roundworms Nematomorpha - Horsehair worms Cycliophora Mollusca - Mollusks Sipuncula - Peanut worms Annelida - Segmented worms Tardigrada - Water bears Onychophora - Velvet worms Arthropoda - Insects, etc. ...

### Literary theory

R. G. Collingwood argued in 1938 that art cannot be produced by accident, and wrote as a sarcastic aside to his critics, Robin George Collingwood (February 22, 1889 - January 9, 1943), British philosopher and historian. ...

…some … have denied this proposition, pointing out that if a monkey played with a typewriter … he would produce … the complete text of Shakespeare. Any reader who has nothing to do can amuse himself by calculating how long it would take for the probability to be worth betting on. But the interest of the suggestion lies in the revelation of the mental state of a person who can identify the 'works' of Shakespeare with the series of letters printed on the pages of a book…[18]

Nelson Goodman took the contrary position, illustrating his point along with Catherine Elgin by the example of Borges' “Pierre Menard, Author of the Quixote”, Nelson Goodman (7 August 1906, Somerville, Maryland â€“ 25 November 1998) was an American philosopher, known for his work on counterfactuals, mereology, the problem of induction, and aesthetics. ... Borgess story Pierre Menard, Author of The Quixote (Pierre Menard, autor del Quijote) originally appeared in Spanish in the Argentine journal Sur, May 1939. ...

What Menard wrote is simply another inscription of the text. Any of us can do the same, as can printing presses and photocopiers. Indeed, we are told, if infinitely many monkeys … one would eventually produce a replica of the text. That replica, we maintain, would be as much an instance of the work, Don Quixote, as Cervantes' manuscript, Menard's manuscript, and each copy of the book that ever has been or will be printed.[19]

In another writing, Goodman elaborates, "That the monkey may be supposed to have produced his copy randomly makes no difference. It is the same text, and it is open to all the same interpretations…." Gérard Genette dismisses Goodman's argument as begging the question.[20] The cover of the paperback edition of Seuils. ...

For Jorge J. E. Gracia, the question of the identity of texts leads to a different question, that of author. If a monkey is capable of typing Hamlet, despite having no intention of meaning and therefore disqualifying itself as an author, then it appears that texts do not require authors. Possible solutions include saying that whoever finds the text and identifies it as Hamlet is the author; or that Shakespeare is the author, the monkey his agent, and the finder merely a user of the text. These solutions have their own difficulties, in that the text appears to have a meaning separate from the other agents: what if the monkey operates before Shakespeare is born, or if Shakespeare is never born, or if no one ever finds the monkey's typescript?[21] Jorge J. E. Gracia holds the Samuel P. Capen Chair in Philosophy and is State University of New York Distinguished Professor. ... For other uses, see Author (disambiguation). ...

### Random number generation

The theorem concerns a thought experiment which cannot be fully carried out in practice, since it is predicted to require prohibitive amounts of time and resources. Nonetheless, it has inspired efforts in finite random text generation. In philosophy, physics, and other fields, a thought experiment (from the German Gedankenexperiment) is an attempt to solve a problem using the power of human imagination. ...

One computer program run by Dan Oliver of Scottsdale, Arizona, according to an article in The New Yorker, came up with a result on August 4, 2004: After the group had worked for 42,162,500,000 billion billion years, one of the "monkeys" typed, “VALENTINE. Cease toIdor:eFLP0FRjWK78aXzVOwm)-‘;8.t . . ." The first 19 letters of this sequence can be found in "The Two Gentlemen of Verona". Other teams have reproduced 18 characters from "Timon of Athens", 17 from "Troilus and Cressida", and 16 from "Richard II".[22] For other uses, see New Yorker. ...

A website entitled The Monkey Shakespeare Simulator, launched on July 1, 2003, contained a Java applet that simulates a large population of monkeys typing randomly, with the stated intention of seeing how long it takes the virtual monkeys to produce a complete Shakespearean play from beginning to end. For example, it produced this partial line from Henry IV, Part 2, reporting that it took "2,737,850 million billion billion billion monkey-years" to reach 24 matching characters: is the 182nd day of the year (183rd in leap years) in the Gregorian calendar. ... Year 2003 (MMIII) was a common year starting on Wednesday of the Gregorian calendar. ... A Java applet is an applet delivered in the form of Java bytecode. ... Henry IV part 2 is a history play by William Shakespeare, first published as part of Shakespeares First Folio. ...

RUMOUR. Open your ears; 9r"5j5&?OWTY Z0d…

Due to processing power limitations, the program uses a probabilistic model (by using a random number generator or RNG) instead of actually generating random text and comparing it to Shakespeare. When the simulator "detects a match" (that is, the RNG generates a certain value or a value within a certain range), the simulator simulates the match by generating matched text.[23] A random number generator is a computational or physical device designed to generate a sequence of elements (usually numbers), such that the sequence can be used as a random one. ...

Questions about the statistics describing how often an ideal monkey should type certain strings can motivate practical tests for random number generators as well; these range from the simple to the "quite sophisticated". Computer science professors George Marsaglia and Arif Zaman report that they used to call such tests "overlapping m-tuple tests" in lecture, since they concern overlapping m-tuples of successive elements in a random sequence. But they found that calling them "monkey tests" helped to motivate the idea with students. They published a report on the class of tests and their results for various RNGs in 1993.[24] George Marsaglia is a professor of statistics at Florida State University. ... Dr. Arif Zaman was a member of the Statistics Department at Purdue University and later at Florida State University for 12 years before he joined LUMS in 1994. ... In mathematics, a tuple is a finite sequence (also known as an ordered list) of objects, each of a specified type. ...

## Real monkeys

Primate behaviorists Cheney and Seyfarth remark that real monkeys would indeed have to rely on chance to have any hope of producing Romeo and Juliet. Unlike apes and particularly chimpanzees, the evidence suggests that monkeys lack a theory of mind and are unable to differentiate between their own and others' knowledge, emotions, and beliefs. Even if a monkey could learn to write a play and describe the characters' behavior, it could not reveal the characters' minds and so build an ironic tragedy.[25] For other uses, see Romeo and Juliet (disambiguation). ... This article is about the biological superfamily. ... Type species Simia troglodytes Blumenbach, 1775 distribution of Species Pan troglodytes Pan paniscus Chimpanzee, often shortened to chimp, is the common name for the two extant species of apes in the genus Pan. ... The phrase theory of mind (often abbreviated as ToM) is used in several related ways: general categories of theories of mind - theories about the nature of mind, and its structure and processes; theories of mind related to individual minds; in recent years, the phrase theory of mind has more commonly...

In 2003, lecturers and students from the University of Plymouth MediaLab Arts course used a £2,000 grant from the Arts Council to study the literary output of real monkeys. They left a computer keyboard in the enclosure of six Celebes Crested Macaques in Paignton Zoo in Devon in England for a month, with a radio link to broadcast the results on a website. One researcher, Mike Phillips, defended the expenditure as being cheaper than reality TV and still "very stimulating and fascinating viewing".[26] The University of Plymouth is the largest university in the southwest of England, with over 30,000 students and is the fifth largest UK university based on student population. ... The Arts Council of Great Britain was a Quango dedicated to the promotion of the fine arts in Britain. ... Binomial name Macaca nigra (Desmarest, 1822) The Celebes Crested Macaque (Macaca nigra), also known as the Black Ape, is an Old World monkey that lives in the northeast of the Indonesian island Sulawesi (Celebes) as well as on smaller neighboring islands. ... Paignton Zoo Paignton Zoo Environmental Park is situated on the outskirts of the town of Paignton in Devon, England. ... For other uses, see Devon (disambiguation). ... For other uses, see England (disambiguation). ...

Not only did the monkeys produce nothing but five pages[27] consisting largely of the letter S, the lead male began by bashing the keyboard with a stone, and the monkeys continued by urinating and defecating on it. The zoo's scientific officer remarked that the experiment had "little scientific value, except to show that the 'infinite monkey' theory is flawed". Phillips said that the artist-funded project was primarily performance art, and they had learned "an awful lot" from it. He concluded that monkeys "are not random generators. They're more complex than that. … They were quite interested in the screen, and they saw that when they typed a letter, something happened. There was a level of intention there."[26][28] Look up S, s in Wiktionary, the free dictionary. ...

## Popular culture

The infinite monkey theorem and its associated imagery is considered a popular and proverbial illustration of the mathematics of probability, widely known to the general public because of its transmission through popular culture rather than because of its transmission via the classroom.[29] This article is being considered for deletion in accordance with Wikipedias deletion policy. ... Popular culture (or pop culture) is the widespread cultural elements in any given society that are perpetuated through that societys vernacular language or lingua franca. ... Look up proverb in Wiktionary, the free dictionary. ... Popular culture (or pop culture) is the widespread cultural elements in any given society that are perpetuated through that societys vernacular language or lingua franca. ...

The enduring, widespread and popular nature of the knowledge of the theorem was noted in the introduction to a 2001 paper, "Monkeys, Typewriters and Networks — the Internet in the Light of the Theory of Accidental Excellence" (Hoffmann and Hofmann).[30] In 2002, a Washington Post article said: "Plenty of people have had fun with the famous notion that an infinite number of monkeys with an infinite number of typewriters and an infinite amount of time could eventually write the works of Shakespeare."[31] In 2003, the previously mentioned Arts Council funded experiment involving real monkeys and a computer keyboard received widespread press coverage.[32] In 2007, the theorem was listed by Wired magazine in a list of eight classic thought experiments.[33] ... Arts Council England was formed in 1994 when the Arts Council of Great Britain was divided into three separate bodies for England, Scotland and Wales. ... Wired is a full-color monthly American magazine and on-line periodical published in San Francisco, California since March 1993. ... In philosophy, physics, and other fields, a thought experiment (from the German Gedankenexperiment) is an attempt to solve a problem using the power of human imagination. ...

The history of the imagery of 'typing monkeys' dates back at least as far as Borel's use of the metaphor in his essay in 1913, and this imagery has recurred many times since in a variety of media. Today, popular interest in the typing monkeys is sustained by numerous appearances in literature, television and radio, music, and the Internet, as well as graphic novels and stand-up comedy routines.

## Notes and references

1. ^ This shows that the probability of typing "banana" in one of the predefined non-overlapping blocks of six letters tends to 1. In addition the word may appear across two blocks.
2. ^ Isaac, Richard E. (1995). The Pleasures of Probability. Springer, 48–50. ISBN 038794415X.  Isaac generalizes this argument immediately to variable text and alphabet size; the common main conclusion is on p.50.
3. ^ The first theorem is proven by a similar if more indirect route in Gut, Allan (2005). Probability: A Graduate Course. Springer, 97–100. ISBN 0387228330.
4. ^ For any required string of 130,000 letters from the set a-z, the average number of letters that needs to be typed until the string appears is (rounded) 3.4 × 10183,946, except in the case that all letters of the required string are equal, in which case the value is about 4% more, 3.6 × 10183,946. In that case failure to have the correct string starting from a particular position reduces with about 4% the probability of a correct string starting from the next position (i.e., for overlapping positions the events of having the correct string are not independent; in this case there is a positive correlation between the two successes, so the chance of success after a failure is smaller than the chance of success in general).
5. ^ a b Kittel, Charles and Herbert Kroemer (1980). Thermal Physics (2nd ed.). W. H. Freeman Company, 53. ISBN 0-7167-1088-9.
6. ^ Émile Borel (1913). "Mécanique Statistique et Irréversibilité". J. Phys. 5e série 3: 189–196.
7. ^ Arthur Eddington (1928). The Nature of the Physical World: The Gifford Lectures. New York: Macmillan, 72. ISBN 0-8414-3885-4.
8. ^ Marcus Tullius Cicero, De natura deorum, 2.37. Translation from Cicero's Tusculan Disputations; Also, Treatises On The Nature Of The Gods, And On The Commonwealth, C. D. Yonge, principal translator, New York, Harper & Brothers Publishers, Franklin Square. (1877). Downloadable text.
9. ^ Borges, Jorge Luis. "La biblioteca total" (The Total Library), Sur No. 59, August 1939. Trans. by Eliot Weinberger. In Selected Non-Fictions (Penguin: 1999), ISBN 0-670-84947-2.
10. ^ Padmanabhan, Thanu (2005). "The dark side of astronomy". Nature 435: 20–21. doi:doi:10.1038/435020a.  Platt, Suzy; Library of Congress Congressional Research Service (1993). Respectfully quoted: a dictionary of quotations. Barnes & Noble, 388–389. ISBN 0880297689.
11. ^ Rescher, Nicholas (2006). Studies in the Philosophy of Science. ontos verlag, 103. ISBN 3938793201.
12. ^ Lucas, J. R. (June 1979). "Wilberforce and Huxley: A Legendary Encounter". The Historical Journal 22 (2): 313–330.  Also available at [1], Retrieved on 2007-03-07
13. ^ Powell, Doug (2006). Holman Quicksource Guide to Christian Apologetics. Broadman & Holman, 60, 63. ISBN 080549460X.
14. ^ MacArthur, John (2003). Think Biblically!: Recovering a Christian Worldview. Crossway Books, 78–79. ISBN 1581344120.
15. ^ Dawkins, Richard (1986). The Blind Watchmaker. Oxford UP.
16. ^ As quoted in Blachowicz, James (1998). Of Two Minds: Nature of Inquiry. SUNY Press, 109. ISBN 0791436411.
17. ^ Valentine, James (2004). On the Origin of Phyla. University of Chicago Press, 77–80. ISBN 0226845486.
18. ^ p.126 of The Principles of Art, as summarized and quoted by Sclafani, Richard J. (1975). "The logical primitiveness of the concept of a work of art". British Journal of Aesthetics 15 (1). doi:doi:10.1093/bjaesthetics/15.1.14.
19. ^ John, Eileen and Dominic Lopes, editors (2004). The Philosophy of Literature: Contemporary and Classic Readings: An Anthology. Blackwell, 96. ISBN 1-4051-1208-5.
20. ^ Genette, Gérard (1997). The Work of Art: Immanence and Transcendence. Cornell UP. ISBN 0801482720.
21. ^ Gracia, Jorge (1996). Texts: Ontological Status, Identity, Author, Audience. SUNY Press, 1–2, 122–125. ISBN 0-7914-2901-6.
22. ^ [2] Acocella, Joan, "The Typing Life: How writers used to write", The New Yorker, April 9, 2007, a review of The Iron Whim: A Fragmented History of Typewriting (Cornell) 2007, by Darren Wershler-Henry
23. ^ The Monkey Shakespeare Simulator. Retrieved on 2006-06-13. Link inactive as of 2007-02-02.
24. ^ Marsaglia, George and Arif Zaman (1993). "Monkey Tests for Random Number Generators". Computers & Mathematics with Applications 9: 1–10.
25. ^ Cheney, Dorothy L. and Robert M. Seyfarth (1992). How Monkeys See the World: Inside the Mind of Another Species. University of Chicago Press, 253–255. ISBN 0-226-10246-7.
26. ^ a b "No words to describe monkeys' play", BBC News, 2003-05-09. Retrieved on 2007-02-05.
27. ^ Notes Towards the Complete Works of Shakespeare (PDF). vivaria.net (2002). Retrieved on 2006-06-13.
28. ^ Associated Press. "Monkeys Don't Write Shakespeare", Wired News, 2003-05-09. Retrieved on 2007-03-02.
29. ^ Examples of the theorem being referred to as proverbial include: Why Creativity Is Not like the Proverbial Typing Monkey. Jonathan W. Schooler, Sonya Dougal, Psychological Inquiry, Vol. 10, No. 4 (1999); and The Case of the Midwife Toad (Arthur Koestler, New York, 1972, page 30): "Neo-Darwinism does indeed carry the nineteenth-century brand of materialism to its extreme limits—to the proverbial monkey at the typewriter, hitting by pure chance on the proper keys to produce a Shakespeare sonnet." The latter is sourced from Parable of the Monkeys, a collection of historical references to the theorem in various formats.
30. ^ Monkeys, Typewriters and Networks, Ute Hoffmann & Jeanette Hofmann, Wissenschaftszentrum Berlin für Sozialforschung gGmbH (WZB), 2001.
31. ^ "Hello? This is Bob", Ken Ringle, Washington Post, 28 October 2002, page C01.
32. ^ Notes Towards the Complete Works of Shakespeare — some press clippings.
33. ^ The Best Thought Experiments: Schrödinger's Cat, Borel's Monkeys, Greta Lorge, Wired Magazine: Issue 15.06, May 2007.

Herbert Kroemer (born August 25, 1928) is a Professor of Electrical and Computer Engineering at University of California, Santa Barbara, received a Ph. ... The Gifford Lectures were established by the will of Adam Lord Gifford (d. ... Borges redirects here. ... The Library of Babel (Spanish: ) is a short story by Argentine author and librarian Jorge Luis Borges (1899-1986), conceiving of a universe in the form of a vast library containing all possible 410-page books that can be composed in a certain character set. ... Eliot Weinberger (b. ... A digital object identifier (or DOI) is a standard for persistently identifying a piece of intellectual property on a digital network and associating it with related data, the metadata, in a structured extensible way. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... is the 66th day of the year (67th in leap years) in the Gregorian calendar. ... A digital object identifier (or DOI) is a standard for persistently identifying a piece of intellectual property on a digital network and associating it with related data, the metadata, in a structured extensible way. ... For other uses, see New Yorker. ... is the 99th day of the year (100th in leap years) in the Gregorian calendar. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... Year 2006 (MMVI) was a common year starting on Sunday of the Gregorian calendar. ... is the 164th day of the year (165th in leap years) in the Gregorian calendar. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... is the 33rd day of the year in the Gregorian calendar. ... Year 2003 (MMIII) was a common year starting on Wednesday of the Gregorian calendar. ... is the 129th day of the year (130th in leap years) in the Gregorian calendar. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... is the 36th day of the year in the Gregorian calendar. ... Year 2006 (MMVI) was a common year starting on Sunday of the Gregorian calendar. ... is the 164th day of the year (165th in leap years) in the Gregorian calendar. ... Year 2003 (MMIII) was a common year starting on Wednesday of the Gregorian calendar. ... is the 129th day of the year (130th in leap years) in the Gregorian calendar. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... is the 61st day of the year (62nd in leap years) in the Gregorian calendar. ... Arthur Koestler (September 5, 1905, Budapest â€“ March 3, 1983, London) was a Hungarian polymath who became a naturalized British subject. ...

Results from FactBites:

 Infinite Monkey Theorem - Uncyclopedia, the content-free encyclopedia (603 words) The infinite monkey theorem was the WCMC response to unemployment among the monkey community. The theorem, offering jobs to all monkeys until the end of time, was designed to reduce this unemployment, on account of its employment of all monkeys. The infinite monkey theorem was put in practice by Plymouth University in England, who placed a typewriter in a monkey enclosure containing 5 monkeys at the local zoo.
 Infinite monkey theorem - Wikipedia, the free encyclopedia (3363 words) Given an infinite sequence of such infinite strings, where each character of each string is chosen uniformly at random, any given finite string surely occurs as a prefix of one of these infinite strings (and indeed, as a prefix of infinitely many of these strings in the sequence). The theorem is an instance of Kolmogorov's zero-one law. Monkey Literature: Parody of the Infinite monkey theorem with randomly generated poems.
More results at FactBites »

Share your thoughts, questions and commentary here