| space | walkers | been home | theory, ∞ steps |
|---|---|---|---|
| 1D line | 100% | ||
| 2D plane | 100% (very slowly) | ||
| 3D room | 34.05% |
Why: after n steps a walker is roughly √n away, so it spends its time inside a region holding about nd/2 grid points, and the chance of being exactly on the origin at step n is about n−d/2. Add that over all n: for d = 1 and 2 the sum diverges (a return is certain; in 2D it is so slow that after a billion steps roughly 1 walker in 7 still hasn't), for d = 3 it converges, and the walker escapes with probability 1 − 0.3405 = 0.6595. The chart's blue and green curves keep climbing toward 100%; the pink one flattens near 34%.