I want to calculate an average win in a game. Thus, I'm trying to calculate the probability of playing an $n$th game. The rules of the game are the following:
- A player has to draw one ball out of a box (there are 10% of win balls and 90% of no win balls). After that, the ball is put back into the box (so, $p_{win}=0.1$ for all draws).
- At the beginning, the player has three games.
- If the player draws a win ball, they get more 3 games starting right after that winning draw (see the image describing that better below). In other words, every new draw (starting from the 4th one) will be played only if there is at least 1 winning draw in the 3 previous draws.
- The game ends when the player draws 3 no win balls in a row.
I calculated the probability of playing the 4th game as $ p_4 = 1 – p_{loss}^3 = 1 – 0.9^3 = 0.271 $ (in other words, out of 1,000,000 players, only 271,000 will reach the 4th game).
Then I tried to calculate the probability of playing the 5th game as $ p_5 = (1 – p_{loss}^3) \times p_4 = (1 – 0.9^3) \times 0.271 \approx 0.0734 $ (I thought that 27.1% of those who played the 4th game will play the 5th game).
To check the correctness I made a simulation in a spreadsheet file and got the following results:
$ p_4 = 0.271 $ (the same as I previously calculated)
$ p_5 = 0.1981 $ (different from my calculations)
$ p_6 \approx 0.1252 $
Question: How to properly calculate that? Looks like conditional probability should be used, but I cannot figure out the proper way.

The point is that most of the time that you play the fourth game, the win that gave you the fourth game also gave you the fifth game. So the conditional probability (which equals $p_5/p_4$) should be high. In fact, there's a simple argument that it must be greater than $23/30$: if you only won one of games $1,2,3$ then each is equally likely, and you automatically get game 5 in two cases, and have probability $1/10$ of getting it in the third. If you won more than one, you automatically get game 5. This same argument shows that the conditional probability of getting game $n+1$ given that you played game $n$ is more than $23/30$ for any $n\geq 4$.
However, it's easier to calculate exactly in this case. The only way you can play game 4 but not game 5 is if the first four results are precisely WLLL, which has probability $\frac{9^3}{10^4}=0.0729$. Thus $p_5=p_4-0.0729=0.1981$.
Similarly the only sequences which give you game 5 but not game 6 are WWLLL and LWLLL, so you can work out $p_6$ by subtracting the total probability of those.