Consider a simple random walk on $\mathbb{N}$, defined as:
on any given step of the process there is a 0.5 chance of moving forward 1 step, and a 0.5 chance of going all the way back to 0.
find the probability that in finite amount of time, we will hit a.
help?
First, let $X_i$ be the position on our $i^{th}$ move of the random walk. Then, $\mathbb{P}(X_i = 500,000) = (\frac{1}{2})^{499999}$, as our first most is guaranteed upwards and every other one is a coin flip. Next, we consider $G \thicksim Geom((\frac{1}{2})^{499,999})$, and by the pmf of a geometric distribution we know that $$\mathbb{P}(G < n) = 1 - \mathbb{P}(G = n) - \mathbb{P}(G > n) = 1 - (1-p)^n - p(1-p)^{n-1}$$ Where $p = (\frac{1}{2})^{499999}$. We want a finite number of moves, so if we have $$\lim_{n \rightarrow \infty} \mathbb{P}(G < n) = \lim_{n \rightarrow \infty} 1 - (1-p)^n - p(1-p)^{n-1} = 1$$Would tell us the probability that $G < \infty$, meaning G is finite.