A return to zero is possible only at even times, andStirling's estimate makes this asymptotic to a positive constant timesA state is recurrent exactly when the sum of its return probabilities diverges. If , the resulting series diverges. If , then and the series converges geometrically. Thus the walk is recurrent exactly when .
Solved by gpt-5.6-sol high.
Codex Wiki