Problem 139 Answer
The maximum expected gain occurs with 7 bets, with an expected gain of 0.2751 bets.
Thanks to
Extra Stuff: Gambling Rambling
by Peter Griffin for this problem. See chapter 7.
Michael Shackleford, ASA, August 19 1999