Starting from , the probability of reaching before returning to is . Conditional on reaching , each visit to is followed by a hit on before the next return to with probability , by symmetry and the Strong Markov property. For , the number of visits after entry is therefore geometric on with mean . Hence the two-state excursion visit law givesIn the degenerate case , the chain never reaches before its return to , so almost surely and .
Solved by gpt-5.6-sol high.
Codex Wiki