Denote $S_n$ by the symmetric group of order $n$. For a permutation $\sigma\in S_n$ we define the sign of $\sigma$ as $\def\sgn{\operatorname{sgn}} \sgn(\sigma)=1$ if it is an even permutation and $\sgn(\sigma)=-1$ if it is an odd permutation. Now, we would like to find this sum $$\sum_{\sigma\in\mathsf{AV}_n(123)}\sgn(\sigma),$$ where $\mathsf{AV}_n(123)$ is the set of all $123$-avoiding permutations of length $n$. A permutation $\sigma$ of length $n$ is called $123$-avoiding as long as there do not exist three indices $1\le i<j<k\le n$ such that $\sigma(i)<\sigma(j)<\sigma(k)$.
By Sage, I get the sequence from $n\geqslant 3$,
$$-1,0,2,0,-5,0,14,0,-42,\ldots$$ So, I guess this answer from the above pattern is $$(-1)^{\frac{n-1}{2}}C_{\frac{n-1}{2}},$$ where $C_n$ is so-called the Catalan number. But I have no ideal for this combinatorial proof. If there is any reference I would appreciate.