QuantumQuest said:
Back to our problem, the fact that the drunk man will return to the origin (i.e bar) infinitely many times having followed absolutely random paths means two things: First, that he will necessarily visit all intersections of the grid infinitely many times and so his home at (10,10) and second, the probability of such an event is ##1## (actually, there is a lemma for that infinitely many times visit implies probability ##1##).
If ##p## is the probability that he ever returns to the bar and ##p_n## is the probability that he returns precisely ##n## times, then:
##TT = 1 + \sum_{n=1}^{\infty}np_n = 1 + \sum_{n=1}^{\infty}p^n(1-p) = 1 + p(1-p)^{-1} = \frac{1}{1-p} \ \ (p \ne 1)##
Hence ##TT## is finite iff ##p < 1##
For the 1D case I got some nice formulas but, unfortunately, they don't seem to extend to more than 1D. For one dimension:
##x(n)## = number of paths that do not return to the starting point on or before ##2n## steps
##y(n)## = number of paths that return to the starting point on or before ##2n## steps
##r(n)## = number of paths that end at the starting point after ##2n## steps
##s(n)## = number of paths that return to the starting point for the first time after ##2n## steps, then:
The key recurrence relation is:
##y(n) = 4y(n-1) + s(n)##
And, we get:
##x(n) = r(n) = \binom{2n}{n}##
##y(n) = 4^n - x(n) = 4^n - \binom{2n}{n}##
##s(n) = 4r(n-1) - r(n) = 4\binom{2n-2}{n-1} - \binom{2n}{n}##
It's easy to show from this that the probability of returning to the starting point at some stage is 1, as ##y(n)/4^n \rightarrow 1## as ##n \rightarrow \infty##.
In two dimensions, we have:
##r(n) = \binom{2n}{n}^2##
The key recurrence relation is:
##y(n) = 16y(n-1) + s(n)##
And:
##s(n) = 4, 20, 176, 1876 \dots##
Which I also found on OEIS:
https://oeis.org/A054474
But, no formula is given. I couldn't find ##x(n)## or ##y(n)## on OEIS. They are:
##y(n) = 4, 84, 1520, 26196 \dots##
##x(n) = 12, 172, 2576, 39340 \dots##
Interesting and frustrating that the inductive solution for 1D doesn't extend to 2D. I thought I'd post this anyway.