I'm looking at paths starting from $(0,0)$ with the following allowable steps :
1) from $(x,y)$ to $(x,y+1)$
2) from $(x,y)$ to $(x+1,y)$
3) from $(x,y)$ to $(x+2,y+1)$
how can I determine the total number of paths from $(0,0)$ to $(5,5)$?
and then generally from $(0,0)$ to $(n,n)$ using the same allowable steps. Is it possible to do this using binomial theorem?
We algebraically encode the base steps \begin{align*} &(1,0)\qquad\to\qquad x\\ &(0,1)\qquad\to\qquad y\\ &(2,1)\qquad\to\qquad x^2y \end{align*} so that each step can be encoded as $(x+y+x^2y)$. Denoting the coefficient of $x^n$ with the coefficient of operator $[x^n]$ we want to find \begin{align*} [x^5y^5]\sum_{q=0}^\infty(x+y+x^2y)^q\tag{1} \end{align*} which means we consider paths of length $q\geq 0$ and for each path we get the number of possibilities from $(0,0)$ to $(5,5)$ and sum up all these numbers.
Comment:
In (2) we expand the trinomial using multinomial coefficients.
In (3) we select the coefficient of $y^5$ by setting $k=0,\ldots,5$ and $l=5-k$.
In (4) we set the lower limit of $k$ to $3$ since $x^{j+10-2k}$ has exponent less than $5$ otherwise. The index relation in (3) also shows that $j+5=q$ and we eliminate $j$.
In (5) we select the coefficient of $x^5$.