Let us say that we have a mini blackjack game with only the ace, 2, 3, 4 and 5.
We will need some assumptions for this blackjack variant:
- The value of the ace is 1 or 6 just like in normal blackjack with 1 or 11.
- The dealer stands at 9, 10 or 11.
- Blackjack is a 5 and a ace totalling up to 11.
- We use infinitely many decks of cards.
- Dealer busts when the total value of the cards is 12 or higher.
Now my question is how to determine the dealer busting probabilities with 4 cards. Determining for one extra card wasn't hard as 2 to 6 cannot go bust and 9 to 11 stands. The probability of busting with 7 is $\frac{1}{5}$ and the probability of busting with a 8 is $\frac{2}{5}$. However, with two extra cards it gets significantly harder.
I have written out all the possibilities how, for example, a 3 can go bust with 4 cards. As the only way a 3 can go bust with 4 cards is 3 + 4 + 5, 3 + 5 + 4 or 3 + 5 + 5. Can I just say that if the second card is 4 the dealer only busts with a 5 so we have $\frac{1}{25}$ ($\frac{1}{5}$ * $\frac{1}{5}$) and if the second card is a 5 the dealer busts with a 4 or a 5 as the fourth card, so we have $\frac{2}{25}$ ($\frac{1}{5}$ * $\frac{2}{5}$). Then combining the two to get a probability of 3/25. I do not think this is correct though, so can someone tell me if this is right and if it is not, how I should calculate it. I hope someone can help me and if something is not clear I will further elaborate.
Please note that the third card cannot get the total value to 9, 10 or 11 as the dealer always stands and does not pick a $4^{th}$ card.
Edit 1: I just had a thought. Since we have infinte amount of decks, this is an example of sampling with replacement. Does that make my calculations easier?
A general approach is to use recursion. In the terminology of Markov chains, you have two absorbing states (“bust” and “stand”) and want to find the absorption probabilities. Let $p(t,k)$ be the probability of eventually busting, given current total $t$ with $k$ cards. The boundary conditions are $p(t,k)=0$ if $t\in\{9,10,11\}$ and $p(t,k)=1$ if $t\ge 12$. Now condition on the value of the next card to obtain $$p(t,k) = \frac{1}{5}\sum_{c=1}^5 p(t+c,k+1).$$ You want to compute $p(t,4)$ for all $t$.
Note that you need to distinguish between “hard” and “soft” totals, where soft means the ace can be counted as $6$ without busting. But I recommend first solving the problem without this complication.
Here are the resulting values of $p(t,k)$ for reachable states $(t,k)$, rounded to three decimal places and ignoring the dual nature of ace: \begin{matrix} t\backslash k &0 &1 &2 &3 &4 &5 &6 &7 &8 &9\\ \hline0 &0.196 & & & & & & & & &\\1 & &0.186 & & & & & & & &\\2 & &0.202 &0.202 & & & & & & &\\3 & &0.235 &0.235 &0.235 & & & & & &\\4 & &0.196 &0.196 &0.196 &0.196 & & & & &\\5 & &0.163 &0.163 &0.163 &0.163 &0.163 & & & &\\6 & & &0. 136 &0.136 &0.136 &0.136 &0.136 & & &\\7 & & &0.280 &0.280 &0.280 &0.280 &0.280 &0.280 & &\\8 & & &0.400 &0.400 &0.400 &0.400 &0.400 &0.400 &0.400 &\\9 & & &0.000 &0.000 &0.000 &0.000 &0.000 &0.00 0 &0.000 &0.000\\10 & & &0.000 &0.000 &0.000 &0.000 &0.000 &0.000 &0.000 &0.000\\11 & & & &0.000 & 0.000 &0.000 &0.000 &0.000 &0.000 &0.000\\12 & & & &1.000 &1.000 &1.000 &1.000 &1.000 &1.000 &1.00 0\\13 & & & &1.000 &1.000 &1.000 &1.000 &1.000 &1.000 &1.000\\\end{matrix}
For example, $$p(8,2) = \frac{p(9,3)+p(10,3)+p(11,3)+p(12,3)+p(13,3)}{5} = \frac{0+0+0+1+1}{5} = 0.4.$$
Notice that the results do not depend on $k$. Each row in the table is constant. So perhaps I have misinterpreted the problem.
Alternative interpretation: before the game starts, you want to know the probability that the dealer will eventually bust with exactly $4$ cards. In that case, the boundary conditions are $p(t,k)=0$ if $t\in\{9,10,11\}$, $p(t,k)=0$ if $t\ge 12$ and $k\not=4$, and $p(t,k)=1$ if $t\ge 12$ and $k=4$. The recursion remains the same, and you want to calculate $p(0,0)$. Here are the results, ignoring the dual nature of ace: \begin{matrix} t\backslash k &0 &1 &2 &3 &4 &5 &6 &7 &8 &9\\ \hline0 & 51/625 & & & & & & & & & \\1 & & 13/125 & & & & & & & &\\2 & & 14/125 & 1/25 & & & & & & &\\3 & & 11/125 & \color{red}{3/25} & \color{red}{0} & & & & & &\\4 & & 8/125 & 3/25 & \color{red}{0} & 0 & & & & &\\5 & & 1/25 & 3/25 & \color{red}{0} & 0 & 0 & & & &\\6 & & & 3/25 & \color{red}{0} & 0 & 0 & 0 & & &\\7 & & & 2/25 & \color{red}{1/5} & 0 & 0 & 0 & 0 & &\\8 & & & 0 & \color{red}{2/5} & 0 & 0 & 0 & 0 & 0 &\\9 & & & 0 & \color{red}{0} & 0 & 0 & 0 & 0 & 0 & 0\\10 & & & 0 & \color{red}{0} & 0 & 0 & 0 & 0 & 0 & 0\\11 & & & & \color{red}{0} & 0 & 0 & 0 & 0 & 0 & 0\\12 & & & & 0 & 1 & 0 & 0 & 0 & 0 & 0\\13 & & & & 0 & 1 & 0 & 0 & 0 & 0 & 0\\\end{matrix}
The results shown in red are the values you mentioned.