UPI en Español  |   UPI Asia  |   About UPI  |   My Account
Search:
Go

Virtual monkeys typing Shakespeare?

|
 
Published: Sept. 26, 2011 at 7:10 PM

LONDON, Sept. 26 (UPI) -- Virtual monkeys randomly hitting keys on virtual typewriters are close to reproducing the works of Shakespeare, a U.S. computer programmer says.

Jesse Anderson said he initiated the program to test the oft-repeated theory that an infinite number of monkeys sitting at an infinite number of typewriters would eventually reproduce the works of Shakespeare by chance, Britain's The Daily Telegraph reported Monday.

Anderson, a software developer from Nevada, started millions of small computer programs -- his "virtual monkeys" -- on a cloud computing system, and set them to creating random sequences of nine characters.

If a sequence appeared anywhere in one of Shakespeare's works, it was matched against the relevant passage and checked off the list.

The "monkeys" have already created all the words in the poem A Lover's Complaint and are 99.99 percent of the way through Shakespeare's complete works, Anderson said.

The experiment doesn't actually test the infinite monkey theorem because it saves correct sections of text while discarding all wrong guesses, experts said.

For the monkeys to type up the complete works with all words in correct order without mistakes would take much longer than the age of the universe, said Ian Steward, a professor of mathematics at Warwick University.

© 2011 United Press International, Inc. All Rights Reserved. Any reproduction, republication, redistribution and/or modification of any UPI content is expressly prohibited without UPI's prior written consent.

Order reprints
Join the conversation
Most Popular Collections
'Star Trek Into Darkness' screening NBC upfronts Met Ball 2013
'Great Gatsby' premieres in New York Spire raised on top of One WTC 2013: Celebrity break ups and divorces
Additional Odd News Stories
Your Daily Horoscope
The almanac
1 of 14
The 2013 Billboard Music Awards
View Caption
Singer Miley Cyrus arrives at the 2013 Billboard Music Awards held at the MGM Grand Hotel in Las Vegas, Nevada on May 19, 2013. UPI/Jim Ruymen
fark
It doesn't make math any easier, but Barbie is trading in her Mailbu home for a more sophisticated...
Nigerian forces hunting Islamist rebels kill seventeen members of Boko Haram. You'll never hear...
Three people figure out a way around those pesky background checks at the gun store
CBS' Bob Schieffer to administration, "This isn't Watergate, so why are you acting exactly like...
A restraining order against a crazy ex-girlfriend doesn't do you any good if she still has the key...
Couple flying to Dakar learn what it's like to be airline baggage