Combinatorica`
Combinatorica`

SignaturePermutation

SignaturePermutation[p]

gives the signature of permutation p.

Details and Options