Hi,(adsbygoogle = window.adsbygoogle || []).push({});

In the usual Gambler's ruin problem one calculates the probability of reaching some target balance N before going broke, given that one starts with holdings of 'h', and given that on each bet he either increases or decreases his balance by +/-1. See http://www.mathpages.com/home/kmath084/kmath084.htm for an excellent discussion.

I'd like to do something similar to this but slightly different, instead of assuming the gambler plays indefinitely until he reaches target balance N or goes bankrupt, I'd like assume the gambler plays until he either goes bankrupt, or has placed 'n' bets (as opposed to reaching some target balance N).

For example, the gambler starts with 100, he plans to play until he either goes bankrupt or has placed n=45 bets at which point he will stop. What's the probability the he will go bankupt before having placed these 45 bets? (each bet will raise or lower his balance by +/-1)

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Variation of Gambler's ruin problem

**Physics Forums | Science Articles, Homework Help, Discussion**