Identifier
-
Mp00146:
Dyck paths
—to tunnel matching⟶
Perfect matchings
Mp00058: Perfect matchings —to permutation⟶ Permutations
Mp00223: Permutations —runsort⟶ Permutations
St000662: Permutations ⟶ ℤ
Values
[1,0] => [(1,2)] => [2,1] => [1,2] => 0
[1,0,1,0] => [(1,2),(3,4)] => [2,1,4,3] => [1,4,2,3] => 1
[1,1,0,0] => [(1,4),(2,3)] => [4,3,2,1] => [1,2,3,4] => 0
[1,0,1,0,1,0] => [(1,2),(3,4),(5,6)] => [2,1,4,3,6,5] => [1,4,2,3,6,5] => 2
[1,0,1,1,0,0] => [(1,2),(3,6),(4,5)] => [2,1,6,5,4,3] => [1,6,2,3,4,5] => 1
[1,1,0,0,1,0] => [(1,4),(2,3),(5,6)] => [4,3,2,1,6,5] => [1,6,2,3,4,5] => 1
[1,1,0,1,0,0] => [(1,6),(2,3),(4,5)] => [6,3,2,5,4,1] => [1,2,5,3,4,6] => 1
[1,1,1,0,0,0] => [(1,6),(2,5),(3,4)] => [6,5,4,3,2,1] => [1,2,3,4,5,6] => 0
[1,0,1,1,0,1,0,0] => [(1,2),(3,8),(4,5),(6,7)] => [2,1,8,5,4,7,6,3] => [1,8,2,3,4,7,5,6] => 2
[1,0,1,1,1,0,0,0] => [(1,2),(3,8),(4,7),(5,6)] => [2,1,8,7,6,5,4,3] => [1,8,2,3,4,5,6,7] => 1
[1,1,0,0,1,1,0,0] => [(1,4),(2,3),(5,8),(6,7)] => [4,3,2,1,8,7,6,5] => [1,8,2,3,4,5,6,7] => 1
[1,1,0,1,0,0,1,0] => [(1,6),(2,3),(4,5),(7,8)] => [6,3,2,5,4,1,8,7] => [1,8,2,5,3,4,6,7] => 2
[1,1,1,0,0,0,1,0] => [(1,6),(2,5),(3,4),(7,8)] => [6,5,4,3,2,1,8,7] => [1,8,2,3,4,5,6,7] => 1
[1,1,1,0,1,0,0,0] => [(1,8),(2,7),(3,4),(5,6)] => [8,7,4,3,6,5,2,1] => [1,2,3,6,4,5,7,8] => 1
[1,1,1,1,0,0,0,0] => [(1,8),(2,7),(3,6),(4,5)] => [8,7,6,5,4,3,2,1] => [1,2,3,4,5,6,7,8] => 0
[1,0,1,1,1,1,0,0,0,0] => [(1,2),(3,10),(4,9),(5,8),(6,7)] => [2,1,10,9,8,7,6,5,4,3] => [1,10,2,3,4,5,6,7,8,9] => 1
[1,1,0,0,1,1,1,0,0,0] => [(1,4),(2,3),(5,10),(6,9),(7,8)] => [4,3,2,1,10,9,8,7,6,5] => [1,10,2,3,4,5,6,7,8,9] => 1
[1,1,1,0,0,0,1,1,0,0] => [(1,6),(2,5),(3,4),(7,10),(8,9)] => [6,5,4,3,2,1,10,9,8,7] => [1,10,2,3,4,5,6,7,8,9] => 1
[1,1,1,1,0,0,0,0,1,0] => [(1,8),(2,7),(3,6),(4,5),(9,10)] => [8,7,6,5,4,3,2,1,10,9] => [1,10,2,3,4,5,6,7,8,9] => 1
[1,1,1,1,1,0,0,0,0,0] => [(1,10),(2,9),(3,8),(4,7),(5,6)] => [10,9,8,7,6,5,4,3,2,1] => [1,2,3,4,5,6,7,8,9,10] => 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 staircase size of the code of a permutation.
The code $c(\pi)$ of a permutation $\pi$ of length $n$ is given by the sequence $(c_1,\ldots,c_{n})$ with $c_i = |\{j > i : \pi(j) < \pi(i)\}|$. This is a bijection between permutations and all sequences $(c_1,\ldots,c_n)$ with $0 \leq c_i \leq n-i$.
The staircase size of the code is the maximal $k$ such that there exists a subsequence $(c_{i_k},\ldots,c_{i_1})$ of $c(\pi)$ with $c_{i_j} \geq 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(\pi)$ of a permutation $\pi$ of length $n$ is given by the sequence $(c_1,\ldots,c_{n})$ with $c_i = |\{j > i : \pi(j) < \pi(i)\}|$. This is a bijection between permutations and all sequences $(c_1,\ldots,c_n)$ with $0 \leq c_i \leq n-i$.
The staircase size of the code is the maximal $k$ such that there exists a subsequence $(c_{i_k},\ldots,c_{i_1})$ of $c(\pi)$ with $c_{i_j} \geq 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 permutation
Description
Returns the fixed point free involution whose transpositions are the pairs in the perfect matching.
Map
to tunnel matching
Description
Sends a Dyck path of semilength n to the noncrossing perfect matching given by matching an up-step with the corresponding down-step.
This is, for a Dyck path $D$ of semilength $n$, the perfect matching of $\{1,\dots,2n\}$ with $i < j$ being matched if $D_i$ is an up-step and $D_j$ is the down-step connected to $D_i$ by a tunnel.
This is, for a Dyck path $D$ of semilength $n$, the perfect matching of $\{1,\dots,2n\}$ with $i < j$ being matched if $D_i$ is an up-step and $D_j$ is the down-step connected to $D_i$ by a tunnel.
Map
runsort
Description
The permutation obtained by sorting the increasing runs lexicographically.
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!