I have the question
If the chance of rain vs. sun is 50:50 what is the chance of having 2 consecutive rainy days in a 5-day period?
I would solve it by saying that two consecutive rainy days can only happen with
RRSSS
SRRSS
SSRRS
SSSRR
and there is a total of $2^5 = 32$ combinations.
So the probability is
$$ P = \frac{4}{2^5} = \frac{4}{32} = \frac{1}{8} $$
but what if I have to determine the chance of having 321 rainy days in a 31289-day period?
How do I more systematically determine the number of outcomes?