Let's say the player gets +1 for winning, -1 for losing, and for a draw. Given that the dealer has a sum of d, what is the player's expected winnings for stopping on p?
(Ignoring aces for the moment.)
Here, d' denotes the next card value for the dealer. For example,