probability sequence of sums of heads contains n in heads or tails
Source: 1984 Polish MO Finals p4
February 25, 2020
probabilityCoinrecurrence relationSumSequence
Problem Statement
A coin is tossed times, and the outcome is written in the form (), where or depending on whether the result of the -th toss is the head or the tail, respectively. Set for , and let be the probability that the sequence contains the number . Express in terms of and .