Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

What happens to the infinite monkey theorem when there are an infinite number of keys on the typewriter? So what is the probability of a finite string of keys like the works of Shakespeare being typed up. Thanks for any insights.

share|improve this question
    
What is the cardinality of the set of monkeys? The set of keys? –  Potato May 26 '13 at 1:40

1 Answer 1

up vote 8 down vote accepted

You need to pick a probability distribution over the keys. If the number of keys is at most countable and each key occurs with positive probability, then the infinite monkey theorem continues to hold and the proof is the same (any finite string only uses finitely many keys so you can ignore the rest). If one of the keys occurs with probability zero and it also occurs in your string, then the string occurs with probability zero.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.