Possible Duplicate:
Probability for the length of the longest run in $n$ Bernoulli trials
Suppose a fair coin is tossed n times. Determine the probability that exactly r consecutive heads will occur. Is there a closed form to solve this problem?
Possible Duplicate:
Probability for the length of the longest run in $n$ Bernoulli trials
Suppose a fair coin is tossed n times. Determine the probability that exactly r consecutive heads will occur. Is there a closed form to solve this problem?