Proof

Suppose the permutation g can be written as the product c1 ··· ck of transpositions with k even, and suppose that g can also be written as the product of transpositions d1 ··· dm with m odd, then

e = c1 ··· ckdm ··· d1

expresses the identity as the product of an odd number of transpositions. We will show that this is impossible.

So assume the identity element e is a product of an odd number of transpositions ti. We choose such a product

e = t1 ··· t2m+1

with m minimal. It is obvious that m > 0.

We may assume that t1 = (1,2).

We may assume that there is some l > 0 with t1 up to tl all moving 1, i.e., all of the form ti = (1,ai), and that tl+1 up to t2m+1 all fix 1.

There is an index i with 2 < i l such that ti = t1.

Final contradiction.