Skip to content

Sign on Permutation ​

The sign of p: +1 when the inversion count is even, -1 when odd.

On Permutation

Called as CombinatorialStat(x, "Sign"). The head's page has its examples.

Live

FindStat St000037

The sign of a permutation.

ObjectValue
[1]1
[1,2]1
[2,1]-1
[1,2,3]1
[1,3,2]-1
[2,1,3]-1
[2,3,1]1
[3,1,2]1

Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000037 has the rest.