To maximize E[log(W+B_10)], we need to know what B_9 is. What do we use in place of B_9?
Oh, I think I understand. B_9 can be figured out from the recursive call, E[log(W+B_8)].
I'd take a shot at computing it, but in this particular instance of the game, we know the answer already: the bet would be sized at 100% of the bankroll, on every spin, because of the built-in arbitrage.