DELETED! I misunderstood the question. I was confused at the part "A coin is flipped until you get a tails." Which means that I need to keep tossing the coin to get at least 4 heads in a row, without a tail getting in the way.
I no longer need assistance, but thank you! (original question below, if anyone wanted to know)
I no longer need assistance, but thank you! (original question below, if anyone wanted to know)
Last edited: