Hi all, I've posted here along time ago under a different name, it was probably only 10 times or so. I forgot which email it was tied to so that account is gone.

I'm in a pattern recognition class right now but my probability background is very weak.

This is in relation to the infinite monkey problem. It is for homework but I'm not asking for a solution just a tip on where to look or even an explanation of a simpler version of this problem.

The problem is actually on average how long would it take for a monkey to produce Hamlet if he had an editor who strikes away each incorrect stroke as soon as they happen. He types at 1 character per minute and there are 27 characters.

I reduced this problem to this:

Lets start with a fair 6 sided die. What is the AVERAGE number of rolls I would need to roll (any number) let's say a 5?

Once I can answer that answering the original problem should be trivial.

It seems like this is going to come down to some integral or infinite series. I haven't seen any reference to this in my notes yet and I'm trying to get a head start.