Subscribe now

Mathematics

Chimpanzees will never randomly type the complete works of Shakespeare

The infinite monkey theorem states that illiterate primates could write great literature with enough time, but the amount of time needed is much longer than the lifespan of the universe

By James Woodford

31 October 2024

“Alas, poor ape, how thou sweat’st!”

Colin Waters/Alamy

If every chimpanzee on Earth were given a typewriter, they wouldn’t reproduce the works of William Shakespeare even if they kept on typing until the heat death of the universe, researchers have calculated.

The so-called infinite monkey theorem states that if you had an infinite number of primates, or one primate had infinite time, they would almost certainly type out any given text an infinite number of times.

The origins of the theorem are obscure, but it is commonly attributed…

Sign up to our weekly newsletter

Receive a weekly dose of discovery in your inbox! We'll also keep you up to date with New Scientist events and special offers.

Sign up

To continue reading, subscribe today with our introductory offers

Unlock this article

No commitment, cancel anytime*

Offer ends 15 January 2025.

*Cancel anytime within 14 days of payment to receive a refund on unserved issues.

Inclusive of applicable taxes (VAT)

or

Existing subscribers

Sign in to your account