A Dyck $n$-path is a path from $(0,0)$ to $(2n,0)$ using steps that move by $(1,1)$ or $(1,-1)$ without falling below x-axis. Show that the number of Dyck$(2n)$-paths that avoid $\{(4k,0): 1 \leq k \leq n-1 \}$ is twice the number of Dyck $(2n-1)-$paths.
My attempt: we know the number of Dyck $n$-path is the $n$th Catalan number, which is $C_{n}$. Now, the number of Dyck $2n$-path that does not touch $x=0$ line, hence does not touch all the points in $\{(4k,0): 1 \leq k \leq n-1 \}$ is $C_{n-1}$ because we can fix the second step as $(1,1)$ and second to last step as $(1,-1)$, and that is just the same as counting number of Dyck path from $(1,1)$ to $(4n-1,1)$.
So, I am able to count there is $C_{n-1}$ Dyck $2n$-path that does not touch all the points in $\{(4k,0): 1 \leq k \leq n-1 \}$ but I am wondering how to count the other $C_{n-1}$ path. Thanks.
Let $A_n$ be the number be the number of Dyck paths to $(4n,0)$ that avoid $\{(4k,0):1\le k\le n-1\}$.
First, show that $$ A_n=C_{2n}-\sum_{k=1}^{n-1} A_k C_{2(n-k)}\tag1 $$ This kind of equation is begging to be analyzed with generating functions.
To this end, let $A(x)=\sum_{n\ge 0} A_nx^n$, and let $E(x)=\sum_{n\ge 0} C_{2n}x^n$. Letting $$ C(x)=\sum_{n\ge 0} C_nx^n=\frac{1-\sqrt{1-4x}}{2x}, $$ $E(x)$ and $C(x)$ are related by $$ E(x)=\frac{C(x^{1/2})+C(-x^{1/2})}{2}=\frac{\sqrt{1+4x^{1/2}}-\sqrt{1-4x^{1/2}}}{4x^{1/2}}\tag2 $$
Equation $(1)$ translates to $$ A(x)=E(x)-(A(x)-1)(E(x)-1) $$ so $$ A(x)=2+\frac{-1}{E(x)}\tag3 $$ Combining $(2)$ and $(3)$, you determine $A(x)$. Then, letting $$ D(x)=\sum_{n\ge 0} C_{2n+1}x^n=\frac{C(x^{1/2})-C(-x^{1/2})}{2x^{1/2}} $$ you can relate $A(x)$ to $D(x)$. Namely, we will have $A(x)=2xD(x)+1$, which proves your claim.