Identifier
-
Mp00051:
Ordered trees
—to Dyck path⟶
Dyck paths
Mp00146: Dyck paths —to tunnel matching⟶ Perfect matchings
Mp00058: Perfect matchings —to permutation⟶ Permutations
St001566: Permutations ⟶ ℤ
Values
[[]] => [1,0] => [(1,2)] => [2,1] => 2
[[],[]] => [1,0,1,0] => [(1,2),(3,4)] => [2,1,4,3] => 2
[[[]]] => [1,1,0,0] => [(1,4),(2,3)] => [4,3,2,1] => 4
[[],[],[]] => [1,0,1,0,1,0] => [(1,2),(3,4),(5,6)] => [2,1,4,3,6,5] => 3
[[],[[]]] => [1,0,1,1,0,0] => [(1,2),(3,6),(4,5)] => [2,1,6,5,4,3] => 4
[[[]],[]] => [1,1,0,0,1,0] => [(1,4),(2,3),(5,6)] => [4,3,2,1,6,5] => 4
[[[],[]]] => [1,1,0,1,0,0] => [(1,6),(2,3),(4,5)] => [6,3,2,5,4,1] => 3
[[[[]]]] => [1,1,1,0,0,0] => [(1,6),(2,5),(3,4)] => [6,5,4,3,2,1] => 6
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 length of the longest arithmetic progression in a permutation.
For a permutation $\pi$ of length $n$, this is the biggest $k$ such that there exist $1 \leq i_1 < \dots < i_k \leq n$ with
$$\pi(i_2) - \pi(i_1) = \pi(i_3) - \pi(i_2) = \dots = \pi(i_k) - \pi(i_{k-1}).$$
For a permutation $\pi$ of length $n$, this is the biggest $k$ such that there exist $1 \leq i_1 < \dots < i_k \leq n$ with
$$\pi(i_2) - \pi(i_1) = \pi(i_3) - \pi(i_2) = \dots = \pi(i_k) - \pi(i_{k-1}).$$
Map
to Dyck path
Description
Return the Dyck path of the corresponding ordered tree induced by the recurrence of the Catalan numbers, see wikipedia:Catalan_number.
This sends the maximal height of the Dyck path to the depth of the tree.
This sends the maximal height of the Dyck path to the depth of the tree.
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
to permutation
Description
Returns the fixed point free involution whose transpositions are the pairs in the perfect matching.
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!