Consider a random walk on the non-negative integers.
You start at $0$, and in each step you either move $1$ higher, or $2$ lower (but can't go below $0$). The direction is picked w.p. $1/2$ independently at any step.
From $0$ you can either stay at $0$, or go to $1$.
From $1$ you flip a coin and go either to $0$ or to $2$.
From $i>1$, you go to $i-2$ or to $i+1$.
What is the probability that during $n$ steps, the process never reaches state $r$?
If this does not have a simple form (as a function of $n,r$), can we derive an upper bound for it?
This seems to be solvable by a recurrence formula, but I couldn't reach an explicit expression.
As I mentioned in my comment, if $n>r$, then we can have atmost $r-1$ steps that move up. So the probability that after $n$ steps, we do not reach $r$ is,
$$P_{n,r} = \sum_{i=0}^{r-1} {n \choose i} {1 \over 2^{n}}$$
To include the constraint that we remain above 0, notice that if we move up $p$ times up, we have to move $q$ times down such that $p+q=n$ and $p-2q>=0$. Solving for minimum value of $p$, we get $p>={2n \over 3}$. This also puts a contraint that $r>=2n/3$. Adjusting the value of $i$ in our original eqution, we get
$$P_{n,r} = \sum_{i={2n \over 3}}^{r-1} {n \choose i} {1 \over 2^{n}}$$