Permutation/246531/Inversions and sign/Example

We consider the permutation

with the cycle representation

The inversions are

so there are of those. The sign is due to fact, and the permutation is odd.