Identifier
-
Mp00023:
Dyck paths
—to non-crossing permutation⟶
Permutations
Mp00241: Permutations —invert Laguerre heap⟶ Permutations
Mp00069: Permutations —complement⟶ Permutations
St000662: Permutations ⟶ ℤ
Values
[1,0] => [1] => [1] => [1] => 0
[1,0,1,0] => [1,2] => [1,2] => [2,1] => 1
[1,1,0,0] => [2,1] => [2,1] => [1,2] => 0
[1,0,1,0,1,0] => [1,2,3] => [1,2,3] => [3,2,1] => 2
[1,0,1,1,0,0] => [1,3,2] => [1,3,2] => [3,1,2] => 1
[1,1,0,0,1,0] => [2,1,3] => [2,1,3] => [2,3,1] => 1
[1,1,0,1,0,0] => [2,3,1] => [3,1,2] => [1,3,2] => 1
[1,1,1,0,0,0] => [3,2,1] => [3,2,1] => [1,2,3] => 0
[1,0,1,0,1,0,1,0] => [1,2,3,4] => [1,2,3,4] => [4,3,2,1] => 3
[1,0,1,0,1,1,0,0] => [1,2,4,3] => [1,2,4,3] => [4,3,1,2] => 2
[1,0,1,1,0,0,1,0] => [1,3,2,4] => [1,3,2,4] => [4,2,3,1] => 2
[1,0,1,1,0,1,0,0] => [1,3,4,2] => [1,4,2,3] => [4,1,3,2] => 2
[1,0,1,1,1,0,0,0] => [1,4,3,2] => [1,4,3,2] => [4,1,2,3] => 1
[1,1,0,0,1,0,1,0] => [2,1,3,4] => [2,1,3,4] => [3,4,2,1] => 2
[1,1,0,0,1,1,0,0] => [2,1,4,3] => [2,1,4,3] => [3,4,1,2] => 2
[1,1,0,1,0,0,1,0] => [2,3,1,4] => [3,1,2,4] => [2,4,3,1] => 2
[1,1,0,1,0,1,0,0] => [2,3,4,1] => [4,1,2,3] => [1,4,3,2] => 2
[1,1,0,1,1,0,0,0] => [2,4,3,1] => [4,3,1,2] => [1,2,4,3] => 1
[1,1,1,0,0,0,1,0] => [3,2,1,4] => [3,2,1,4] => [2,3,4,1] => 1
[1,1,1,0,0,1,0,0] => [3,2,4,1] => [4,1,3,2] => [1,4,2,3] => 1
[1,1,1,0,1,0,0,0] => [4,2,3,1] => [3,1,4,2] => [2,4,1,3] => 1
[1,1,1,1,0,0,0,0] => [4,3,2,1] => [4,3,2,1] => [1,2,3,4] => 0
[1,0,1,0,1,0,1,0,1,0] => [1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => 4
[1,0,1,0,1,0,1,1,0,0] => [1,2,3,5,4] => [1,2,3,5,4] => [5,4,3,1,2] => 3
[1,0,1,0,1,1,0,0,1,0] => [1,2,4,3,5] => [1,2,4,3,5] => [5,4,2,3,1] => 3
[1,0,1,0,1,1,0,1,0,0] => [1,2,4,5,3] => [1,2,5,3,4] => [5,4,1,3,2] => 3
[1,0,1,0,1,1,1,0,0,0] => [1,2,5,4,3] => [1,2,5,4,3] => [5,4,1,2,3] => 2
[1,0,1,1,0,0,1,0,1,0] => [1,3,2,4,5] => [1,3,2,4,5] => [5,3,4,2,1] => 3
[1,0,1,1,0,0,1,1,0,0] => [1,3,2,5,4] => [1,3,2,5,4] => [5,3,4,1,2] => 3
[1,0,1,1,0,1,0,0,1,0] => [1,3,4,2,5] => [1,4,2,3,5] => [5,2,4,3,1] => 3
[1,0,1,1,0,1,0,1,0,0] => [1,3,4,5,2] => [1,5,2,3,4] => [5,1,4,3,2] => 3
[1,0,1,1,0,1,1,0,0,0] => [1,3,5,4,2] => [1,5,4,2,3] => [5,1,2,4,3] => 2
[1,0,1,1,1,0,0,0,1,0] => [1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => 2
[1,0,1,1,1,0,0,1,0,0] => [1,4,3,5,2] => [1,5,2,4,3] => [5,1,4,2,3] => 2
[1,0,1,1,1,0,1,0,0,0] => [1,5,3,4,2] => [1,4,2,5,3] => [5,2,4,1,3] => 2
[1,0,1,1,1,1,0,0,0,0] => [1,5,4,3,2] => [1,5,4,3,2] => [5,1,2,3,4] => 1
[1,1,0,0,1,0,1,0,1,0] => [2,1,3,4,5] => [2,1,3,4,5] => [4,5,3,2,1] => 3
[1,1,0,0,1,0,1,1,0,0] => [2,1,3,5,4] => [2,1,3,5,4] => [4,5,3,1,2] => 3
[1,1,0,0,1,1,0,0,1,0] => [2,1,4,3,5] => [2,1,4,3,5] => [4,5,2,3,1] => 3
[1,1,0,0,1,1,0,1,0,0] => [2,1,4,5,3] => [2,1,5,3,4] => [4,5,1,3,2] => 3
[1,1,0,0,1,1,1,0,0,0] => [2,1,5,4,3] => [2,1,5,4,3] => [4,5,1,2,3] => 2
[1,1,0,1,0,0,1,0,1,0] => [2,3,1,4,5] => [3,1,2,4,5] => [3,5,4,2,1] => 3
[1,1,0,1,0,0,1,1,0,0] => [2,3,1,5,4] => [3,1,2,5,4] => [3,5,4,1,2] => 2
[1,1,0,1,0,1,0,0,1,0] => [2,3,4,1,5] => [4,1,2,3,5] => [2,5,4,3,1] => 3
[1,1,0,1,0,1,0,1,0,0] => [2,3,4,5,1] => [5,1,2,3,4] => [1,5,4,3,2] => 3
[1,1,0,1,0,1,1,0,0,0] => [2,3,5,4,1] => [5,4,1,2,3] => [1,2,5,4,3] => 2
[1,1,0,1,1,0,0,0,1,0] => [2,4,3,1,5] => [4,3,1,2,5] => [2,3,5,4,1] => 2
[1,1,0,1,1,0,0,1,0,0] => [2,4,3,5,1] => [5,1,2,4,3] => [1,5,4,2,3] => 2
[1,1,0,1,1,0,1,0,0,0] => [2,5,3,4,1] => [4,1,2,5,3] => [2,5,4,1,3] => 2
[1,1,0,1,1,1,0,0,0,0] => [2,5,4,3,1] => [5,4,3,1,2] => [1,2,3,5,4] => 1
[1,1,1,0,0,0,1,0,1,0] => [3,2,1,4,5] => [3,2,1,4,5] => [3,4,5,2,1] => 2
[1,1,1,0,0,0,1,1,0,0] => [3,2,1,5,4] => [3,2,1,5,4] => [3,4,5,1,2] => 2
[1,1,1,0,0,1,0,0,1,0] => [3,2,4,1,5] => [4,1,3,2,5] => [2,5,3,4,1] => 2
[1,1,1,0,0,1,0,1,0,0] => [3,2,4,5,1] => [5,1,3,2,4] => [1,5,3,4,2] => 2
[1,1,1,0,0,1,1,0,0,0] => [3,2,5,4,1] => [5,4,1,3,2] => [1,2,5,3,4] => 1
[1,1,1,0,1,0,0,0,1,0] => [4,2,3,1,5] => [3,1,4,2,5] => [3,5,2,4,1] => 2
[1,1,1,0,1,0,0,1,0,0] => [4,2,3,5,1] => [5,1,3,4,2] => [1,5,3,2,4] => 2
[1,1,1,0,1,0,1,0,0,0] => [5,2,3,4,1] => [4,1,3,5,2] => [2,5,3,1,4] => 2
[1,1,1,0,1,1,0,0,0,0] => [5,2,4,3,1] => [4,3,1,5,2] => [2,3,5,1,4] => 1
[1,1,1,1,0,0,0,0,1,0] => [4,3,2,1,5] => [4,3,2,1,5] => [2,3,4,5,1] => 1
[1,1,1,1,0,0,0,1,0,0] => [4,3,2,5,1] => [5,1,4,3,2] => [1,5,2,3,4] => 1
[1,1,1,1,0,0,1,0,0,0] => [5,3,2,4,1] => [4,1,5,3,2] => [2,5,1,3,4] => 1
[1,1,1,1,0,1,0,0,0,0] => [5,3,4,2,1] => [4,2,1,5,3] => [2,4,5,1,3] => 2
[1,1,1,1,1,0,0,0,0,0] => [5,4,3,2,1] => [5,4,3,2,1] => [1,2,3,4,5] => 0
[1,0,1,0,1,0,1,0,1,0,1,0] => [1,2,3,4,5,6] => [1,2,3,4,5,6] => [6,5,4,3,2,1] => 5
[1,0,1,0,1,0,1,0,1,1,0,0] => [1,2,3,4,6,5] => [1,2,3,4,6,5] => [6,5,4,3,1,2] => 4
[1,0,1,0,1,0,1,1,0,0,1,0] => [1,2,3,5,4,6] => [1,2,3,5,4,6] => [6,5,4,2,3,1] => 4
[1,0,1,0,1,0,1,1,0,1,0,0] => [1,2,3,5,6,4] => [1,2,3,6,4,5] => [6,5,4,1,3,2] => 4
[1,0,1,0,1,0,1,1,1,0,0,0] => [1,2,3,6,5,4] => [1,2,3,6,5,4] => [6,5,4,1,2,3] => 3
[1,0,1,0,1,1,0,0,1,0,1,0] => [1,2,4,3,5,6] => [1,2,4,3,5,6] => [6,5,3,4,2,1] => 4
[1,0,1,0,1,1,0,0,1,1,0,0] => [1,2,4,3,6,5] => [1,2,4,3,6,5] => [6,5,3,4,1,2] => 4
[1,0,1,0,1,1,0,1,0,0,1,0] => [1,2,4,5,3,6] => [1,2,5,3,4,6] => [6,5,2,4,3,1] => 4
[1,0,1,0,1,1,0,1,0,1,0,0] => [1,2,4,5,6,3] => [1,2,6,3,4,5] => [6,5,1,4,3,2] => 4
[1,0,1,0,1,1,0,1,1,0,0,0] => [1,2,4,6,5,3] => [1,2,6,5,3,4] => [6,5,1,2,4,3] => 3
[1,0,1,0,1,1,1,0,0,0,1,0] => [1,2,5,4,3,6] => [1,2,5,4,3,6] => [6,5,2,3,4,1] => 3
[1,0,1,0,1,1,1,0,0,1,0,0] => [1,2,5,4,6,3] => [1,2,6,3,5,4] => [6,5,1,4,2,3] => 3
[1,0,1,0,1,1,1,0,1,0,0,0] => [1,2,6,4,5,3] => [1,2,5,3,6,4] => [6,5,2,4,1,3] => 3
[1,0,1,0,1,1,1,1,0,0,0,0] => [1,2,6,5,4,3] => [1,2,6,5,4,3] => [6,5,1,2,3,4] => 2
[1,0,1,1,0,0,1,0,1,0,1,0] => [1,3,2,4,5,6] => [1,3,2,4,5,6] => [6,4,5,3,2,1] => 4
[1,0,1,1,0,0,1,0,1,1,0,0] => [1,3,2,4,6,5] => [1,3,2,4,6,5] => [6,4,5,3,1,2] => 4
[1,0,1,1,0,0,1,1,0,0,1,0] => [1,3,2,5,4,6] => [1,3,2,5,4,6] => [6,4,5,2,3,1] => 4
[1,0,1,1,0,0,1,1,0,1,0,0] => [1,3,2,5,6,4] => [1,3,2,6,4,5] => [6,4,5,1,3,2] => 4
[1,0,1,1,0,0,1,1,1,0,0,0] => [1,3,2,6,5,4] => [1,3,2,6,5,4] => [6,4,5,1,2,3] => 3
[1,0,1,1,0,1,0,0,1,0,1,0] => [1,3,4,2,5,6] => [1,4,2,3,5,6] => [6,3,5,4,2,1] => 4
[1,0,1,1,0,1,0,0,1,1,0,0] => [1,3,4,2,6,5] => [1,4,2,3,6,5] => [6,3,5,4,1,2] => 3
[1,0,1,1,0,1,0,1,0,0,1,0] => [1,3,4,5,2,6] => [1,5,2,3,4,6] => [6,2,5,4,3,1] => 4
[1,0,1,1,0,1,0,1,0,1,0,0] => [1,3,4,5,6,2] => [1,6,2,3,4,5] => [6,1,5,4,3,2] => 4
[1,0,1,1,0,1,0,1,1,0,0,0] => [1,3,4,6,5,2] => [1,6,5,2,3,4] => [6,1,2,5,4,3] => 3
[1,0,1,1,0,1,1,0,0,0,1,0] => [1,3,5,4,2,6] => [1,5,4,2,3,6] => [6,2,3,5,4,1] => 3
[1,0,1,1,0,1,1,0,0,1,0,0] => [1,3,5,4,6,2] => [1,6,2,3,5,4] => [6,1,5,4,2,3] => 3
[1,0,1,1,0,1,1,0,1,0,0,0] => [1,3,6,4,5,2] => [1,5,2,3,6,4] => [6,2,5,4,1,3] => 3
[1,0,1,1,0,1,1,1,0,0,0,0] => [1,3,6,5,4,2] => [1,6,5,4,2,3] => [6,1,2,3,5,4] => 2
[1,0,1,1,1,0,0,0,1,0,1,0] => [1,4,3,2,5,6] => [1,4,3,2,5,6] => [6,3,4,5,2,1] => 3
[1,0,1,1,1,0,0,0,1,1,0,0] => [1,4,3,2,6,5] => [1,4,3,2,6,5] => [6,3,4,5,1,2] => 3
[1,0,1,1,1,0,0,1,0,0,1,0] => [1,4,3,5,2,6] => [1,5,2,4,3,6] => [6,2,5,3,4,1] => 3
[1,0,1,1,1,0,0,1,0,1,0,0] => [1,4,3,5,6,2] => [1,6,2,4,3,5] => [6,1,5,3,4,2] => 3
[1,0,1,1,1,0,0,1,1,0,0,0] => [1,4,3,6,5,2] => [1,6,5,2,4,3] => [6,1,2,5,3,4] => 2
[1,0,1,1,1,0,1,0,0,0,1,0] => [1,5,3,4,2,6] => [1,4,2,5,3,6] => [6,3,5,2,4,1] => 3
[1,0,1,1,1,0,1,0,0,1,0,0] => [1,5,3,4,6,2] => [1,6,2,4,5,3] => [6,1,5,3,2,4] => 3
[1,0,1,1,1,0,1,0,1,0,0,0] => [1,6,3,4,5,2] => [1,5,2,4,6,3] => [6,2,5,3,1,4] => 3
[1,0,1,1,1,0,1,1,0,0,0,0] => [1,6,3,5,4,2] => [1,5,4,2,6,3] => [6,2,3,5,1,4] => 2
>>> Load all 317 entries. <<<
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 staircase size of the code of a permutation.
The code c(π) of a permutation π of length n is given by the sequence (c1,…,cn) with ci=|{j>i:π(j)<π(i)}|. This is a bijection between permutations and all sequences (c1,…,cn) with 0≤ci≤n−i.
The staircase size of the code is the maximal k such that there exists a subsequence (cik,…,ci1) of c(π) with cij≥j.
This statistic is mapped through Mp00062Lehmer-code to major-code bijection to the number of descents, showing that together with the number of inversions St000018The number of inversions of a permutation. it is Euler-Mahonian.
The code c(π) of a permutation π of length n is given by the sequence (c1,…,cn) with ci=|{j>i:π(j)<π(i)}|. This is a bijection between permutations and all sequences (c1,…,cn) with 0≤ci≤n−i.
The staircase size of the code is the maximal k such that there exists a subsequence (cik,…,ci1) of c(π) with cij≥j.
This statistic is mapped through Mp00062Lehmer-code to major-code bijection to the number of descents, showing that together with the number of inversions St000018The number of inversions of a permutation. it is Euler-Mahonian.
Map
to non-crossing permutation
Description
Sends a Dyck path D with valley at positions {(i1,j1),…,(ik,jk)} to the unique non-crossing permutation π having descents {i1,…,ik} and whose inverse has descents {j1,…,jk}.
It sends the area St000012The area of a Dyck path. to the number of inversions St000018The number of inversions of a permutation. and the major index St000027The major index of a Dyck path. to n(n−1) minus the sum of the major index St000004The major index of a permutation. and the inverse major index St000305The inverse major index of a permutation..
It sends the area St000012The area of a Dyck path. to the number of inversions St000018The number of inversions of a permutation. and the major index St000027The major index of a Dyck path. to n(n−1) minus the sum of the major index St000004The major index of a permutation. and the inverse major index St000305The inverse major index of a permutation..
Map
invert Laguerre heap
Description
The permutation obtained by inverting the corresponding Laguerre heap, according to Viennot.
Let π be a permutation. Following Viennot [1], we associate to π a heap of pieces, by considering each decreasing run (πi,πi+1,…,πj) of π as one piece, beginning with the left most run. Two pieces commute if and only if the minimal element of one piece is larger than the maximal element of the other piece.
This map yields the permutation corresponding to the heap obtained by reversing the reading direction of the heap.
Equivalently, this is the permutation obtained by flipping the noncrossing arc diagram of Reading [2] vertically.
By definition, this map preserves the set of decreasing runs.
Let π be a permutation. Following Viennot [1], we associate to π a heap of pieces, by considering each decreasing run (πi,πi+1,…,πj) of π as one piece, beginning with the left most run. Two pieces commute if and only if the minimal element of one piece is larger than the maximal element of the other piece.
This map yields the permutation corresponding to the heap obtained by reversing the reading direction of the heap.
Equivalently, this is the permutation obtained by flipping the noncrossing arc diagram of Reading [2] vertically.
By definition, this map preserves the set of decreasing runs.
Map
complement
Description
Sents a permutation to its complement.
The complement of a permutation σ of length n is the permutation τ with τ(i)=n+1−σ(i)
The complement of a permutation σ of length n is the permutation τ with τ(i)=n+1−σ(i)
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!