I am not a mathematician, just a user of mathematics, so perhaps this is the wrong place to ask, but there is a problem I need some help with.
You have a $n \times n$ grid, and you start at the $(1,1)$ square. You move randomly one square on the $x$ or $y$ axis (no diagonal movements allowed). You keep moving until you reach square $(n,n)$.
At that moment, the game ends. The variable of interest is $T$, the time it took you to reach the end position. It is clear to me that $T$ is always finite (just intuition: if you are not in $(n,n)$ you always have a chance to reach it, if you are there, you will never leave it, so if the game goes on for long enough you will end up there)
My question is about the distribution of $T$. I am interested in understanding how to define the distribution, and how to compute the expected value of $T$ as a function of $n$. Can you point me to something I could read about it?
Thanks in advance.