searching the database
Your data matches 98 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: St000672
St000672: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => 0
[1,2] => 1
[2,1] => 0
[1,2,3] => 2
[1,3,2] => 1
[2,1,3] => 1
[2,3,1] => 1
[3,1,2] => 1
[3,2,1] => 0
[1,2,3,4] => 3
[1,2,4,3] => 2
[1,3,2,4] => 2
[1,3,4,2] => 2
[1,4,2,3] => 2
[1,4,3,2] => 1
[2,1,3,4] => 2
[2,1,4,3] => 1
[2,3,1,4] => 2
[2,3,4,1] => 2
[2,4,1,3] => 2
[2,4,3,1] => 1
[3,1,2,4] => 2
[3,1,4,2] => 2
[3,2,1,4] => 1
[3,2,4,1] => 1
[3,4,1,2] => 2
[3,4,2,1] => 1
[4,1,2,3] => 2
[4,1,3,2] => 1
[4,2,1,3] => 1
[4,2,3,1] => 1
[4,3,1,2] => 1
[4,3,2,1] => 0
[1,2,3,4,5] => 4
[1,2,3,5,4] => 3
[1,2,4,3,5] => 3
[1,2,4,5,3] => 3
[1,2,5,3,4] => 3
[1,2,5,4,3] => 2
[1,3,2,4,5] => 3
[1,3,2,5,4] => 2
[1,3,4,2,5] => 3
[1,3,4,5,2] => 3
[1,3,5,2,4] => 3
[1,3,5,4,2] => 2
[1,4,2,3,5] => 3
[1,4,2,5,3] => 3
[1,4,3,2,5] => 2
[1,4,3,5,2] => 2
[1,4,5,2,3] => 3
Description
The number of minimal elements in Bruhat order not less than the permutation.
The minimal elements in question are biGrassmannian, that is
$$1\dots r\ \ a+1\dots b\ \ r+1\dots a\ \ b+1\dots$$
for some $(r,a,b)$.
This is also the size of Fulton's essential set of the reverse permutation, according to [ex.4.7, 2].
Matching statistic: St001965
Mp00063: Permutations —to alternating sign matrix⟶ Alternating sign matrices
St001965: Alternating sign matrices ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
St001965: Alternating sign matrices ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [[1]]
=> 0
[1,2] => [[1,0],[0,1]]
=> 1
[2,1] => [[0,1],[1,0]]
=> 0
[1,2,3] => [[1,0,0],[0,1,0],[0,0,1]]
=> 2
[1,3,2] => [[1,0,0],[0,0,1],[0,1,0]]
=> 1
[2,1,3] => [[0,1,0],[1,0,0],[0,0,1]]
=> 1
[2,3,1] => [[0,0,1],[1,0,0],[0,1,0]]
=> 1
[3,1,2] => [[0,1,0],[0,0,1],[1,0,0]]
=> 1
[3,2,1] => [[0,0,1],[0,1,0],[1,0,0]]
=> 0
[1,2,3,4] => [[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]
=> 3
[1,2,4,3] => [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]
=> 2
[1,3,2,4] => [[1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]]
=> 2
[1,3,4,2] => [[1,0,0,0],[0,0,0,1],[0,1,0,0],[0,0,1,0]]
=> 2
[1,4,2,3] => [[1,0,0,0],[0,0,1,0],[0,0,0,1],[0,1,0,0]]
=> 2
[1,4,3,2] => [[1,0,0,0],[0,0,0,1],[0,0,1,0],[0,1,0,0]]
=> 1
[2,1,3,4] => [[0,1,0,0],[1,0,0,0],[0,0,1,0],[0,0,0,1]]
=> 2
[2,1,4,3] => [[0,1,0,0],[1,0,0,0],[0,0,0,1],[0,0,1,0]]
=> 1
[2,3,1,4] => [[0,0,1,0],[1,0,0,0],[0,1,0,0],[0,0,0,1]]
=> 2
[2,3,4,1] => [[0,0,0,1],[1,0,0,0],[0,1,0,0],[0,0,1,0]]
=> 2
[2,4,1,3] => [[0,0,1,0],[1,0,0,0],[0,0,0,1],[0,1,0,0]]
=> 2
[2,4,3,1] => [[0,0,0,1],[1,0,0,0],[0,0,1,0],[0,1,0,0]]
=> 1
[3,1,2,4] => [[0,1,0,0],[0,0,1,0],[1,0,0,0],[0,0,0,1]]
=> 2
[3,1,4,2] => [[0,1,0,0],[0,0,0,1],[1,0,0,0],[0,0,1,0]]
=> 2
[3,2,1,4] => [[0,0,1,0],[0,1,0,0],[1,0,0,0],[0,0,0,1]]
=> 1
[3,2,4,1] => [[0,0,0,1],[0,1,0,0],[1,0,0,0],[0,0,1,0]]
=> 1
[3,4,1,2] => [[0,0,1,0],[0,0,0,1],[1,0,0,0],[0,1,0,0]]
=> 2
[3,4,2,1] => [[0,0,0,1],[0,0,1,0],[1,0,0,0],[0,1,0,0]]
=> 1
[4,1,2,3] => [[0,1,0,0],[0,0,1,0],[0,0,0,1],[1,0,0,0]]
=> 2
[4,1,3,2] => [[0,1,0,0],[0,0,0,1],[0,0,1,0],[1,0,0,0]]
=> 1
[4,2,1,3] => [[0,0,1,0],[0,1,0,0],[0,0,0,1],[1,0,0,0]]
=> 1
[4,2,3,1] => [[0,0,0,1],[0,1,0,0],[0,0,1,0],[1,0,0,0]]
=> 1
[4,3,1,2] => [[0,0,1,0],[0,0,0,1],[0,1,0,0],[1,0,0,0]]
=> 1
[4,3,2,1] => [[0,0,0,1],[0,0,1,0],[0,1,0,0],[1,0,0,0]]
=> 0
[1,2,3,4,5] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1]]
=> 4
[1,2,3,5,4] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,0,1],[0,0,0,1,0]]
=> 3
[1,2,4,3,5] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,0,1,0],[0,0,1,0,0],[0,0,0,0,1]]
=> 3
[1,2,4,5,3] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,0,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 3
[1,2,5,3,4] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,0,1,0],[0,0,0,0,1],[0,0,1,0,0]]
=> 3
[1,2,5,4,3] => [[1,0,0,0,0],[0,1,0,0,0],[0,0,0,0,1],[0,0,0,1,0],[0,0,1,0,0]]
=> 2
[1,3,2,4,5] => [[1,0,0,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,0,0,1,0],[0,0,0,0,1]]
=> 3
[1,3,2,5,4] => [[1,0,0,0,0],[0,0,1,0,0],[0,1,0,0,0],[0,0,0,0,1],[0,0,0,1,0]]
=> 2
[1,3,4,2,5] => [[1,0,0,0,0],[0,0,0,1,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,0,1]]
=> 3
[1,3,4,5,2] => [[1,0,0,0,0],[0,0,0,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 3
[1,3,5,2,4] => [[1,0,0,0,0],[0,0,0,1,0],[0,1,0,0,0],[0,0,0,0,1],[0,0,1,0,0]]
=> 3
[1,3,5,4,2] => [[1,0,0,0,0],[0,0,0,0,1],[0,1,0,0,0],[0,0,0,1,0],[0,0,1,0,0]]
=> 2
[1,4,2,3,5] => [[1,0,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,1,0,0,0],[0,0,0,0,1]]
=> 3
[1,4,2,5,3] => [[1,0,0,0,0],[0,0,1,0,0],[0,0,0,0,1],[0,1,0,0,0],[0,0,0,1,0]]
=> 3
[1,4,3,2,5] => [[1,0,0,0,0],[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[0,0,0,0,1]]
=> 2
[1,4,3,5,2] => [[1,0,0,0,0],[0,0,0,0,1],[0,0,1,0,0],[0,1,0,0,0],[0,0,0,1,0]]
=> 2
[1,4,5,2,3] => [[1,0,0,0,0],[0,0,0,1,0],[0,0,0,0,1],[0,1,0,0,0],[0,0,1,0,0]]
=> 3
Description
The number of decreasable positions in the corner sum matrix of an alternating sign matrix.
A decreasable position in a corner sum matrix is an entry such that the matrix obtained by decreasing it by one yields the corner sum matrix of some alternating sign matrix.
Matching statistic: St001298
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St001298: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00066: Permutations —inverse⟶ Permutations
St001298: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => 1
[2,1] => [2,1] => [2,1] => 0
[1,2,3] => [1,2,3] => [1,2,3] => 2
[1,3,2] => [1,3,2] => [1,3,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => 1
[2,3,1] => [1,3,2] => [1,3,2] => 1
[3,1,2] => [3,1,2] => [2,3,1] => 1
[3,2,1] => [3,2,1] => [3,2,1] => 0
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 3
[1,2,4,3] => [1,2,4,3] => [1,2,4,3] => 2
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => 2
[1,3,4,2] => [1,2,4,3] => [1,2,4,3] => 2
[1,4,2,3] => [1,4,2,3] => [1,3,4,2] => 2
[1,4,3,2] => [1,4,3,2] => [1,4,3,2] => 1
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[2,1,4,3] => [2,1,4,3] => [2,1,4,3] => 2
[2,3,1,4] => [1,3,2,4] => [1,3,2,4] => 2
[2,3,4,1] => [1,2,4,3] => [1,2,4,3] => 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => 1
[2,4,3,1] => [1,4,3,2] => [1,4,3,2] => 1
[3,1,2,4] => [3,1,2,4] => [2,3,1,4] => 2
[3,1,4,2] => [2,1,4,3] => [2,1,4,3] => 2
[3,2,1,4] => [3,2,1,4] => [3,2,1,4] => 1
[3,2,4,1] => [2,1,4,3] => [2,1,4,3] => 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => 1
[3,4,2,1] => [1,4,3,2] => [1,4,3,2] => 1
[4,1,2,3] => [4,1,2,3] => [2,3,4,1] => 2
[4,1,3,2] => [4,1,3,2] => [2,4,3,1] => 1
[4,2,1,3] => [4,2,1,3] => [3,2,4,1] => 1
[4,2,3,1] => [4,1,3,2] => [2,4,3,1] => 1
[4,3,1,2] => [4,3,1,2] => [3,4,2,1] => 1
[4,3,2,1] => [4,3,2,1] => [4,3,2,1] => 0
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 4
[1,2,3,5,4] => [1,2,3,5,4] => [1,2,3,5,4] => 3
[1,2,4,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => 3
[1,2,4,5,3] => [1,2,3,5,4] => [1,2,3,5,4] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,2,4,5,3] => 3
[1,2,5,4,3] => [1,2,5,4,3] => [1,2,5,4,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,3,2,4,5] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [1,3,2,5,4] => 3
[1,3,4,2,5] => [1,2,4,3,5] => [1,2,4,3,5] => 3
[1,3,4,5,2] => [1,2,3,5,4] => [1,2,3,5,4] => 3
[1,3,5,2,4] => [1,3,5,2,4] => [1,4,2,5,3] => 2
[1,3,5,4,2] => [1,2,5,4,3] => [1,2,5,4,3] => 2
[1,4,2,3,5] => [1,4,2,3,5] => [1,3,4,2,5] => 3
[1,4,2,5,3] => [1,3,2,5,4] => [1,3,2,5,4] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,4,3,2,5] => 2
[1,4,3,5,2] => [1,3,2,5,4] => [1,3,2,5,4] => 3
[1,4,5,2,3] => [1,3,5,2,4] => [1,4,2,5,3] => 2
Description
The number of repeated entries in the Lehmer code of a permutation.
The Lehmer code of a permutation $\pi$ is the sequence $(v_1,\dots,v_n)$, with $v_i=|\{j > i: \pi(j) < \pi(i)\}$. This statistic counts the number of distinct elements in this sequence.
Matching statistic: St000021
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St000021: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St000021: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [2,1] => [2,1] => 1
[2,1] => [2,1] => [1,2] => [1,2] => 0
[1,2,3] => [1,2,3] => [3,2,1] => [3,2,1] => 2
[1,3,2] => [1,3,2] => [2,3,1] => [2,3,1] => 1
[2,1,3] => [2,1,3] => [3,1,2] => [1,3,2] => 1
[2,3,1] => [1,3,2] => [2,3,1] => [2,3,1] => 1
[3,1,2] => [3,1,2] => [2,1,3] => [2,1,3] => 1
[3,2,1] => [3,2,1] => [1,2,3] => [1,2,3] => 0
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => [4,3,2,1] => 3
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => [2,4,3,1] => 2
[1,3,4,2] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => [3,2,4,1] => 2
[1,4,3,2] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => [1,4,3,2] => 2
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[2,3,1,4] => [1,3,2,4] => [4,2,3,1] => [2,4,3,1] => 2
[2,3,4,1] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => [1,3,4,2] => 1
[2,4,3,1] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => [2,1,4,3] => 2
[3,1,4,2] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[3,2,1,4] => [3,2,1,4] => [4,1,2,3] => [1,2,4,3] => 1
[3,2,4,1] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => [1,3,4,2] => 1
[3,4,2,1] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => [3,2,1,4] => 2
[4,1,3,2] => [4,1,3,2] => [2,3,1,4] => [2,3,1,4] => 1
[4,2,1,3] => [4,2,1,3] => [3,1,2,4] => [1,3,2,4] => 1
[4,2,3,1] => [4,1,3,2] => [2,3,1,4] => [2,3,1,4] => 1
[4,3,1,2] => [4,3,1,2] => [2,1,3,4] => [2,1,3,4] => 1
[4,3,2,1] => [4,3,2,1] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => [5,4,3,2,1] => 4
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => [3,5,4,2,1] => 3
[1,2,4,5,3] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => [4,3,5,2,1] => 3
[1,2,5,4,3] => [1,2,5,4,3] => [3,4,5,2,1] => [3,4,5,2,1] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => [2,5,4,3,1] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,3,4,2,5] => [1,2,4,3,5] => [5,3,4,2,1] => [3,5,4,2,1] => 3
[1,3,4,5,2] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,3,5,2,4] => [1,3,5,2,4] => [4,2,5,3,1] => [2,4,5,3,1] => 2
[1,3,5,4,2] => [1,2,5,4,3] => [3,4,5,2,1] => [3,4,5,2,1] => 2
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => [3,2,5,4,1] => 3
[1,4,2,5,3] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => [2,3,5,4,1] => 2
[1,4,3,5,2] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,4,5,2,3] => [1,3,5,2,4] => [4,2,5,3,1] => [2,4,5,3,1] => 2
Description
The number of descents of a permutation.
This can be described as an occurrence of the vincular mesh pattern ([2,1], {(1,0),(1,1),(1,2)}), i.e., the middle column is shaded, see [3].
Matching statistic: St000245
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
Mp00062: Permutations —Lehmer-code to major-code bijection⟶ Permutations
St000245: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00066: Permutations —inverse⟶ Permutations
Mp00062: Permutations —Lehmer-code to major-code bijection⟶ Permutations
St000245: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => [1,2] => 1
[2,1] => [2,1] => [2,1] => [2,1] => 0
[1,2,3] => [1,2,3] => [1,2,3] => [1,2,3] => 2
[1,3,2] => [1,3,2] => [1,3,2] => [3,1,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => [2,1,3] => 1
[2,3,1] => [1,3,2] => [1,3,2] => [3,1,2] => 1
[3,1,2] => [3,1,2] => [2,3,1] => [1,3,2] => 1
[3,2,1] => [3,2,1] => [3,2,1] => [3,2,1] => 0
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 3
[1,2,4,3] => [1,2,4,3] => [1,2,4,3] => [4,1,2,3] => 2
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => [3,1,2,4] => 2
[1,3,4,2] => [1,2,4,3] => [1,2,4,3] => [4,1,2,3] => 2
[1,4,2,3] => [1,4,2,3] => [1,3,4,2] => [2,4,1,3] => 2
[1,4,3,2] => [1,4,3,2] => [1,4,3,2] => [4,3,1,2] => 1
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[2,1,4,3] => [2,1,4,3] => [2,1,4,3] => [1,4,2,3] => 2
[2,3,1,4] => [1,3,2,4] => [1,3,2,4] => [3,1,2,4] => 2
[2,3,4,1] => [1,2,4,3] => [1,2,4,3] => [4,1,2,3] => 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => [4,2,1,3] => 1
[2,4,3,1] => [1,4,3,2] => [1,4,3,2] => [4,3,1,2] => 1
[3,1,2,4] => [3,1,2,4] => [2,3,1,4] => [1,3,2,4] => 2
[3,1,4,2] => [2,1,4,3] => [2,1,4,3] => [1,4,2,3] => 2
[3,2,1,4] => [3,2,1,4] => [3,2,1,4] => [3,2,1,4] => 1
[3,2,4,1] => [2,1,4,3] => [2,1,4,3] => [1,4,2,3] => 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => [4,2,1,3] => 1
[3,4,2,1] => [1,4,3,2] => [1,4,3,2] => [4,3,1,2] => 1
[4,1,2,3] => [4,1,2,3] => [2,3,4,1] => [1,2,4,3] => 2
[4,1,3,2] => [4,1,3,2] => [2,4,3,1] => [4,1,3,2] => 1
[4,2,1,3] => [4,2,1,3] => [3,2,4,1] => [2,1,4,3] => 1
[4,2,3,1] => [4,1,3,2] => [2,4,3,1] => [4,1,3,2] => 1
[4,3,1,2] => [4,3,1,2] => [3,4,2,1] => [1,4,3,2] => 1
[4,3,2,1] => [4,3,2,1] => [4,3,2,1] => [4,3,2,1] => 0
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 4
[1,2,3,5,4] => [1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => 3
[1,2,4,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => 3
[1,2,4,5,3] => [1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,2,4,5,3] => [3,5,1,2,4] => 3
[1,2,5,4,3] => [1,2,5,4,3] => [1,2,5,4,3] => [5,4,1,2,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [1,3,2,5,4] => [2,5,1,3,4] => 3
[1,3,4,2,5] => [1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => 3
[1,3,4,5,2] => [1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => 3
[1,3,5,2,4] => [1,3,5,2,4] => [1,4,2,5,3] => [5,3,1,2,4] => 2
[1,3,5,4,2] => [1,2,5,4,3] => [1,2,5,4,3] => [5,4,1,2,3] => 2
[1,4,2,3,5] => [1,4,2,3,5] => [1,3,4,2,5] => [2,4,1,3,5] => 3
[1,4,2,5,3] => [1,3,2,5,4] => [1,3,2,5,4] => [2,5,1,3,4] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => 2
[1,4,3,5,2] => [1,3,2,5,4] => [1,3,2,5,4] => [2,5,1,3,4] => 3
[1,4,5,2,3] => [1,3,5,2,4] => [1,4,2,5,3] => [5,3,1,2,4] => 2
Description
The number of ascents of a permutation.
Matching statistic: St000272
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00160: Permutations —graph of inversions⟶ Graphs
St000272: Graphs ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00160: Permutations —graph of inversions⟶ Graphs
St000272: Graphs ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => ([],1)
=> 0
[1,2] => [1,2] => [2,1] => ([(0,1)],2)
=> 1
[2,1] => [2,1] => [1,2] => ([],2)
=> 0
[1,2,3] => [1,2,3] => [3,2,1] => ([(0,1),(0,2),(1,2)],3)
=> 2
[1,3,2] => [1,3,2] => [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[2,1,3] => [2,1,3] => [3,1,2] => ([(0,2),(1,2)],3)
=> 1
[2,3,1] => [1,3,2] => [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[3,1,2] => [3,1,2] => [2,1,3] => ([(1,2)],3)
=> 1
[3,2,1] => [3,2,1] => [1,2,3] => ([],3)
=> 0
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => ([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 3
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,3,4,2] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,4,3,2] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[2,3,1,4] => [1,3,2,4] => [4,2,3,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,3,4,1] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 1
[2,4,3,1] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[3,1,4,2] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[3,2,1,4] => [3,2,1,4] => [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 1
[3,2,4,1] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 1
[3,4,2,1] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => ([(1,2),(1,3),(2,3)],4)
=> 2
[4,1,3,2] => [4,1,3,2] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 1
[4,2,1,3] => [4,2,1,3] => [3,1,2,4] => ([(1,3),(2,3)],4)
=> 1
[4,2,3,1] => [4,1,3,2] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 1
[4,3,1,2] => [4,3,1,2] => [2,1,3,4] => ([(2,3)],4)
=> 1
[4,3,2,1] => [4,3,2,1] => [1,2,3,4] => ([],4)
=> 0
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => ([(0,1),(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 4
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,4,5,3] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,5,4,3] => [1,2,5,4,3] => [3,4,5,2,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,3,4,2,5] => [1,2,4,3,5] => [5,3,4,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,4,5,2] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,5,2,4] => [1,3,5,2,4] => [4,2,5,3,1] => ([(0,3),(0,4),(1,2),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,3,5,4,2] => [1,2,5,4,3] => [3,4,5,2,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,4,2,5,3] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,4,3,5,2] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,4,5,2,3] => [1,3,5,2,4] => [4,2,5,3,1] => ([(0,3),(0,4),(1,2),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
Description
The treewidth of a graph.
A graph has treewidth zero if and only if it has no edges. A connected graph has treewidth at most one if and only if it is a tree. A connected graph has treewidth at most two if and only if it is a series-parallel graph.
Matching statistic: St000536
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00160: Permutations —graph of inversions⟶ Graphs
St000536: Graphs ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00160: Permutations —graph of inversions⟶ Graphs
St000536: Graphs ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => ([],1)
=> 0
[1,2] => [1,2] => [2,1] => ([(0,1)],2)
=> 1
[2,1] => [2,1] => [1,2] => ([],2)
=> 0
[1,2,3] => [1,2,3] => [3,2,1] => ([(0,1),(0,2),(1,2)],3)
=> 2
[1,3,2] => [1,3,2] => [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[2,1,3] => [2,1,3] => [3,1,2] => ([(0,2),(1,2)],3)
=> 1
[2,3,1] => [1,3,2] => [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[3,1,2] => [3,1,2] => [2,1,3] => ([(1,2)],3)
=> 1
[3,2,1] => [3,2,1] => [1,2,3] => ([],3)
=> 0
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => ([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 3
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,3,4,2] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[1,4,3,2] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[2,3,1,4] => [1,3,2,4] => [4,2,3,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,3,4,1] => [1,2,4,3] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 1
[2,4,3,1] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[3,1,4,2] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[3,2,1,4] => [3,2,1,4] => [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 1
[3,2,4,1] => [2,1,4,3] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 1
[3,4,2,1] => [1,4,3,2] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => ([(1,2),(1,3),(2,3)],4)
=> 2
[4,1,3,2] => [4,1,3,2] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 1
[4,2,1,3] => [4,2,1,3] => [3,1,2,4] => ([(1,3),(2,3)],4)
=> 1
[4,2,3,1] => [4,1,3,2] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 1
[4,3,1,2] => [4,3,1,2] => [2,1,3,4] => ([(2,3)],4)
=> 1
[4,3,2,1] => [4,3,2,1] => [1,2,3,4] => ([],4)
=> 0
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => ([(0,1),(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 4
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,4,5,3] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,2,5,4,3] => [1,2,5,4,3] => [3,4,5,2,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,3,4,2,5] => [1,2,4,3,5] => [5,3,4,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,4,5,2] => [1,2,3,5,4] => [4,5,3,2,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,3,5,2,4] => [1,3,5,2,4] => [4,2,5,3,1] => ([(0,3),(0,4),(1,2),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,3,5,4,2] => [1,2,5,4,3] => [3,4,5,2,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 3
[1,4,2,5,3] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[1,4,3,5,2] => [1,3,2,5,4] => [4,5,2,3,1] => ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,4,5,2,3] => [1,3,5,2,4] => [4,2,5,3,1] => ([(0,3),(0,4),(1,2),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
Description
The pathwidth of a graph.
Matching statistic: St000662
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St000662: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St000662: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [2,1] => [2,1] => 1
[2,1] => [2,1] => [1,2] => [1,2] => 0
[1,2,3] => [1,2,3] => [3,2,1] => [3,2,1] => 2
[1,3,2] => [1,3,2] => [2,3,1] => [3,1,2] => 1
[2,1,3] => [2,1,3] => [3,1,2] => [2,3,1] => 1
[2,3,1] => [1,3,2] => [2,3,1] => [3,1,2] => 1
[3,1,2] => [3,1,2] => [2,1,3] => [2,1,3] => 1
[3,2,1] => [3,2,1] => [1,2,3] => [1,2,3] => 0
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => [4,3,2,1] => 3
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => [4,3,1,2] => 2
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => [4,2,3,1] => 2
[1,3,4,2] => [1,2,4,3] => [3,4,2,1] => [4,3,1,2] => 2
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => [4,2,1,3] => 2
[1,4,3,2] => [1,4,3,2] => [2,3,4,1] => [4,1,2,3] => 1
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => [3,4,2,1] => 2
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => [3,4,1,2] => 2
[2,3,1,4] => [1,3,2,4] => [4,2,3,1] => [4,2,3,1] => 2
[2,3,4,1] => [1,2,4,3] => [3,4,2,1] => [4,3,1,2] => 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => [2,4,1,3] => 1
[2,4,3,1] => [1,4,3,2] => [2,3,4,1] => [4,1,2,3] => 1
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => [3,2,4,1] => 2
[3,1,4,2] => [2,1,4,3] => [3,4,1,2] => [3,4,1,2] => 2
[3,2,1,4] => [3,2,1,4] => [4,1,2,3] => [2,3,4,1] => 1
[3,2,4,1] => [2,1,4,3] => [3,4,1,2] => [3,4,1,2] => 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => [2,4,1,3] => 1
[3,4,2,1] => [1,4,3,2] => [2,3,4,1] => [4,1,2,3] => 1
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => [3,2,1,4] => 2
[4,1,3,2] => [4,1,3,2] => [2,3,1,4] => [3,1,2,4] => 1
[4,2,1,3] => [4,2,1,3] => [3,1,2,4] => [2,3,1,4] => 1
[4,2,3,1] => [4,1,3,2] => [2,3,1,4] => [3,1,2,4] => 1
[4,3,1,2] => [4,3,1,2] => [2,1,3,4] => [2,1,3,4] => 1
[4,3,2,1] => [4,3,2,1] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => [5,4,3,2,1] => 4
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => [5,4,3,1,2] => 3
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => [5,4,2,3,1] => 3
[1,2,4,5,3] => [1,2,3,5,4] => [4,5,3,2,1] => [5,4,3,1,2] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => [5,4,2,1,3] => 3
[1,2,5,4,3] => [1,2,5,4,3] => [3,4,5,2,1] => [5,4,1,2,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => [5,3,4,2,1] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => [5,3,4,1,2] => 3
[1,3,4,2,5] => [1,2,4,3,5] => [5,3,4,2,1] => [5,4,2,3,1] => 3
[1,3,4,5,2] => [1,2,3,5,4] => [4,5,3,2,1] => [5,4,3,1,2] => 3
[1,3,5,2,4] => [1,3,5,2,4] => [4,2,5,3,1] => [5,2,4,1,3] => 2
[1,3,5,4,2] => [1,2,5,4,3] => [3,4,5,2,1] => [5,4,1,2,3] => 2
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => [5,3,2,4,1] => 3
[1,4,2,5,3] => [1,3,2,5,4] => [4,5,2,3,1] => [5,3,4,1,2] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => [5,2,3,4,1] => 2
[1,4,3,5,2] => [1,3,2,5,4] => [4,5,2,3,1] => [5,3,4,1,2] => 3
[1,4,5,2,3] => [1,3,5,2,4] => [4,2,5,3,1] => [5,2,4,1,3] => 2
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 [[Mp00062]] to the number of descents, showing that together with the number of inversions [[St000018]] it is Euler-Mahonian.
Matching statistic: St001489
Mp00254: Permutations —Inverse fireworks map⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St001489: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St001489: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [2,1] => [2,1] => 1
[2,1] => [2,1] => [1,2] => [1,2] => 0
[1,2,3] => [1,2,3] => [3,2,1] => [3,2,1] => 2
[1,3,2] => [1,3,2] => [2,3,1] => [2,3,1] => 1
[2,1,3] => [2,1,3] => [3,1,2] => [1,3,2] => 1
[2,3,1] => [1,3,2] => [2,3,1] => [2,3,1] => 1
[3,1,2] => [3,1,2] => [2,1,3] => [2,1,3] => 1
[3,2,1] => [3,2,1] => [1,2,3] => [1,2,3] => 0
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => [4,3,2,1] => 3
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => [2,4,3,1] => 2
[1,3,4,2] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => [3,2,4,1] => 2
[1,4,3,2] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => [1,4,3,2] => 2
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[2,3,1,4] => [1,3,2,4] => [4,2,3,1] => [2,4,3,1] => 2
[2,3,4,1] => [1,2,4,3] => [3,4,2,1] => [3,4,2,1] => 2
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => [1,3,4,2] => 1
[2,4,3,1] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => [2,1,4,3] => 2
[3,1,4,2] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[3,2,1,4] => [3,2,1,4] => [4,1,2,3] => [1,2,4,3] => 1
[3,2,4,1] => [2,1,4,3] => [3,4,1,2] => [3,1,4,2] => 2
[3,4,1,2] => [2,4,1,3] => [3,1,4,2] => [1,3,4,2] => 1
[3,4,2,1] => [1,4,3,2] => [2,3,4,1] => [2,3,4,1] => 1
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => [3,2,1,4] => 2
[4,1,3,2] => [4,1,3,2] => [2,3,1,4] => [2,3,1,4] => 1
[4,2,1,3] => [4,2,1,3] => [3,1,2,4] => [1,3,2,4] => 1
[4,2,3,1] => [4,1,3,2] => [2,3,1,4] => [2,3,1,4] => 1
[4,3,1,2] => [4,3,1,2] => [2,1,3,4] => [2,1,3,4] => 1
[4,3,2,1] => [4,3,2,1] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => [5,4,3,2,1] => 4
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => [3,5,4,2,1] => 3
[1,2,4,5,3] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => [4,3,5,2,1] => 3
[1,2,5,4,3] => [1,2,5,4,3] => [3,4,5,2,1] => [3,4,5,2,1] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => [2,5,4,3,1] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,3,4,2,5] => [1,2,4,3,5] => [5,3,4,2,1] => [3,5,4,2,1] => 3
[1,3,4,5,2] => [1,2,3,5,4] => [4,5,3,2,1] => [4,5,3,2,1] => 3
[1,3,5,2,4] => [1,3,5,2,4] => [4,2,5,3,1] => [2,4,5,3,1] => 2
[1,3,5,4,2] => [1,2,5,4,3] => [3,4,5,2,1] => [3,4,5,2,1] => 2
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => [3,2,5,4,1] => 3
[1,4,2,5,3] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => [2,3,5,4,1] => 2
[1,4,3,5,2] => [1,3,2,5,4] => [4,5,2,3,1] => [4,2,5,3,1] => 3
[1,4,5,2,3] => [1,3,5,2,4] => [4,2,5,3,1] => [2,4,5,3,1] => 2
Description
The maximum of the number of descents and the number of inverse descents.
This is, the maximum of [[St000021]] and [[St000354]].
Matching statistic: St001508
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00061: Permutations —to increasing tree⟶ Binary trees
Mp00141: Binary trees —pruning number to logarithmic height⟶ Dyck paths
Mp00142: Dyck paths —promotion⟶ Dyck paths
St001508: Dyck paths ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00141: Binary trees —pruning number to logarithmic height⟶ Dyck paths
Mp00142: Dyck paths —promotion⟶ Dyck paths
St001508: 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,1,0,0]
=> 1
[2,1] => [[.,.],.]
=> [1,1,0,0]
=> [1,0,1,0]
=> 0
[1,2,3] => [.,[.,[.,.]]]
=> [1,0,1,0,1,0]
=> [1,1,0,1,0,0]
=> 2
[1,3,2] => [.,[[.,.],.]]
=> [1,0,1,1,0,0]
=> [1,1,0,0,1,0]
=> 1
[2,1,3] => [[.,.],[.,.]]
=> [1,1,1,0,0,0]
=> [1,0,1,1,0,0]
=> 1
[2,3,1] => [[.,[.,.]],.]
=> [1,1,0,0,1,0]
=> [1,1,1,0,0,0]
=> 1
[3,1,2] => [[.,.],[.,.]]
=> [1,1,1,0,0,0]
=> [1,0,1,1,0,0]
=> 1
[3,2,1] => [[[.,.],.],.]
=> [1,1,0,1,0,0]
=> [1,0,1,0,1,0]
=> 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [1,0,1,0,1,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> 3
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [1,0,1,0,1,1,0,0]
=> [1,1,0,1,0,0,1,0]
=> 2
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> [1,1,0,0,1,1,0,0]
=> 2
[1,3,4,2] => [.,[[.,[.,.]],.]]
=> [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,0]
=> 2
[1,4,2,3] => [.,[[.,.],[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> [1,1,0,0,1,1,0,0]
=> 2
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [1,0,1,1,0,1,0,0]
=> [1,1,0,0,1,0,1,0]
=> 1
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,1,1,0,0,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> 2
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,0]
=> 1
[2,3,1,4] => [[.,[.,.]],[.,.]]
=> [1,1,1,0,1,0,0,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[2,3,4,1] => [[.,[.,[.,.]]],.]
=> [1,1,0,0,1,0,1,0]
=> [1,1,1,0,0,1,0,0]
=> 2
[2,4,1,3] => [[.,[.,.]],[.,.]]
=> [1,1,1,0,1,0,0,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[2,4,3,1] => [[.,[[.,.],.]],.]
=> [1,1,0,0,1,1,0,0]
=> [1,1,1,0,0,0,1,0]
=> 1
[3,1,2,4] => [[.,.],[.,[.,.]]]
=> [1,1,1,0,0,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> 2
[3,1,4,2] => [[.,.],[[.,.],.]]
=> [1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,0]
=> 1
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,1,1,1,0,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[3,2,4,1] => [[[.,.],[.,.]],.]
=> [1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> 1
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [1,1,1,0,1,0,0,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[3,4,2,1] => [[[.,[.,.]],.],.]
=> [1,1,0,1,0,0,1,0]
=> [1,1,1,0,1,0,0,0]
=> 2
[4,1,2,3] => [[.,.],[.,[.,.]]]
=> [1,1,1,0,0,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> 2
[4,1,3,2] => [[.,.],[[.,.],.]]
=> [1,1,1,0,0,1,0,0]
=> [1,0,1,1,0,0,1,0]
=> 1
[4,2,1,3] => [[[.,.],.],[.,.]]
=> [1,1,1,1,0,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,1,0,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> 1
[4,3,1,2] => [[[.,.],.],[.,.]]
=> [1,1,1,1,0,0,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,1,0,1,0,1,0,0]
=> [1,0,1,0,1,0,1,0]
=> 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [1,0,1,0,1,0,1,0,1,0]
=> [1,1,0,1,0,1,0,1,0,0]
=> 4
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [1,0,1,0,1,0,1,1,0,0]
=> [1,1,0,1,0,1,0,0,1,0]
=> 3
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,0,1,0,0,1,1,0,0]
=> 3
[1,2,4,5,3] => [.,[.,[[.,[.,.]],.]]]
=> [1,0,1,0,1,1,0,0,1,0]
=> [1,1,0,1,0,1,1,0,0,0]
=> 3
[1,2,5,3,4] => [.,[.,[[.,.],[.,.]]]]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,0,1,0,0,1,1,0,0]
=> 3
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [1,0,1,0,1,1,0,1,0,0]
=> [1,1,0,1,0,0,1,0,1,0]
=> 2
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> 3
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [1,0,1,1,1,0,0,1,0,0]
=> [1,1,0,0,1,1,0,0,1,0]
=> 2
[1,3,4,2,5] => [.,[[.,[.,.]],[.,.]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,1,0,1,0,0]
=> 3
[1,3,4,5,2] => [.,[[.,[.,[.,.]]],.]]
=> [1,0,1,1,0,0,1,0,1,0]
=> [1,1,0,1,1,0,0,1,0,0]
=> 3
[1,3,5,2,4] => [.,[[.,[.,.]],[.,.]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,1,0,1,0,0]
=> 3
[1,3,5,4,2] => [.,[[.,[[.,.],.]],.]]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,1,0,1,1,0,0,0,1,0]
=> 2
[1,4,2,3,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> 3
[1,4,2,5,3] => [.,[[.,.],[[.,.],.]]]
=> [1,0,1,1,1,0,0,1,0,0]
=> [1,1,0,0,1,1,0,0,1,0]
=> 2
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [1,0,1,1,1,1,0,0,0,0]
=> [1,1,0,0,1,1,1,0,0,0]
=> 2
[1,4,3,5,2] => [.,[[[.,.],[.,.]],.]]
=> [1,0,1,1,0,1,1,0,0,0]
=> [1,1,0,0,1,0,1,1,0,0]
=> 2
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,1,0,1,0,0]
=> 3
Description
The degree of the standard monomial associated to a Dyck path relative to the diagonal boundary.
Given two lattice paths $U,L$ from $(0,0)$ to $(d,n-d)$, [1] describes a bijection between lattice paths weakly between $U$ and $L$ and subsets of $\{1,\dots,n\}$ such that the set of all such subsets gives the standard complex of the lattice path matroid $M[U,L]$.
This statistic gives the cardinality of the image of this bijection when a Dyck path is considered as a path weakly above the diagonal and relative to the diagonal boundary.
The following 88 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000325The width of the tree associated to a permutation. St000470The number of runs in a permutation. St000822The Hadwiger number of the graph. St001580The acyclic chromatic number of a graph. St000829The Ulam distance of a permutation to the identity permutation. St001232The number of indecomposable modules with projective dimension 2 for Nakayama algebras with global dimension at most 2. St000741The Colin de Verdière graph invariant. St001812The biclique partition number of a graph. St000744The length of the path to the largest entry in a standard Young tableau. St000260The radius of a connected graph. St001864The number of excedances of a signed permutation. St000259The diameter of a connected graph. St000454The largest eigenvalue of a graph if it is integral. St000456The monochromatic index of a connected graph. St000815The number of semistandard Young tableaux of partition weight of given shape. St001914The size of the orbit of an integer partition in Bulgarian solitaire. St000937The number of positive values of the symmetric group character corresponding to the partition. St000993The multiplicity of the largest part of an integer partition. St001568The smallest positive integer that does not appear twice in the partition. St000939The number of characters of the symmetric group whose value on the partition is positive. St001896The number of right descents of a signed permutations. St000444The length of the maximal rise of a Dyck path. St000515The number of invariant set partitions when acting with a permutation of given cycle type. St000668The least common multiple of the parts of the partition. St000708The product of the parts of an integer partition. St000933The number of multipartitions of sizes given by an integer partition. St001060The distinguishing index of a graph. St001198The number of simple modules in the algebra $eAe$ with projective dimension at most 1 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$. St001200The number of simple modules in $eAe$ with projective dimension at most 2 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$. St001206The maximal dimension of an indecomposable projective $eAe$-module (that is the height of the corresponding Dyck path) of the corresponding Nakayama algebra with minimal faithful projective-injective module $eA$. St001498The normalised height of a Nakayama algebra with magnitude 1. St001863The number of weak excedances of a signed permutation. St001330The hat guessing number of a graph. St001720The minimal length of a chain of small intervals in a lattice. St001603The number of colourings of a polygon such that the multiplicities of a colour are given by a partition. St001630The global dimension of the incidence algebra of the lattice over the rational numbers. St000455The second largest eigenvalue of a graph if it is integral. St001605The number of colourings of a cycle such that the multiplicities of colours are given by a partition. St000264The girth of a graph, which is not a tree. St000771The largest multiplicity of a distance Laplacian eigenvalue in a connected graph. St000777The number of distinct eigenvalues of the distance Laplacian of a connected graph. St001773The number of minimal elements in Bruhat order not less than the signed permutation. St001905The number of preferred parking spots in a parking function less than the index of the car. St001526The Loewy length of the Auslander-Reiten translate of the regular module as a bimodule of the Nakayama algebra corresponding to the Dyck path. St001875The number of simple modules with projective dimension at most 1. St000845The maximal number of elements covered by an element in a poset. St000846The maximal number of elements covering an element of a poset. St001942The number of loops of the quiver corresponding to the reduced incidence algebra of a poset. St001645The pebbling number of a connected graph. St001878The projective dimension of the simple modules corresponding to the minimum of L in the incidence algebra of the lattice L. St000704The number of semistandard tableaux on a given integer partition with minimal maximal entry. St000707The product of the factorials of the parts. St001128The exponens consonantiae of a partition. St001632The number of indecomposable injective modules $I$ with $dim Ext^1(I,A)=1$ for the incidence algebra A of a poset. St000514The number of invariant simple graphs when acting with a permutation of given cycle type. St000714The number of semistandard Young tableau of given shape, with entries at most 2. St000770The major index of an integer partition when read from bottom to top. St001491The number of indecomposable projective-injective modules in the algebra corresponding to a subset. St000524The number of posets with the same order polynomial. St000525The number of posets with the same zeta polynomial. St000526The number of posets with combinatorially isomorphic order polytopes. St000633The size of the automorphism group of a poset. St000640The rank of the largest boolean interval in a poset. St000910The number of maximal chains of minimal length in a poset. St000914The sum of the values of the Möbius function of a poset. St001105The number of greedy linear extensions of a poset. St001106The number of supergreedy linear extensions of a poset. St001890The maximum magnitude of the Möbius function of a poset. St001876The number of 2-regular simple modules in the incidence algebra of the lattice. St001624The breadth of a lattice. St001626The number of maximal proper sublattices of a lattice. St000284The Plancherel distribution on integer partitions. St000510The number of invariant oriented cycles when acting with a permutation of given cycle type. St000567The sum of the products of all pairs of parts. St000620The number of standard tableaux of shape equal to the given partition such that the minimal cyclic descent is odd. St000681The Grundy value of Chomp on Ferrers diagrams. St000698The number of 2-rim hooks removed from an integer partition to obtain its associated 2-core. St000901The cube of the number of standard Young tableaux with shape given by the partition. St000929The constant term of the character polynomial of an integer partition. St001099The coefficient times the product of the factorials of the parts of the monomial symmetric function indexed by the partition in the formal group law for leaf labelled binary trees. St001100The coefficient times the product of the factorials of the parts of the monomial symmetric function indexed by the partition in the formal group law for leaf labelled trees. St001101The coefficient times the product of the factorials of the parts of the monomial symmetric function indexed by the partition in the formal group law for increasing trees. St001123The multiplicity of the dual of the standard representation in the Kronecker square corresponding to a partition. St000632The jump number of the poset. St001037The number of inner corners of the upper path of the parallelogram polyomino associated with the Dyck path. St001877Number of indecomposable injective modules with projective dimension 2. St000298The order dimension or Dushnik-Miller dimension of a poset. St000932The number of occurrences of the pattern UDU in a Dyck path.
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!