Given a maximum of $N$ turns of movement ($m+k \leq N$), I want to find how many paths there are from $(0,0)$ to $(m,k)$ where $m-k\geq t$ at some point on the path for an integer $t$.
I've tried this from a combinatorial perspective and a recursion/generating function perspective, but don't know enough about either to take this further. Here's my work/intuition thus far:
Combinatorial Perspective:
The number of paths to $(m,k)$ using only north and east steps is $$m+k \choose m$$
Therefore, I thought I just had to find all points (m,k) that satisfy my conditions, but this isn't the case due to overlap. For example, if $t=2$, a path to (5,3) has several paths that end at $(4,2)$, and so there are cases where a path goes through both or many more of these candidates points.
Another approach I had was to try a recursion/generating function model and got the following:
Every step is either one step closer or one step further from the condition $m-k\geq t$. Therefore, I can make a function $F$ such that $$F(d,n)$$ represents the number of steps that is a distance d away from satisfying the condition and has a maximum of n terms remaining. Then, my problem statement allows for
$$F(d,k) = F(d+1,n-1) + F(d-1,n-1)$$
Since after one move, we are either one step closer, or one step further from the case working. Note that $F(0,n_0) = 1$ and $F(d_0,0) = 0$ for $d_0 \neq 0$ since we only want to count each success once, and end the recursion.
I suspect there is a generating function solution to my formulation, but I ran into computational errors, most likely due to my lack of knowledge about the subject. Any advice would be greatly appreciated
Set up the function $F_t(i,j)$ in the folowing way:
$$ F_t(i,j)=\begin{cases} 0,& i=-1\text{ or } j=-1, \text{ or } i-j>t,\\ 1,& i=0 \text{ and } j=0,\\ F_t(i-1,j)+F_t(i,j-1),& \text{otherwise}. \end{cases} $$
Then the function $\binom{m+k}k-F_t(m,k)$ will give the result in question.