BTW, there is no need to double your bet.
If you never leave until you are ahead, you will always eventually get ahead. It does not really matter what the bet is (consistent, doubling, random, etc), eventually you will get ahead. If you always bet a dollar, it would be a drunkards walk problem. If you randomize your bet, it would be bizarre but eventually you will get ahead.
I would think that doubling provides an optimized solution but it is not the only one.
CBL
If you never leave until you are ahead, you will always eventually get ahead. It does not really matter what the bet is (consistent, doubling, random, etc), eventually you will get ahead. If you always bet a dollar, it would be a drunkards walk problem. If you randomize your bet, it would be bizarre but eventually you will get ahead.
I would think that doubling provides an optimized solution but it is not the only one.
CBL