The following question is similar to this thread but I am not familiar with Catalan number. Any chance I could get an explanation for the given solution below? Thanks.
A $5\times5$ chessboard has a diagonal $PQ$. If an ant has to go from point $P$ to point $Q$, find the number of paths which do not cross the diagonal $PQ$ at any moment. (The ant can move only on the sides of the small squares ($1\times1$) either right or up).
Given Solution:
There are $\frac13{{10}\choose5}$ distinct paths.
My doubts:
I understand the ant has to travel on $10$ sides of $1$ unit. $5$ horizontal, $5$ vertical. Thus, $\frac{10!}{5!5!}$
But this includes even those paths which cross $PQ$.
My first instinct was to divide by $2$. One half below $PQ$, one half above it. But of course it's wrong.
My second attempt is as follows:
If the point $P$ is $(0,0)$, then the point $(1,1)$ is on $PQ$, let it be $R$.
The ant can either cross $R$ or, touch it and go right or, it can simply bypass it (by say moving just on $x-$axis and then on $x=5$ line).
Out of this, we are not okay with the crossing the diagonal case.
So, I thought the answer should be $\frac23{{10}\choose5}$ but again it's wrong.
How to approach this problem?
Edit:
As per this thread, seems like the answer is ${n \choose k} - {n \choose k-1}$ i.e. ${{10} \choose 5} - {{10}\choose 4}=\frac16{{10}\choose5}$. Is that so?