Monkeys hitting random keys on typewriters (or tablets) would take eons to write Hamlet but not quite as long to write something better than Hamlet. It’s logical, even if it’s almost completely useless information. From Alex Mayyasi at Priceonomics:
“Mathematicians have spent time calculating how long it would take a monkey to write a copy of Hamlet (even if they perform better than the macaques in England, the answer is a really long time — orders of magnitude longer than the universe has existed). But Borges’s Total Library idea suggests an important corollary to the Infinite Monkey Theorem: a monkey hitting random keys on a typewriter would mostly likely write something superior to Shakespeare long before it produced a copy of Hamlet.
The logic is simple. The odds of a monkey writing an intelligible sentence are low, but the odds of one writing a sentence from Hamlet are astronomical because there are many possible intelligible sentences but a limited number of sentences in Hamlet. In the same way, there are a limited number of works by Shakespeare, but there are an almost infinite number of plays and books that are better than Shakespeare ranging from a copy of Hamlet with one small, superior tweak to yet-to-be-written sci-fi novels to George R.R. Martin’s Game of Thrones series.”
Tags: Alex Mayyasi, Jorge Luis Borges