One of two independent flip sequences reaches two heads simultaneously. What is the distribution of others tosses.

In this answer a way to find the probabilities.

Let $p$ denote the probability at start position, let $q$ denote the probability under condition that in the first round a tail and a head are thrown and let $r$ denote the probability under condition that in the first round two heads are thrown.

If it concerns the probability on HH then:

  • $p=\frac14p+\frac12q+\frac14r$
  • $q=\frac14p+\frac14q$
  • $r=\frac14+\frac14p$

Solving this we find $p_{HH}=p=0.12$.


If it concerns the probability on TH then:

  • $p=\frac14p+\frac12q+\frac14r$
  • $q=\frac14+\frac14p+\frac14q$
  • $r=\frac14p$

Solving this we find $p_{TH}=p=0.32$.


If it concerns the probability on HT then:

  • $p=\frac14p+\frac12q+\frac14r$
  • $q=\frac14p+\frac14q$
  • $r=\frac12+\frac14p$

Solving this we find $p_{HT}=p=0.24$.


If it concerns the probability on TT then:

  • $p=\frac14p+\frac12q+\frac14r$
  • $q=\frac14+\frac14p+\frac14q$
  • $r=\frac14p$

Solving this we find $p_{TT}=p=0.32$.


Edit:

Let me expand on the first case. There $3$ states to be discerned: $S_0,S_1,S_2$ where the index denotes the number of heads that where thrown in the former round. At the start we are in position in $S_0$.

$p$ denotes the probability of the other guy ending with HH if we start in $S_0$, $q$ denotes the probability of the other guy ending with HH if we start in $S_1$ and $r$ denotes the probability of the other guy ending with HH if we start in $S_2$.

Starting from $S_0$ the probability to arrive in $S_0$ again (i.e. both throw tails) equals $\frac14$. The probalility to arrive in $S_1$ is $\frac12$ (one of them throws tails and the other throws heads). The probability to arrive in $S_2$ is $\frac14$ (both throw heads).

That gives us the equality:$$p=\frac14p+\frac12q+\frac14r$$

Starting from $S_1$ on a similar way there is probability $\frac14$ to return to $S_0$ and also probability $\frac14$ to stay in $S_1$. Next to that there is the probability of $\frac12$ that the game ends in such a way that not both end with HH.

That gives us the equality:$$q=\frac14p+\frac14q+\frac120=\frac14p+\frac14q$$

Starting from $S_2$ on a similar way there is probability $\frac14$ to return to $S_0$. Also there is a probability $\frac14$ that the game ends in such a way that both end with HH. Also there is a probability $\frac12$ that the game ends in such a way that not both end with HH.

That gives us the equality:$$r=\frac14p+\frac141+\frac120=\frac14p+\frac14$$


Short inexact answer for intuition.

Let's say A got HH on throws $n$ and $n+1$. We know that player B didn't get HH on throws $n-1$ and $n$. This makes it a bit less likely that player B got H on throw $n$. So this explains why HH and HT are lower than TH and TT.

But what about HH vs. HT? To gain intuition, consider just both players tossing their coin twice, without any extra conditions. What is the probability that (a) both get HH, or (b) one gets HH and one gets HT? The answer to (a) is $1/2^4$ because there are 4 tosses that have to give a specific result. But the answer to (b) is actually twice that because there are two possible outcomes that give this result, as we didn't specify who gets a HH!


So I actually double checked this because it seemed strange to me as well, but it is indeed true.

    result <- c()

for(iter in 1:10000){
  temp <- TRUE
  x1 <- rep(0,2)
  x2 <- rep(0,2)
  while(temp){
    x1[2] <- x1[1]; x2[2] <- x2[1]
    x1[1] <- rbinom(1,1,0.5); x2[1] <- rbinom(1,1,0.5)  

    if(sum(x1)==2){
      result <- c(result,sum(x2))
      temp <- FALSE
    }else if(sum(x2)==2){
      result <- c(result,sum(x1))
      temp <- FALSE
    }
  }
}

    > sum(result==2)/length(result)
    [1] 0.1164  ## Probs of HH
    > sum(result==1)/length(result)
    [1] 0.565  ## Probs of HT or TH
    > sum(result==0)/length(result)
    [1] 0.3186 ## Probs of TT

I think the basic reason for the asymmetry is because the fact the game ends on this round (as opposed to the previous round) means that both players had gotten at least one tails in the previous two rounds prior to the final round (otherwise the game would have ended the previous round).

This means that each player has a higher probability of getting two tails in the final round, since his last two throws prior to the final round must be one of $HT, TH, TT$ and cannot be $HH$.

Let $X$ be the last two throws of the loser before the final round, $Y$ be his final throw, and $Z$ his last two throws after the final round.

Then

$P(Z = HH) = P(X = TH, Y=H)$

Since no other combination gives him two heads at the end. But now consider the probability his last two throws are tails

$P(Z = TT) = P(X=TT, Y=T) + P(X = HT,Y=T)$

Similarly

$P(Z = HT) = P(X=TH, Y=T)$

$P(Z = TH) = P(X=HT, Y=H) + P(X=TT,Y=H)$

Hence there's a clear asymmetry between the probabilities of the final throw caused by the fact he must have at least one tails prior to the final throw.

Notice how the simulation show $P(TH) > P(HT)$, and the above has two summands for $TH$ but only one for $HT$!