Quote from tgtrader:
...now, another question. What are the odds that you get heads 4 times in a row and a tail on the 5th flip? (1/2) * (1/2) * (1/2) * (1/2) * (1/2) = 1/32, exactly the same. What about heads-tails-tails-heads-tails? Still (1/2) * (1/2) * (1/2) * (1/2) * (1/2) = 1/32.
Correct. But if you do not specify the order of the events, but just their number, the probabilities change.
In the first example, the event is {heads occur 4 times}.
P{heads occurs 5 times in 5 trials} = 5/32
In the second example, the event is {heads occurs 2 times}
P{heads occurs 2 times in 5 trials} = 10/32
