Part (a): A pair of dice is cast until either the sum of seven or eight appears. Show that the probability of a seven before an eight is 6/11.
Part (b): Next, this pair of dice is cast until a seven appears twice or until each of a six and eight has appeared at least once. Show the probability of the six and eight occurring before two sevens.
We define states as: (Number of losing sums seen, Target A seen?, Target B seen?)
Terminal states: WIN = both targets seen before losing limit, LOSE = losing limit reached