arXiv · 2506.00990
On a Variation of Gambler's Ruin Problem
Abstract
Assume that letters (from a finite alphabet) in a text form a Markov chain. We track two distinct words, $U$ and $D$. A gambler gains 1 point for each occurrence of $U$ (including overlapping occurrences) and loses 1 point for each occurrence of $D$ (also including overlapping occurrences). We determine the probability of gaining $A$ points before losing $B$ points, where $A$ and $B$ are integers. Additionally, we find the expected waiting time until one of the two events -- gaining $A$ points or losing $B$ points -- occurs.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zhiyi Chi, Vladimir Pozdnyakov. 2025-06-01. On a Variation of Gambler's Ruin Problem. https://arxiv.org/abs/2506.00990
Cite the original work for its findings. Save a collection to share your selection of sources.