Processing math: 100%

Identifier
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => [1,2] => 0
[2,1] => [1,2] => [1,2] => [1,2] => 0
[1,2,3] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[1,3,2] => [1,3,2] => [1,2,3] => [1,2,3] => 0
[2,1,3] => [1,3,2] => [1,2,3] => [1,2,3] => 0
[2,3,1] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[3,1,2] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[3,2,1] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => [1,2,3,4] => [1,2,3,4] => 0
[1,3,2,4] => [1,3,2,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,3,4,2] => [1,3,4,2] => [1,2,3,4] => [1,2,3,4] => 0
[1,4,2,3] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[1,4,3,2] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[2,1,3,4] => [1,3,4,2] => [1,2,3,4] => [1,2,3,4] => 0
[2,1,4,3] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[2,3,1,4] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[2,3,4,1] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[2,4,1,3] => [1,3,2,4] => [1,2,3,4] => [1,2,3,4] => 0
[2,4,3,1] => [1,2,4,3] => [1,2,3,4] => [1,2,3,4] => 0
[3,1,2,4] => [1,2,4,3] => [1,2,3,4] => [1,2,3,4] => 0
[3,1,4,2] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[3,2,1,4] => [1,4,2,3] => [1,2,4,3] => [1,2,4,3] => 1
[3,2,4,1] => [1,2,4,3] => [1,2,3,4] => [1,2,3,4] => 0
[3,4,1,2] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[3,4,2,1] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,1,2,3] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,1,3,2] => [1,3,2,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,2,1,3] => [1,3,2,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,2,3,1] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,3,1,2] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[4,3,2,1] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
search for individual values
searching the database for the individual values of this statistic
/ search for generating function
searching the database for statistics with the same generating function
Description
The sorting index of a signed permutation.
A signed permutation σ=[σ(1),,σ(n)] can be sorted [1,,n] by signed transpositions in the following way:
First move ±n to its position and swap the sign if needed, then ±(n1),±(n2) and so on.
For example for [2,4,5,1,3] we have the swaps
[2,4,5,1,3][2,4,3,1,5][2,1,3,4,5][2,1,3,4,5][1,2,3,4,5]
given by the signed transpositions (3,5),(2,4),(3,3),(1,2).
If (i1,j1),,(in,jn) is the decomposition of σ obtained this way (including trivial transpositions) then the sorting index of σ is defined as
sorB(σ)=n1k=1jkikχ(ik<0),
where χ(ik<0) is 1 if ik is negative and 0 otherwise.
For σ=[2,4,5,1,3] we have
sorB(σ)=(53)+(4(2)1)+(3(3)1)+(21)=13.
Map
to signed permutation
Description
The signed permutation with all signs positive.
Map
cycle-as-one-line notation
Description
Return the permutation obtained by concatenating the cycles of a permutation, each written with minimal element first, sorted by minimal element.
Map
runsort
Description
The permutation obtained by sorting the increasing runs lexicographically.