The Infinite Monkey Theorem states that a monkey hitting keys completely at random on a typewriter for an infinite amount of time will, eventually, type any given text. Even the complete works of William Shakespeare. Some quotes are truly amazing. Consider the famous quote, "NOT TODAY" --Arya Stark That's 9 amazing characters.
The Infinite Monkey Theorem states that a monkey hitting keys completely at random on a typewriter for an infinite amount of time will, eventually, type any given text. Even the complete works of William Shakespeare.
Some quotes are truly amazing. Consider the famous quote,
"NOT TODAY"
--Arya Stark
That's 9 amazing characters.
Suppose a monkey is seated in front of a KEYBOARD WITH 28 CHARACTERS (one for each of the 26 letters in the alphabet, plus the space bar, and a comma).
Suppose the monkey types only 9 characters completely at random. If X is the number of different 9 character strings it could have typed, then the chances that it typed the quote is one divided by X. What is X?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps