searching the database
Your data matches 27 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
(click to perform a complete search on your data)
Matching statistic: St001161
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
St001161: Dyck paths ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
St001161: Dyck paths ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [1,0]
=> 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,0,1,0,1,0,1,0]
=> 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,0,1,1,0,0,1,0]
=> 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,0,0,1,0,1,0]
=> 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
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0,0,1,0]
=> [1,0,1,0,1,1,0,0,1,0]
=> 7
[1,2,4,5,3] => [1,0,1,0,1,1,0,1,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 6
[1,2,5,3,4] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,0,1,1,0,0,1,0,1,0]
=> 8
[1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,3,4,2,5] => [1,0,1,1,0,1,0,0,1,0]
=> [1,0,1,0,1,1,0,0,1,0]
=> 7
[1,3,4,5,2] => [1,0,1,1,0,1,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,3,5,2,4] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,3,5,4,2] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,4,2,3,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> 5
[1,4,2,5,3] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> 5
[1,4,3,5,2] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
Description
The major index north count of a Dyck path.
The descent set $\operatorname{des}(D)$ of a Dyck path $D = D_1 \cdots D_{2n}$ with $D_i \in \{N,E\}$ is given by all indices $i$ such that $D_i = E$ and $D_{i+1} = N$. This is, the positions of the valleys of $D$.
The '''major index''' of a Dyck path is then the sum of the positions of the valleys, $\sum_{i \in \operatorname{des}(D)} i$, see [[St000027]].
The '''major index north count''' is given by $\sum_{i \in \operatorname{des}(D)} \#\{ j \leq i \mid D_j = N\}$.
Matching statistic: St000008
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00100: Dyck paths —touch composition⟶ Integer compositions
St000008: Integer compositions ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00100: Dyck paths —touch composition⟶ Integer compositions
St000008: Integer compositions ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [1,0]
=> [1] => 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> [1,1] => 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> [2] => 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> [1,1,1] => 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> [1,2] => 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> [2,1] => 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> [1,2] => 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> [3] => 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> [3] => 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,0,1,0,1,0,1,0]
=> [1,1,1,1] => 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> [1,1,2] => 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,0,1,1,0,0,1,0]
=> [1,2,1] => 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> [1,1,2] => 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,0,0,1,0,1,0]
=> [2,1,1] => 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [2,2] => 2
[2,3,1,4] => [1,1,0,1,0,0,1,0]
=> [1,0,1,1,0,0,1,0]
=> [1,2,1] => 4
[2,3,4,1] => [1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [2,2] => 2
[2,4,1,3] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[2,4,3,1] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[3,1,2,4] => [1,1,1,0,0,0,1,0]
=> [1,1,1,0,0,0,1,0]
=> [3,1] => 3
[3,1,4,2] => [1,1,1,0,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [2,2] => 2
[3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,1,1,0,0,0,1,0]
=> [3,1] => 3
[3,2,4,1] => [1,1,1,0,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [2,2] => 2
[3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[3,4,2,1] => [1,1,1,0,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,3] => 1
[4,1,2,3] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[4,1,3,2] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[4,2,1,3] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[4,3,1,2] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4] => 0
[1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,0,1,0,1,0,1,0,1,0]
=> [1,1,1,1,1] => 10
[1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> [1,1,1,2] => 6
[1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [1,0,1,0,1,1,0,0,1,0]
=> [1,1,2,1] => 7
[1,2,4,5,3] => [1,0,1,0,1,1,0,1,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> [1,1,1,2] => 6
[1,2,5,3,4] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,3] => 3
[1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,3] => 3
[1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,0,1,1,0,0,1,0,1,0]
=> [1,2,1,1] => 8
[1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,2,2] => 4
[1,3,4,2,5] => [1,0,1,1,0,1,0,0,1,0]
=> [1,0,1,0,1,1,0,0,1,0]
=> [1,1,2,1] => 7
[1,3,4,5,2] => [1,0,1,1,0,1,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,2,2] => 4
[1,3,5,2,4] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,3] => 3
[1,3,5,4,2] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,3] => 3
[1,4,2,3,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,3,1] => 5
[1,4,2,5,3] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,2,2] => 4
[1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,3,1] => 5
[1,4,3,5,2] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,2,2] => 4
[1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,3] => 3
Description
The major index of the composition.
The descents of a composition $[c_1,c_2,\dots,c_k]$ are the partial sums $c_1, c_1+c_2,\dots, c_1+\dots+c_{k-1}$, excluding the sum of all parts. The major index of a composition is the sum of its descents.
For details about the major index see [[Permutations/Descents-Major]].
Matching statistic: St000947
(load all 3 compositions to match this statistic)
(load all 3 compositions to match this statistic)
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
St000947: Dyck paths ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
St000947: Dyck paths ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [1,0]
=> ? = 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> 1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> 3
[1,3,5,4,2] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,4,2,3,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> 5
[1,4,2,5,3] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> 5
[1,4,3,5,2] => [1,0,1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,1,0,0]
=> 4
[1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
[1,4,5,3,2] => [1,0,1,1,1,0,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 3
Description
The major index east count of a Dyck path.
The descent set $\operatorname{des}(D)$ of a Dyck path $D = D_1 \cdots D_{2n}$ with $D_i \in \{N,E\}$ is given by all indices $i$ such that $D_i = E$ and $D_{i+1} = N$. This is, the positions of the valleys of $D$.
The '''major index''' of a Dyck path is then the sum of the positions of the valleys, $\sum_{i \in \operatorname{des}(D)} i$, see [[St000027]].
The '''major index east count''' is given by $\sum_{i \in \operatorname{des}(D)} \#\{ j \leq i \mid D_j = E\}$.
Matching statistic: St000012
(load all 3 compositions to match this statistic)
(load all 3 compositions to match this statistic)
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
St000012: Dyck paths ⟶ ℤResult quality: 76% ●values known / values provided: 92%●distinct values known / distinct values provided: 76%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
St000012: Dyck paths ⟶ ℤResult quality: 76% ●values known / values provided: 92%●distinct values known / distinct values provided: 76%
Values
[1] => [1,0]
=> [1,0]
=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0]
=> [1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0]
=> ? = 8
Description
The area of a Dyck path.
This is the number of complete squares in the integer lattice which are below the path and above the x-axis. The 'half-squares' directly above the axis do not contribute to this statistic.
1. Dyck paths are bijection with '''area sequences''' $(a_1,\ldots,a_n)$ such that $a_1 = 0, a_{k+1} \leq a_k + 1$.
2. The generating function $\mathbf{D}_n(q) = \sum_{D \in \mathfrak{D}_n} q^{\operatorname{area}(D)}$ satisfy the recurrence $$\mathbf{D}_{n+1}(q) = \sum q^k \mathbf{D}_k(q) \mathbf{D}_{n-k}(q).$$
3. The area is equidistributed with [[St000005]] and [[St000006]]. Pairs of these statistics play an important role in the theory of $q,t$-Catalan numbers.
Matching statistic: St000492
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000492: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000492: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Values
[1] => [1,0]
=> [1,0]
=> {{1}}
=> ? = 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> {{1},{2}}
=> 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> {{1,2}}
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> {{1},{2},{3}}
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> {{1,2},{3}}
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,1,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,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[3,4,5,6,7,1,2,8] => [1,1,1,0,1,0,1,0,1,0,1,0,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,0]
=> {{1},{2,3,4},{5,6,7},{8}}
=> ? = 12
[6,5,7,4,2,1,3,8] => [1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,4,1,2,3,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[6,5,7,2,3,1,4,8] => [1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,2,3,1,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,3,1,2,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,2,1,3,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
Description
The rob statistic of a set partition.
Let $S = B_1,\ldots,B_k$ be a set partition with ordered blocks $B_i$ and with $\operatorname{min} B_a < \operatorname{min} B_b$ for $a < b$.
According to [1, Definition 3], a '''rob''' (right-opener-bigger) of $S$ is given by a pair $i < j$ such that $j = \operatorname{min} B_b$ and $i \in B_a$ for $a < b$.
This is also the number of occurrences of the pattern {{1}, {2}}, such that 2 is the minimal element of a block.
Matching statistic: St000499
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000499: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000499: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Values
[1] => [1,0]
=> [1,0]
=> {{1}}
=> ? = 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> {{1},{2}}
=> 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> {{1,2}}
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> {{1},{2},{3}}
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> {{1,2},{3}}
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> {{1,2,3}}
=> 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> {{1,2,3}}
=> 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,0,1,0,1,0,1,0]
=> {{1},{2},{3},{4}}
=> 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,0,1,1,0,0,1,0]
=> {{1},{2,3},{4}}
=> 4
[1,3,4,2] => [1,0,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1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[6,5,7,2,3,1,4,8] => [1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,2,3,1,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,3,1,2,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,2,1,3,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
Description
The rcb statistic of a set partition.
Let $S = B_1,\ldots,B_k$ be a set partition with ordered blocks $B_i$ and with $\operatorname{min} B_a < \operatorname{min} B_b$ for $a < b$.
According to [1, Definition 3], a '''rcb''' (right-closer-bigger) of $S$ is given by a pair $i < j$ such that $j = \operatorname{max} B_b$ and $i \in B_a$ for $a < b$.
Matching statistic: St000579
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000579: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Mp00099: Dyck paths —bounce path⟶ Dyck paths
Mp00138: Dyck paths —to noncrossing partition⟶ Set partitions
St000579: Set partitions ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 76%
Values
[1] => [1,0]
=> [1,0]
=> {{1}}
=> ? = 0
[1,2] => [1,0,1,0]
=> [1,0,1,0]
=> {{1},{2}}
=> 1
[2,1] => [1,1,0,0]
=> [1,1,0,0]
=> {{1,2}}
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,0,1,0,1,0]
=> {{1},{2},{3}}
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,0,1,0]
=> {{1,2},{3}}
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> {{1,2,3}}
=> 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,1,1,0,0,0]
=> {{1,2,3}}
=> 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,0,1,0,1,0,1,0]
=> {{1},{2},{3},{4}}
=> 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,0,1,1,0,0,1,0]
=> {{1},{2,3},{4}}
=> 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> {{1},{2,3,4}}
=> 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> {{1},{2,3,4}}
=> 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,0,0,1,0,1,0]
=> {{1,2},{3},{4}}
=> 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> {{1,2},{3,4}}
=> 2
[2,3,1,4] => [1,1,0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,1,2,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
[5,6,7,2,1,3,4,8] => [1,1,1,1,1,0,1,0,1,0,0,0,0,0,1,0]
=> [1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]
=> {{1,2},{3,4,5,6,7},{8}}
=> ? = 9
Description
The number of occurrences of the pattern {{1},{2}} such that 2 is a maximal element.
This is the number of pairs $i\lt j$ in different blocks such that $j$ is the maximal element of a block.
Matching statistic: St000018
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00031: Dyck paths —to 312-avoiding permutation⟶ Permutations
St000018: Permutations ⟶ ℤResult quality: 29% ●values known / values provided: 29%●distinct values known / distinct values provided: 86%
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00031: Dyck paths —to 312-avoiding permutation⟶ Permutations
St000018: Permutations ⟶ ℤResult quality: 29% ●values known / values provided: 29%●distinct values known / distinct values provided: 86%
Values
[1] => [1,0]
=> [1,0]
=> [1] => 0
[1,2] => [1,0,1,0]
=> [1,1,0,0]
=> [2,1] => 1
[2,1] => [1,1,0,0]
=> [1,0,1,0]
=> [1,2] => 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> [3,2,1] => 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> [1,3,2] => 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,1,0,0]
=> [2,3,1] => 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,1,0,0,1,0]
=> [2,1,3] => 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [1,2,3] => 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [1,2,3] => 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,0,0,0]
=> [1,4,3,2] => 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,0]
=> [2,4,3,1] => 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,1,1,0,0,0,1,0]
=> [3,2,1,4] => 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [1,2,4,3] => 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [1,2,4,3] => 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,0,0,0]
=> [3,4,2,1] => 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,1,0,0]
=> [1,3,4,2] => 2
[2,3,1,4] => [1,1,0,1,0,0,1,0]
=> [1,1,1,0,0,1,0,0]
=> [3,2,4,1] => 4
[2,3,4,1] => [1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [2,1,4,3] => 2
[2,4,1,3] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [1,3,2,4] => 1
[2,4,3,1] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [1,3,2,4] => 1
[3,1,2,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [2,3,4,1] => 3
[3,1,4,2] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [2,3,1,4] => 2
[3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [2,3,4,1] => 3
[3,2,4,1] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [2,3,1,4] => 2
[3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [2,1,3,4] => 1
[3,4,2,1] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [2,1,3,4] => 1
[4,1,2,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[4,1,3,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[4,2,1,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[4,3,1,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,1,1,1,1,0,0,0,0,0]
=> [5,4,3,2,1] => 10
[1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 6
[1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> [2,5,4,3,1] => 7
[1,2,4,5,3] => [1,0,1,0,1,1,0,1,0,0]
=> [1,1,1,1,0,0,0,0,1,0]
=> [4,3,2,1,5] => 6
[1,2,5,3,4] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,4,3] => 3
[1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,4,3] => 3
[1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,1,0,0,0,0]
=> [3,5,4,2,1] =>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1,4,7,6,5,3] => ? = 8
[1,2,5,4,7,3,6] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [1,3,6,5,4,2,7] => ? = 7
[1,2,5,4,7,6,3] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [1,3,6,5,4,2,7] => ? = 7
[1,2,5,6,3,4,7] => [1,0,1,0,1,1,1,0,1,0,0,0,1,0]
=> [1,1,1,1,1,0,0,0,0,1,0,1,0,0]
=> [5,4,3,2,6,7,1] => ? = 12
[1,2,5,6,3,7,4] => [1,0,1,0,1,1,1,0,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,1,1,1,0,0,0,0]
=> [2,3,1,7,6,5,4] => ? = 8
[1,2,5,6,4,3,7] => [1,0,1,0,1,1,1,0,1,0,0,0,1,0]
=> [1,1,1,1,1,0,0,0,0,1,0,1,0,0]
=> [5,4,3,2,6,7,1] => ? = 12
[1,2,5,6,4,7,3] => [1,0,1,0,1,1,1,0,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,1,1,1,0,0,0,0]
=> [2,3,1,7,6,5,4] => ? = 8
[1,2,5,6,7,3,4] => [1,0,1,0,1,1,1,0,1,0,1,0,0,0]
=> [1,1,0,0,1,1,1,1,0,0,0,0,1,0]
=> [2,1,6,5,4,3,7] => ? = 7
Description
The number of inversions of a permutation.
This equals the minimal number of simple transpositions $(i,i+1)$ needed to write $\pi$. Thus, it is also the Coxeter length of $\pi$.
Matching statistic: St000246
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00025: Dyck paths —to 132-avoiding permutation⟶ Permutations
St000246: Permutations ⟶ ℤResult quality: 24% ●values known / values provided: 24%●distinct values known / distinct values provided: 93%
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00025: Dyck paths —to 132-avoiding permutation⟶ Permutations
St000246: Permutations ⟶ ℤResult quality: 24% ●values known / values provided: 24%●distinct values known / distinct values provided: 93%
Values
[1] => [1,0]
=> [1,0]
=> [1] => 0
[1,2] => [1,0,1,0]
=> [1,1,0,0]
=> [1,2] => 1
[2,1] => [1,1,0,0]
=> [1,0,1,0]
=> [2,1] => 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> [1,2,3] => 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> [2,3,1] => 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,1,0,0]
=> [2,1,3] => 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,1,0,0,1,0]
=> [3,1,2] => 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [3,2,1] => 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [3,2,1] => 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,0,0,0]
=> [2,3,4,1] => 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,0]
=> [2,3,1,4] => 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,1,1,0,0,0,1,0]
=> [4,1,2,3] => 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [3,4,2,1] => 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [3,4,2,1] => 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,0,0,0]
=> [2,1,3,4] => 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,1,0,0]
=> [3,2,4,1] => 2
[2,3,1,4] => [1,1,0,1,0,0,1,0]
=> [1,1,1,0,0,1,0,0]
=> [3,1,2,4] => 4
[2,3,4,1] => [1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [3,4,1,2] => 2
[2,4,1,3] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [4,2,3,1] => 1
[2,4,3,1] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [4,2,3,1] => 1
[3,1,2,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [3,2,1,4] => 3
[3,1,4,2] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [4,2,1,3] => 2
[3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [3,2,1,4] => 3
[3,2,4,1] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [4,2,1,3] => 2
[3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [4,3,1,2] => 1
[3,4,2,1] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [4,3,1,2] => 1
[4,1,2,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[4,1,3,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[4,2,1,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[4,3,1,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 0
[1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,1,1,1,1,0,0,0,0,0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1,0,1,1,0,0,0,0]
=> [1,0,1,1,1,1,0,0,0,0,1,0,1,0]
=> [7,6,2,3,4,5,1] => ? = 6
[1,2,5,7,4,6,3] => [1,0,1,0,1,1,1,0,1,1,0,0,0,0]
=> [1,0,1,1,1,1,0,0,0,0,1,0,1,0]
=> [7,6,2,3,4,5,1] => ? = 6
Description
The number of non-inversions of a permutation.
For a permutation of $\{1,\ldots,n\}$, this is given by $\operatorname{noninv}(\pi) = \binom{n}{2}-\operatorname{inv}(\pi)$.
Matching statistic: St000041
Mp00127: Permutations —left-to-right-maxima to Dyck path⟶ Dyck paths
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00146: Dyck paths —to tunnel matching⟶ Perfect matchings
St000041: Perfect matchings ⟶ ℤResult quality: 22% ●values known / values provided: 22%●distinct values known / distinct values provided: 76%
Mp00032: Dyck paths —inverse zeta map⟶ Dyck paths
Mp00146: Dyck paths —to tunnel matching⟶ Perfect matchings
St000041: Perfect matchings ⟶ ℤResult quality: 22% ●values known / values provided: 22%●distinct values known / distinct values provided: 76%
Values
[1] => [1,0]
=> [1,0]
=> [(1,2)]
=> 0
[1,2] => [1,0,1,0]
=> [1,1,0,0]
=> [(1,4),(2,3)]
=> 1
[2,1] => [1,1,0,0]
=> [1,0,1,0]
=> [(1,2),(3,4)]
=> 0
[1,2,3] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> [(1,6),(2,5),(3,4)]
=> 3
[1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> [(1,2),(3,6),(4,5)]
=> 1
[2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,1,0,0]
=> [(1,6),(2,3),(4,5)]
=> 2
[2,3,1] => [1,1,0,1,0,0]
=> [1,1,0,0,1,0]
=> [(1,4),(2,3),(5,6)]
=> 1
[3,1,2] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6)]
=> 0
[3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6)]
=> 0
[1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 6
[1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,0,0,0]
=> [(1,2),(3,8),(4,7),(5,6)]
=> 3
[1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,0]
=> [(1,8),(2,3),(4,7),(5,6)]
=> 4
[1,3,4,2] => [1,0,1,1,0,1,0,0]
=> [1,1,1,0,0,0,1,0]
=> [(1,6),(2,5),(3,4),(7,8)]
=> 3
[1,4,2,3] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [(1,2),(3,4),(5,8),(6,7)]
=> 1
[1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> [(1,2),(3,4),(5,8),(6,7)]
=> 1
[2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,0,0,0]
=> [(1,8),(2,7),(3,4),(5,6)]
=> 5
[2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,1,0,0]
=> [(1,2),(3,8),(4,5),(6,7)]
=> 2
[2,3,1,4] => [1,1,0,1,0,0,1,0]
=> [1,1,1,0,0,1,0,0]
=> [(1,8),(2,5),(3,4),(6,7)]
=> 4
[2,3,4,1] => [1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,0]
=> [(1,4),(2,3),(5,8),(6,7)]
=> 2
[2,4,1,3] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [(1,2),(3,6),(4,5),(7,8)]
=> 1
[2,4,3,1] => [1,1,0,1,1,0,0,0]
=> [1,0,1,1,0,0,1,0]
=> [(1,2),(3,6),(4,5),(7,8)]
=> 1
[3,1,2,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [(1,8),(2,3),(4,5),(6,7)]
=> 3
[3,1,4,2] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [(1,6),(2,3),(4,5),(7,8)]
=> 2
[3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [(1,8),(2,3),(4,5),(6,7)]
=> 3
[3,2,4,1] => [1,1,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> [(1,6),(2,3),(4,5),(7,8)]
=> 2
[3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [(1,4),(2,3),(5,6),(7,8)]
=> 1
[3,4,2,1] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> [(1,4),(2,3),(5,6),(7,8)]
=> 1
[4,1,2,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[4,1,3,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[4,2,1,3] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[4,3,1,2] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,1,1,1,1,0,0,0,0,0]
=> [(1,10),(2,9),(3,8),(4,7),(5,6)]
=> 10
[1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 6
[1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7)]
=> 7
[1,2,4,5,3] => [1,0,1,0,1,1,0,1,0,0]
=> [1,1,1,1,0,0,0,0,1,0]
=> [(1,8),(2,7),(3,6),(4,5),(9,10)]
=> 6
[1,2,5,3,4] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [(1,2),(3,4),(5,10),(6,9),(7,8)]
=> 3
[1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> [(1,2),(3,4),(5,10),(6,9),(7,8)]
=> 3
[1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,1,0,0,0,0]
=> [(1,10),(2,9),(3,4),(5,8),(6,7)]
=> 8
[1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,10),(4,5),(6,9),(7,8)]
=> 4
[1,3,4,2,5] => [1,0,1,1,0,1,0,0,1,0]
=> [1,1,1,1,0,0,0,1,0,0]
=> [(1,10),(2,7),(3,6),(4,5),(8,9)]
=> 7
[1,3,4,5,2] => [1,0,1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,1,0,0,0]
=> [(1,4),(2,3),(5,10),(6,9),(7,8)]
=> 4
[1,3,5,2,4] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> [(1,2),(3,8),(4,7),(5,6),(9,10)]
=> 3
[1,3,5,4,2] => [1,0,1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,0,0,1,0]
=> [(1,2),(3,8),(4,7),(5,6),(9,10)]
=> 3
[1,4,2,3,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,1,0,0,0]
=> [(1,10),(2,3),(4,5),(6,9),(7,8)]
=> 5
[1,4,2,5,3] => [1,0,1,1,1,0,0,1,0,0]
=> [1,1,0,1,1,0,0,0,1,0]
=> [(1,8),(2,3),(4,7),(5,6),(9,10)]
=> 4
[1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,1,0,1,0,1,1,0,0,0]
=> [(1,10),(2,3),(4,5),(6,9),(7,8)]
=> 5
[1,4,3,5,2] => [1,0,1,1,1,0,0,1,0,0]
=> [1,1,0,1,1,0,0,0,1,0]
=> [(1,8),(2,3),(4,7),(5,6),(9,10)]
=> 4
[1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,1,1,0,0,0,1,0,1,0]
=> [(1,6),(2,5),(3,4),(7,8),(9,10)]
=> 3
[1,2,4,3,7,5,6] => [1,0,1,0,1,1,0,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,1,1,1,0,0,0,0]
=> [(1,2),(3,4),(5,14),(6,7),(8,13),(9,12),(10,11)]
=> ? = 7
[1,2,4,3,7,6,5] => [1,0,1,0,1,1,0,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,1,1,1,0,0,0,0]
=> [(1,2),(3,4),(5,14),(6,7),(8,13),(9,12),(10,11)]
=> ? = 7
[1,2,5,3,4,7,6] => [1,0,1,0,1,1,1,0,0,0,1,1,0,0]
=> [1,0,1,1,0,1,0,1,1,1,0,0,0,0]
=> [(1,2),(3,14),(4,5),(6,7),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,5,3,6,7,4] => [1,0,1,0,1,1,1,0,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,1,1,1,0,0,0,0]
=> [(1,4),(2,3),(5,14),(6,7),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,5,3,7,4,6] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 7
[1,2,5,3,7,6,4] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 7
[1,2,5,4,3,7,6] => [1,0,1,0,1,1,1,0,0,0,1,1,0,0]
=> [1,0,1,1,0,1,0,1,1,1,0,0,0,0]
=> [(1,2),(3,14),(4,5),(6,7),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,5,4,6,7,3] => [1,0,1,0,1,1,1,0,0,1,0,1,0,0]
=> [1,1,0,0,1,1,0,1,1,1,0,0,0,0]
=> [(1,4),(2,3),(5,14),(6,7),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,5,4,7,3,6] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 7
[1,2,5,4,7,6,3] => [1,0,1,0,1,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 7
[1,2,5,6,3,7,4] => [1,0,1,0,1,1,1,0,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,1,1,1,0,0,0,0]
=> [(1,6),(2,3),(4,5),(7,14),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,5,6,4,7,3] => [1,0,1,0,1,1,1,0,1,0,0,1,0,0]
=> [1,1,0,1,0,0,1,1,1,1,0,0,0,0]
=> [(1,6),(2,3),(4,5),(7,14),(8,13),(9,12),(10,11)]
=> ? = 8
[1,2,6,3,4,7,5] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,3,5,7,4] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,3,7,4,5] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,2,6,3,7,5,4] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,2,6,4,3,7,5] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,4,5,7,3] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,4,7,3,5] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,2,6,4,7,5,3] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,2,6,5,3,7,4] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,5,4,7,3] => [1,0,1,0,1,1,1,1,0,0,0,1,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,5),(6,11),(7,10),(8,9),(13,14)]
=> ? = 8
[1,2,6,5,7,3,4] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,2,6,5,7,4,3] => [1,0,1,0,1,1,1,1,0,0,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,12),(13,14)]
=> ? = 7
[1,3,2,5,4,7,6] => [1,0,1,1,0,0,1,1,0,0,1,1,0,0]
=> [1,0,1,1,0,1,1,0,1,1,0,0,0,0]
=> [(1,2),(3,14),(4,5),(6,13),(7,8),(9,12),(10,11)]
=> ? = 9
[1,3,2,5,6,7,4] => [1,0,1,1,0,0,1,1,0,1,0,1,0,0]
=> [1,1,0,0,1,1,1,0,1,1,0,0,0,0]
=> [(1,4),(2,3),(5,14),(6,13),(7,8),(9,12),(10,11)]
=> ? = 9
[1,3,2,5,7,4,6] => [1,0,1,1,0,0,1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,11),(5,6),(7,10),(8,9),(13,14)]
=> ? = 8
[1,3,2,5,7,6,4] => [1,0,1,1,0,0,1,1,0,1,1,0,0,0]
=> [1,0,1,1,1,0,1,1,0,0,0,0,1,0]
=> [(1,2),(3,12),(4,11),(5,6),(7,10),(8,9),(13,14)]
=> ? = 8
[1,3,2,6,4,7,5] => [1,0,1,1,0,0,1,1,1,0,0,1,0,0]
=> [1,1,0,1,1,0,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,11),(5,6),(7,10),(8,9),(13,14)]
=> ? = 9
[1,3,2,6,5,7,4] => [1,0,1,1,0,0,1,1,1,0,0,1,0,0]
=> [1,1,0,1,1,0,1,1,0,0,0,0,1,0]
=> [(1,12),(2,3),(4,11),(5,6),(7,10),(8,9),(13,14)]
=> ? = 9
[1,3,2,6,7,4,5] => [1,0,1,1,0,0,1,1,1,0,1,0,0,0]
=> [1,1,1,0,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,9),(3,4),(5,8),(6,7),(11,12),(13,14)]
=> ? = 8
[1,3,2,6,7,5,4] => [1,0,1,1,0,0,1,1,1,0,1,0,0,0]
=> [1,1,1,0,1,1,0,0,0,0,1,0,1,0]
=> [(1,10),(2,9),(3,4),(5,8),(6,7),(11,12),(13,14)]
=> ? = 8
[1,3,2,7,4,5,6] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,2,7,4,6,5] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,2,7,5,4,6] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,2,7,5,6,4] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,2,7,6,4,5] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,2,7,6,5,4] => [1,0,1,1,0,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,1,1,0,0,0]
=> [(1,2),(3,4),(5,6),(7,14),(8,9),(10,13),(11,12)]
=> ? = 4
[1,3,4,5,2,7,6] => [1,0,1,1,0,1,0,1,0,0,1,1,0,0]
=> [1,0,1,1,1,0,0,1,1,1,0,0,0,0]
=> [(1,2),(3,14),(4,7),(5,6),(8,13),(9,12),(10,11)]
=> ? = 9
[1,3,4,6,2,7,5] => [1,0,1,1,0,1,0,1,1,0,0,1,0,0]
=> [1,1,1,0,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,5),(3,4),(6,11),(7,10),(8,9),(13,14)]
=> ? = 9
[1,3,4,6,5,7,2] => [1,0,1,1,0,1,0,1,1,0,0,1,0,0]
=> [1,1,1,0,0,1,1,1,0,0,0,0,1,0]
=> [(1,12),(2,5),(3,4),(6,11),(7,10),(8,9),(13,14)]
=> ? = 9
[1,3,5,2,4,7,6] => [1,0,1,1,0,1,1,0,0,0,1,1,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,1,0,0]
=> [(1,2),(3,14),(4,5),(6,11),(7,10),(8,9),(12,13)]
=> ? = 8
[1,3,5,2,6,7,4] => [1,0,1,1,0,1,1,0,0,1,0,1,0,0]
=> [1,1,0,0,1,1,1,1,0,0,0,1,0,0]
=> [(1,4),(2,3),(5,14),(6,11),(7,10),(8,9),(12,13)]
=> ? = 8
[1,3,5,2,7,4,6] => [1,0,1,1,0,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,1,1,0,0,0,1,0,0,1,0]
=> [(1,2),(3,12),(4,9),(5,8),(6,7),(10,11),(13,14)]
=> ? = 7
[1,3,5,2,7,6,4] => [1,0,1,1,0,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,1,1,0,0,0,1,0,0,1,0]
=> [(1,2),(3,12),(4,9),(5,8),(6,7),(10,11),(13,14)]
=> ? = 7
[1,3,5,4,2,7,6] => [1,0,1,1,0,1,1,0,0,0,1,1,0,0]
=> [1,0,1,1,0,1,1,1,0,0,0,1,0,0]
=> [(1,2),(3,14),(4,5),(6,11),(7,10),(8,9),(12,13)]
=> ? = 8
[1,3,5,4,6,7,2] => [1,0,1,1,0,1,1,0,0,1,0,1,0,0]
=> [1,1,0,0,1,1,1,1,0,0,0,1,0,0]
=> [(1,4),(2,3),(5,14),(6,11),(7,10),(8,9),(12,13)]
=> ? = 8
[1,3,5,4,7,2,6] => [1,0,1,1,0,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,1,1,0,0,0,1,0,0,1,0]
=> [(1,2),(3,12),(4,9),(5,8),(6,7),(10,11),(13,14)]
=> ? = 7
[1,3,5,4,7,6,2] => [1,0,1,1,0,1,1,0,0,1,1,0,0,0]
=> [1,0,1,1,1,1,0,0,0,1,0,0,1,0]
=> [(1,2),(3,12),(4,9),(5,8),(6,7),(10,11),(13,14)]
=> ? = 7
[1,3,5,6,2,7,4] => [1,0,1,1,0,1,1,0,1,0,0,1,0,0]
=> [1,1,0,1,1,1,0,0,0,0,1,1,0,0]
=> [(1,10),(2,3),(4,9),(5,8),(6,7),(11,14),(12,13)]
=> ? = 8
Description
The number of nestings of a perfect matching.
This is the number of pairs of edges $((a,b), (c,d))$ such that $a\le c\le d\le b$. i.e., the edge $(c,d)$ is nested inside $(a,b)$.
The following 17 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000161The sum of the sizes of the right subtrees of a binary tree. St001671Haglund's hag of a permutation. St001558The number of transpositions that are smaller or equal to a permutation in Bruhat order. St001397Number of pairs of incomparable elements in a finite poset. St000796The stat' of a permutation. St000798The makl of a permutation. St000833The comajor index of a permutation. St000067The inversion number of the alternating sign matrix. St000057The Shynar inversion number of a standard tableau. St000076The rank of the alternating sign matrix in the alternating sign matrix poset. St000005The bounce statistic of a Dyck path. St000133The "bounce" of a permutation. St001295Gives the vector space dimension of the homomorphism space between J^2 and J^2. St000006The dinv of a Dyck path. St000156The Denert index of a permutation. St000305The inverse major index of a permutation. St001583The projective dimension of the simple module corresponding to the point in the poset of the symmetric group under bruhat order.
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!