This is an extension of a question in the textbook, "Mathematical Statistics and Data Analysis", in which Rice asks for the probability of a sequence of three heads when a fair coin is flipped five times.
When doing the question by Rice, I was able to do a quick list in my head of the combinations and come to an answer but what if the numbers are too large? Is there a systematic approach to questions like these? Could you also go over the intuition behind it?