Hi I'm having trouble with this homework question: let $\eta$ (below) belong to $S_n$
$$ \begin{matrix} 1 & 2 & ... & n-1 & n \\ n & n-1 & ... & 2 & 1 \\ \end{matrix} $$
Determine the sign of $\eta$ given that $n$ is even
So i know that to calculate the sign of $S_n$ i need to use the formula:$(−1)^{(s1−1)+(s2−1)+...}$ where $s1, s2... $ are the lengths of the cycles. However, when I use the formula I get different answers i.e. I get $-1$ for $n=2$, $1$ for $n=4$. Am i right in thinking that if (for $n=2$) then its just $<1,2>$ so it's $(-1)^1$ $=-1$. Then for $n=4$ it's $<1,4>$ $<2,3>$ then it's $(-1)^{2-1+2-1}$ $=1$.
Am i using the wrong numbers for $s1$ and $s2$?
Many thanks