Recently, I have been considering random walking on $\mathbb{Z}^2$, with equal probabilities $p$ for all $4$ directions.
More specifically, I have been looking at the expected time $\mathbb{E}_{n} [T]$ for $n\in\mathbb{N}$ required for a point starting at the origin to reach a specific boundary curve defined as the set of all ordered pairs $(x,y)\in\mathbb{Z}^2$ such that $|x|+|y|=n$.
I have manually calculated for and verified by computation that $\mathbb{E}_{1} [T]=1$, $\mathbb{E}_{2} [T]=\frac{8}{3}$, $\mathbb{E}_{3} [T]=\frac{39}{7}$, and $\mathbb{E}_{4} [T]=\frac{1152}{119}$.
I was wondering if there was a way to obtain a general formula for $\mathbb{E}_{n} [T]$?
Not an answer -- just feels too long to be a comment.
We use Misha's comment about rotating the square and consider two i.i.d random walks. Note, on any move, our $x$ coordinate moves by $\pm \frac{1}{\sqrt{2}}$, as does our $y$ coordinate. The game ends when either the $x$ or the $y$ coordinate reaches $\frac{N}{\sqrt{2}}$. Therefore, this is equivalent to the following.
Let $X_n = R_1 + \dots R_n$ and $Y_n = S_1 + \dots S_n$ where $R_i, S_i \sim \{-1, 1\}$ with the stopping time defined as $\min\{t: |X_t| = N \text{ or } |Y_t| = N\}.$ Therefore, we have $$\mathbb{E}[\min\{t: |X_t| = N \text{ or } |Y_t| = N\}] $$$$ = \sum_{n \in \mathbb{N}}\mathbb{P}(\min\{t: |X_t| = N \text{ or } |Y_t| = N\} > n) $$$$ = \sum_{n \in \mathbb{N}} \mathbb{P}(|X_t| \text{ and } |Y_t| < N \ \forall \ 0\leq t \leq n) $$$$ = \sum_{n \in \mathbb{N}} \mathbb{P}(|X_t| < N \ \forall \ 0\leq t \leq n) \mathbb{P}(|Y_t| < N \ \forall \ 0\leq t \leq n) . $$
Define $f(l,b)$ as the probability the absolute value of a random walk of length $l$ never exceeds a boundary $b$. Then, our final answer is $$\sum_{n \in \mathbb{N}} f(n, N)^2 .$$ I tried my hand at finding a closed form for $f$. If it exists I can't find it. Maybe the asymptotics will be easier to find.