searching the database
Your data matches 26 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: St000246
(load all 4 compositions to match this statistic)
(load all 4 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St000246: Permutations ⟶ ℤResult quality: 100% ●values known / values provided: 100%●distinct values known / distinct values provided: 100%
Mp00064: Permutations —reverse⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St000246: 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] => 0
[2,1] => [2,1] => [1,2] => [1,2] => 1
[1,2,3] => [1,2,3] => [3,2,1] => [3,2,1] => 0
[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] => [3,2,1] => [1,2,3] => [1,2,3] => 3
[3,1,2] => [3,1,2] => [2,1,3] => [2,1,3] => 2
[3,2,1] => [2,3,1] => [1,3,2] => [1,3,2] => 2
[1,2,3,4] => [1,2,3,4] => [4,3,2,1] => [4,3,2,1] => 0
[1,2,4,3] => [1,2,4,3] => [3,4,2,1] => [4,3,1,2] => 1
[1,3,2,4] => [1,3,2,4] => [4,2,3,1] => [4,2,3,1] => 1
[1,3,4,2] => [1,4,3,2] => [2,3,4,1] => [4,1,2,3] => 3
[1,4,2,3] => [1,4,2,3] => [3,2,4,1] => [4,2,1,3] => 2
[1,4,3,2] => [1,3,4,2] => [2,4,3,1] => [4,1,3,2] => 2
[2,1,3,4] => [2,1,3,4] => [4,3,1,2] => [3,4,2,1] => 1
[2,1,4,3] => [2,1,4,3] => [3,4,1,2] => [3,4,1,2] => 2
[2,3,1,4] => [3,2,1,4] => [4,1,2,3] => [2,3,4,1] => 3
[2,3,4,1] => [4,2,3,1] => [1,3,2,4] => [1,3,2,4] => 5
[2,4,1,3] => [4,2,1,3] => [3,1,2,4] => [2,3,1,4] => 4
[2,4,3,1] => [3,2,4,1] => [1,4,2,3] => [1,3,4,2] => 4
[3,1,2,4] => [3,1,2,4] => [4,2,1,3] => [3,2,4,1] => 2
[3,1,4,2] => [4,3,1,2] => [2,1,3,4] => [2,1,3,4] => 5
[3,2,1,4] => [2,3,1,4] => [4,1,3,2] => [2,4,3,1] => 2
[3,2,4,1] => [4,3,2,1] => [1,2,3,4] => [1,2,3,4] => 6
[3,4,1,2] => [4,1,3,2] => [2,3,1,4] => [3,1,2,4] => 4
[3,4,2,1] => [2,4,3,1] => [1,3,4,2] => [1,4,2,3] => 4
[4,1,2,3] => [4,1,2,3] => [3,2,1,4] => [3,2,1,4] => 3
[4,1,3,2] => [3,4,1,2] => [2,1,4,3] => [2,1,4,3] => 4
[4,2,1,3] => [2,4,1,3] => [3,1,4,2] => [2,4,1,3] => 3
[4,2,3,1] => [3,4,2,1] => [1,2,4,3] => [1,2,4,3] => 5
[4,3,1,2] => [3,1,4,2] => [2,4,1,3] => [3,1,4,2] => 3
[4,3,2,1] => [2,3,4,1] => [1,4,3,2] => [1,4,3,2] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => [5,4,3,2,1] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [4,5,3,2,1] => [5,4,3,1,2] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [5,3,4,2,1] => [5,4,2,3,1] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [3,4,5,2,1] => [5,4,1,2,3] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [4,3,5,2,1] => [5,4,2,1,3] => 2
[1,2,5,4,3] => [1,2,4,5,3] => [3,5,4,2,1] => [5,4,1,3,2] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [5,4,2,3,1] => [5,3,4,2,1] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [4,5,2,3,1] => [5,3,4,1,2] => 2
[1,3,4,2,5] => [1,4,3,2,5] => [5,2,3,4,1] => [5,2,3,4,1] => 3
[1,3,4,5,2] => [1,5,3,4,2] => [2,4,3,5,1] => [5,1,3,2,4] => 5
[1,3,5,2,4] => [1,5,3,2,4] => [4,2,3,5,1] => [5,2,3,1,4] => 4
[1,3,5,4,2] => [1,4,3,5,2] => [2,5,3,4,1] => [5,1,3,4,2] => 4
[1,4,2,3,5] => [1,4,2,3,5] => [5,3,2,4,1] => [5,3,2,4,1] => 2
[1,4,2,5,3] => [1,5,4,2,3] => [3,2,4,5,1] => [5,2,1,3,4] => 5
[1,4,3,2,5] => [1,3,4,2,5] => [5,2,4,3,1] => [5,2,4,3,1] => 2
[1,4,3,5,2] => [1,5,4,3,2] => [2,3,4,5,1] => [5,1,2,3,4] => 6
[1,4,5,2,3] => [1,5,2,4,3] => [3,4,2,5,1] => [5,3,1,2,4] => 4
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: St000008
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00071: Permutations —descent composition⟶ Integer compositions
St000008: Integer compositions ⟶ ℤResult quality: 86% ●values known / values provided: 97%●distinct values known / distinct values provided: 86%
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00071: Permutations —descent composition⟶ Integer compositions
St000008: Integer compositions ⟶ ℤResult quality: 86% ●values known / values provided: 97%●distinct values known / distinct values provided: 86%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => [2] => 0
[2,1] => [2,1] => [2,1] => [1,1] => 1
[1,2,3] => [1,2,3] => [1,2,3] => [3] => 0
[1,3,2] => [1,3,2] => [3,1,2] => [1,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => [1,2] => 1
[2,3,1] => [3,2,1] => [3,2,1] => [1,1,1] => 3
[3,1,2] => [3,1,2] => [1,3,2] => [2,1] => 2
[3,2,1] => [2,3,1] => [2,3,1] => [2,1] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[1,2,4,3] => [1,2,4,3] => [4,1,2,3] => [1,3] => 1
[1,3,2,4] => [1,3,2,4] => [3,1,2,4] => [1,3] => 1
[1,3,4,2] => [1,4,3,2] => [4,3,1,2] => [1,1,2] => 3
[1,4,2,3] => [1,4,2,3] => [1,4,2,3] => [2,2] => 2
[1,4,3,2] => [1,3,4,2] => [3,4,1,2] => [2,2] => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => [1,3] => 1
[2,1,4,3] => [2,1,4,3] => [2,4,1,3] => [2,2] => 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => [1,1,2] => 3
[2,3,4,1] => [4,2,3,1] => [2,4,3,1] => [2,1,1] => 5
[2,4,1,3] => [4,2,1,3] => [2,1,4,3] => [1,2,1] => 4
[2,4,3,1] => [3,2,4,1] => [3,2,4,1] => [1,2,1] => 4
[3,1,2,4] => [3,1,2,4] => [1,3,2,4] => [2,2] => 2
[3,1,4,2] => [4,3,1,2] => [1,4,3,2] => [2,1,1] => 5
[3,2,1,4] => [2,3,1,4] => [2,3,1,4] => [2,2] => 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => [1,1,1,1] => 6
[3,4,1,2] => [4,1,3,2] => [4,1,3,2] => [1,2,1] => 4
[3,4,2,1] => [2,4,3,1] => [4,2,3,1] => [1,2,1] => 4
[4,1,2,3] => [4,1,2,3] => [1,2,4,3] => [3,1] => 3
[4,1,3,2] => [3,4,1,2] => [3,1,4,2] => [1,2,1] => 4
[4,2,1,3] => [2,4,1,3] => [4,2,1,3] => [1,1,2] => 3
[4,2,3,1] => [3,4,2,1] => [3,4,2,1] => [2,1,1] => 5
[4,3,1,2] => [3,1,4,2] => [1,3,4,2] => [3,1] => 3
[4,3,2,1] => [2,3,4,1] => [2,3,4,1] => [3,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => [5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => [1,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => [1,4] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [5,4,1,2,3] => [1,1,3] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,5,2,3,4] => [2,3] => 2
[1,2,5,4,3] => [1,2,4,5,3] => [4,5,1,2,3] => [2,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => [1,4] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [3,5,1,2,4] => [2,3] => 2
[1,3,4,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => [1,1,3] => 3
[1,3,4,5,2] => [1,5,3,4,2] => [3,5,4,1,2] => [2,1,2] => 5
[1,3,5,2,4] => [1,5,3,2,4] => [5,1,3,2,4] => [1,2,2] => 4
[1,3,5,4,2] => [1,4,3,5,2] => [4,3,5,1,2] => [1,2,2] => 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,4,2,3,5] => [2,3] => 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,5,4,2,3] => [2,1,2] => 5
[1,4,3,2,5] => [1,3,4,2,5] => [3,4,1,2,5] => [2,3] => 2
[1,4,3,5,2] => [1,5,4,3,2] => [5,4,3,1,2] => [1,1,1,2] => 6
[1,4,5,2,3] => [1,5,2,4,3] => [5,1,4,2,3] => [1,2,2] => 4
[8,7,6,4,5,3,2,1] => [2,3,5,6,4,7,8,1] => [5,6,2,3,4,7,8,1] => ? => ? = 9
[3,1,9,2,4,5,6,7,8] => [9,3,1,2,4,5,6,7,8] => [1,3,2,4,5,6,7,9,8] => [2,6,1] => ? = 10
[5,9,1,2,3,4,6,7,8] => [9,1,2,3,5,4,6,7,8] => [5,1,2,3,4,6,7,9,8] => ? => ? = 9
[2,3,9,1,4,5,6,7,8] => [9,2,3,1,4,5,6,7,8] => [2,3,1,4,5,6,7,9,8] => [2,6,1] => ? = 10
[] => [] => [] => [] => ? = 0
[2,4,8,3,5,6,7,1] => [7,2,8,4,3,5,6,1] => [7,2,4,3,5,8,6,1] => ? => ? = 17
[5,6,4,7,2,8,1,3] => [8,7,2,6,5,4,1,3] => [8,7,6,2,1,5,4,3] => ? => ? = 23
[1,2,3,4,5,6,7,8,9] => [1,2,3,4,5,6,7,8,9] => [1,2,3,4,5,6,7,8,9] => [9] => ? = 0
[1,2,3,4,5,6,8,9,7] => [1,2,3,4,5,6,9,8,7] => [9,8,1,2,3,4,5,6,7] => [1,1,7] => ? = 3
[1,2,3,4,5,6,7,8,9,10] => [1,2,3,4,5,6,7,8,9,10] => [1,2,3,4,5,6,7,8,9,10] => [10] => ? = 0
[1,2,3,4,5,6,7,9,10,8] => [1,2,3,4,5,6,7,10,9,8] => [10,9,1,2,3,4,5,6,7,8] => [1,1,8] => ? = 3
[1,2,3,4,5,8,7,9,6] => [1,2,3,4,5,9,8,7,6] => [9,8,7,1,2,3,4,5,6] => [1,1,1,6] => ? = 6
[1,3,2,5,4,7,6,9,8] => [1,3,2,5,4,7,6,9,8] => [3,5,7,9,1,2,4,6,8] => [4,5] => ? = 4
[6,3,8,1,5,2,7,4] => [7,5,8,6,3,1,2,4] => [5,1,7,3,2,8,6,4] => ? => ? = 21
[5,9,8,7,6,4,3,2,1] => [2,3,4,6,5,7,8,9,1] => [6,2,3,4,5,7,8,9,1] => ? => ? = 9
[3,1,5,2,7,4,9,6,10,8] => [10,3,1,5,2,7,4,9,6,8] => [3,5,7,1,10,2,4,6,9,8] => ? => ? = 17
[6,1,7,2,8,3,9,4,10,5] => [10,9,8,7,6,1,2,3,4,5] => [1,2,3,4,10,9,8,7,6,5] => [5,1,1,1,1,1] => ? = 35
[3,6,1,5,4,8,7,2] => [7,5,3,6,1,4,8,2] => [3,1,5,7,6,4,8,2] => ? => ? = 17
[1,3,5,7,8,2,6,4] => [1,6,3,8,5,2,7,4] => [8,6,5,1,3,7,2,4] => ? => ? = 12
[1,2,3,4,5,7,6,9,8] => [1,2,3,4,5,7,6,9,8] => [7,9,1,2,3,4,5,6,8] => [2,7] => ? = 2
[1,2,4,3,6,5,8,7,10,9] => [1,2,4,3,6,5,8,7,10,9] => [4,6,8,10,1,2,3,5,7,9] => [4,6] => ? = 4
[1,2,3,4,5,6,8,7,10,9] => [1,2,3,4,5,6,8,7,10,9] => [8,10,1,2,3,4,5,6,7,9] => [2,8] => ? = 2
[10,1,9,8,7,6,5,4,3,2] => [3,4,5,6,7,8,9,10,1,2] => [3,4,5,6,7,8,9,1,10,2] => [7,2,1] => ? = 16
[1,5,4,6,7,8,2,3] => [1,8,2,5,4,6,7,3] => [5,1,4,8,6,7,2,3] => ? => ? = 11
[7,1,8,2,9,3,4,5,6] => [9,8,7,1,2,3,4,5,6] => [1,2,3,4,5,9,8,7,6] => [6,1,1,1] => ? = 21
[6,1,7,2,8,3,9,4,5] => [9,8,7,6,1,2,3,4,5] => [1,2,3,4,9,8,7,6,5] => [5,1,1,1,1] => ? = 26
[8,1,9,2,10,3,4,5,6,7] => [10,9,8,1,2,3,4,5,6,7] => [1,2,3,4,5,6,10,9,8,7] => [7,1,1,1] => ? = 24
[7,1,8,2,9,3,10,4,5,6] => [10,9,8,7,1,2,3,4,5,6] => [1,2,3,4,5,10,9,8,7,6] => [6,1,1,1,1] => ? = 30
[3,5,1,7,8,2,6,4] => [6,8,3,5,1,2,7,4] => [1,6,3,2,8,5,7,4] => ? => ? = 17
[5,4,7,2,8,6,1,3] => [6,8,2,5,4,7,1,3] => [2,6,8,5,4,1,7,3] => ? => ? = 19
[9,7,5,3,1,2,4,6,8] => [3,1,5,2,7,4,9,6,8] => [3,5,7,1,9,2,4,6,8] => ? => ? = 8
[9,8,7,6,5,4,2,3,1] => [3,4,2,5,6,7,8,9,1] => [3,4,2,5,6,7,8,9,1] => [2,6,1] => ? = 10
[2,3,9,8,7,6,5,4,1] => [4,2,3,5,6,7,8,9,1] => [2,4,3,5,6,7,8,9,1] => [2,6,1] => ? = 10
[1,6,4,3,2,5,7,8] => [1,3,4,6,2,5,7,8] => [6,3,4,1,2,5,7,8] => ? => ? = 4
[3,4,6,7,8,1,5,2] => [5,8,3,4,1,6,7,2] => [3,1,5,4,8,6,7,2] => ? => ? = 16
[2,6,3,7,8,1,5,4] => [5,2,8,6,3,1,7,4] => [8,2,5,3,1,6,7,4] => ? => ? = 15
[5,6,4,7,3,8,2,9,1] => [9,8,7,6,5,4,3,2,1] => [9,8,7,6,5,4,3,2,1] => [1,1,1,1,1,1,1,1,1] => ? = 36
[5,6,4,7,3,9,2,8,1] => [8,9,7,6,5,4,3,2,1] => [8,9,7,6,5,4,3,2,1] => [2,1,1,1,1,1,1,1] => ? = 35
[5,4,6,3,7,2,8,1,9] => [8,7,6,5,4,3,2,1,9] => [8,7,6,5,4,3,2,1,9] => [1,1,1,1,1,1,1,2] => ? = 28
[6,5,7,4,8,3,10,2,9,1] => [9,10,8,7,6,5,4,3,2,1] => [9,10,8,7,6,5,4,3,2,1] => [2,1,1,1,1,1,1,1,1] => ? = 44
[5,6,4,7,3,8,2,9,1,10] => [9,8,7,6,5,4,3,2,1,10] => [9,8,7,6,5,4,3,2,1,10] => [1,1,1,1,1,1,1,1,2] => ? = 36
[5,6,1,7,2,8,3,9,4] => [9,8,7,6,5,1,2,3,4] => [1,2,3,9,8,7,6,5,4] => [4,1,1,1,1,1] => ? = 30
[3,4,6,5,1,8,7,2] => [7,5,3,4,6,1,8,2] => [3,5,4,1,7,6,8,2] => ? => ? = 17
[1,6,5,7,4,8,3,9,2] => [1,9,8,7,6,5,4,3,2] => [9,8,7,6,5,4,3,1,2] => [1,1,1,1,1,1,1,2] => ? = 28
[1,6,7,5,8,4,9,3,10,2] => [1,10,9,8,7,6,5,4,3,2] => [10,9,8,7,6,5,4,3,1,2] => [1,1,1,1,1,1,1,1,2] => ? = 36
[6,5,7,4,8,3,9,2,10,1,11] => [10,9,8,7,6,5,4,3,2,1,11] => [10,9,8,7,6,5,4,3,2,1,11] => [1,1,1,1,1,1,1,1,1,2] => ? = 45
[1,7,6,8,5,9,4,10,3,11,2] => [1,11,10,9,8,7,6,5,4,3,2] => [11,10,9,8,7,6,5,4,3,1,2] => [1,1,1,1,1,1,1,1,1,2] => ? = 45
[4,1,6,2,8,3,9,5,10,7] => [10,9,4,1,6,2,8,3,5,7] => [4,1,6,2,10,3,5,9,8,7] => ? => ? = 26
[5,1,7,2,8,3,9,4,10,6] => [10,9,8,5,1,7,2,3,4,6] => [1,2,5,3,10,4,9,8,7,6] => ? => ? = 32
[3,4,5,6,7,8,10,1,9,2] => [9,10,3,4,5,6,7,8,1,2] => [3,4,5,6,9,7,1,10,8,2] => ? => ? = 28
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: St000391
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
St000391: Binary words ⟶ ℤResult quality: 94% ●values known / values provided: 94%●distinct values known / distinct values provided: 97%
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
St000391: Binary words ⟶ ℤResult quality: 94% ●values known / values provided: 94%●distinct values known / distinct values provided: 97%
Values
[1] => [1] => [1] => => ? = 0
[1,2] => [1,2] => [1,2] => 0 => 0
[2,1] => [2,1] => [2,1] => 1 => 1
[1,2,3] => [1,2,3] => [1,2,3] => 00 => 0
[1,3,2] => [1,3,2] => [3,1,2] => 10 => 1
[2,1,3] => [2,1,3] => [2,1,3] => 10 => 1
[2,3,1] => [3,2,1] => [3,2,1] => 11 => 3
[3,1,2] => [3,1,2] => [1,3,2] => 01 => 2
[3,2,1] => [2,3,1] => [2,3,1] => 01 => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 000 => 0
[1,2,4,3] => [1,2,4,3] => [4,1,2,3] => 100 => 1
[1,3,2,4] => [1,3,2,4] => [3,1,2,4] => 100 => 1
[1,3,4,2] => [1,4,3,2] => [4,3,1,2] => 110 => 3
[1,4,2,3] => [1,4,2,3] => [1,4,2,3] => 010 => 2
[1,4,3,2] => [1,3,4,2] => [3,4,1,2] => 010 => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 100 => 1
[2,1,4,3] => [2,1,4,3] => [2,4,1,3] => 010 => 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => 110 => 3
[2,3,4,1] => [4,2,3,1] => [2,4,3,1] => 011 => 5
[2,4,1,3] => [4,2,1,3] => [2,1,4,3] => 101 => 4
[2,4,3,1] => [3,2,4,1] => [3,2,4,1] => 101 => 4
[3,1,2,4] => [3,1,2,4] => [1,3,2,4] => 010 => 2
[3,1,4,2] => [4,3,1,2] => [1,4,3,2] => 011 => 5
[3,2,1,4] => [2,3,1,4] => [2,3,1,4] => 010 => 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => 111 => 6
[3,4,1,2] => [4,1,3,2] => [4,1,3,2] => 101 => 4
[3,4,2,1] => [2,4,3,1] => [4,2,3,1] => 101 => 4
[4,1,2,3] => [4,1,2,3] => [1,2,4,3] => 001 => 3
[4,1,3,2] => [3,4,1,2] => [3,1,4,2] => 101 => 4
[4,2,1,3] => [2,4,1,3] => [4,2,1,3] => 110 => 3
[4,2,3,1] => [3,4,2,1] => [3,4,2,1] => 011 => 5
[4,3,1,2] => [3,1,4,2] => [1,3,4,2] => 001 => 3
[4,3,2,1] => [2,3,4,1] => [2,3,4,1] => 001 => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 0000 => 0
[1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => 1000 => 1
[1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => 1000 => 1
[1,2,4,5,3] => [1,2,5,4,3] => [5,4,1,2,3] => 1100 => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,5,2,3,4] => 0100 => 2
[1,2,5,4,3] => [1,2,4,5,3] => [4,5,1,2,3] => 0100 => 2
[1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => 1000 => 1
[1,3,2,5,4] => [1,3,2,5,4] => [3,5,1,2,4] => 0100 => 2
[1,3,4,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => 1100 => 3
[1,3,4,5,2] => [1,5,3,4,2] => [3,5,4,1,2] => 0110 => 5
[1,3,5,2,4] => [1,5,3,2,4] => [5,1,3,2,4] => 1010 => 4
[1,3,5,4,2] => [1,4,3,5,2] => [4,3,5,1,2] => 1010 => 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,4,2,3,5] => 0100 => 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,5,4,2,3] => 0110 => 5
[1,4,3,2,5] => [1,3,4,2,5] => [3,4,1,2,5] => 0100 => 2
[1,4,3,5,2] => [1,5,4,3,2] => [5,4,3,1,2] => 1110 => 6
[1,4,5,2,3] => [1,5,2,4,3] => [5,1,4,2,3] => 1010 => 4
[1,4,5,3,2] => [1,3,5,4,2] => [5,3,4,1,2] => 1010 => 4
[8,7,6,4,5,3,2,1] => [2,3,5,6,4,7,8,1] => [5,6,2,3,4,7,8,1] => ? => ? = 9
[8,7,6,3,4,5,2,1] => [2,5,6,3,4,7,8,1] => [5,2,6,3,4,7,8,1] => ? => ? = 11
[8,7,5,4,6,1,2,3] => [6,1,2,5,7,4,8,3] => [6,5,7,1,2,4,8,3] => ? => ? = 11
[7,8,6,3,4,2,1,5] => [2,4,6,3,1,8,7,5] => [6,4,8,2,3,7,1,5] => ? => ? = 10
[3,5,8,7,6,4,2,1] => [2,4,3,6,5,7,8,1] => [4,6,2,3,5,7,8,1] => ? => ? = 9
[2,6,8,7,5,4,3,1] => [3,2,4,5,7,6,8,1] => [3,7,2,4,5,6,8,1] => ? => ? = 9
[2,3,5,6,8,7,4,1] => [4,2,3,7,5,6,8,1] => [4,2,7,3,5,6,8,1] => ? => ? = 11
[2,1,7,6,8,5,4,3] => [2,1,4,5,8,7,6,3] => [8,7,2,4,5,6,1,3] => ? => ? = 9
[1,3,2,6,5,7,8,4] => [1,3,2,8,6,5,7,4] => [8,3,6,5,7,1,2,4] => ? => ? = 9
[1,3,4,2,6,7,8,5] => [1,4,3,2,8,6,7,5] => [8,4,3,6,7,1,2,5] => ? => ? = 8
[2,3,4,5,1,7,8,6] => [5,2,3,4,1,8,7,6] => [2,3,5,8,4,7,1,6] => ? => ? = 10
[1,3,4,5,2,7,8,6] => [1,5,3,4,2,8,7,6] => [3,5,8,4,7,1,2,6] => ? => ? = 8
[2,1,8,6,5,7,4,3] => [2,1,4,7,6,8,5,3] => [7,6,8,2,4,5,1,3] => ? => ? = 10
[2,4,3,8,5,6,7,1] => [7,2,4,3,8,5,6,1] => [4,7,2,3,5,8,6,1] => ? => ? = 15
[2,4,5,1,3,7,8,6] => [5,2,1,4,3,8,7,6] => [2,5,8,1,4,7,3,6] => ? => ? = 9
[2,1,7,3,4,5,8,6] => [2,1,8,3,4,7,5,6] => [8,2,1,3,7,4,5,6] => ? => ? = 8
[3,4,5,1,7,2,6,8] => [7,5,3,4,1,2,6,8] => [3,1,5,4,2,7,6,8] => ? => ? = 14
[4,5,8,1,2,3,6,7] => [8,1,2,4,5,3,6,7] => [4,5,1,2,3,6,8,7] => ? => ? = 9
[1,4,6,2,3,8,5,7] => [1,8,2,4,6,3,5,7] => [8,4,1,2,3,6,5,7] => ? => ? = 9
[5,4,8,1,2,3,6,7] => [8,1,2,5,4,3,6,7] => [5,4,1,2,3,6,8,7] => ? => ? = 10
[5,8,2,7,1,3,4,6] => [7,8,2,1,5,3,4,6] => [7,2,1,3,5,4,8,6] => ? => ? = 15
[6,4,8,2,7,1,3,5] => [7,8,2,6,4,1,3,5] => [7,4,2,1,3,8,6,5] => ? => ? = 19
[5,4,1,2,8,3,6,7] => [8,1,4,5,2,3,6,7] => [4,1,5,2,3,6,8,7] => ? => ? = 11
[2,3,8,1,6,4,5,7] => [6,2,3,8,1,4,5,7] => [2,6,3,1,4,8,5,7] => ? => ? = 11
[7,3,8,1,6,2,4,5] => [6,8,7,3,1,2,4,5] => [1,3,2,8,6,4,7,5] => ? => ? = 18
[8,3,5,1,6,7,2,4] => [7,5,8,3,1,2,6,4] => [1,5,3,2,7,8,6,4] => ? => ? = 18
[8,3,4,5,1,7,2,6] => [7,5,8,3,4,1,2,6] => [5,3,1,7,4,2,8,6] => ? => ? = 19
[8,3,6,5,1,7,2,4] => [7,5,6,3,8,1,2,4] => [5,3,1,7,6,2,8,4] => ? => ? = 19
[5,9,1,2,3,4,6,7,8] => [9,1,2,3,5,4,6,7,8] => [5,1,2,3,4,6,7,9,8] => ? => ? = 9
[] => [] => [] => ? => ? = 0
[6,4,7,1,8,2,5,3] => [5,8,7,6,4,1,2,3] => [1,8,7,5,2,6,4,3] => ? => ? = 22
[7,1,6,8,2,4,5,3] => [5,8,7,1,2,4,6,3] => [5,1,2,8,7,4,6,3] => ? => ? = 17
[8,3,6,7,2,1,5,4] => [2,5,7,8,3,1,6,4] => [7,2,8,5,3,6,1,4] => ? => ? = 14
[2,4,8,3,5,6,7,1] => [7,2,8,4,3,5,6,1] => [7,2,4,3,5,8,6,1] => ? => ? = 17
[3,1,4,8,5,6,7,2] => [7,3,1,4,8,5,6,2] => [7,1,3,4,5,8,6,2] => ? => ? = 14
[2,8,1,7,3,4,5,6] => [7,2,8,1,3,4,5,6] => [2,1,3,7,4,5,8,6] => ? => ? = 12
[6,7,8,1,4,3,5,2] => [5,4,8,1,3,6,7,2] => [5,1,8,4,3,6,7,2] => ? => ? = 15
[5,6,4,7,2,8,1,3] => [8,7,2,6,5,4,1,3] => [8,7,6,2,1,5,4,3] => ? => ? = 23
[2,4,5,6,8,1,7,3] => [7,2,8,4,5,6,1,3] => [2,7,4,8,5,1,6,3] => ? => ? = 18
[4,7,2,1,3,6,5,8] => [2,6,1,4,7,3,5,8] => [2,6,7,1,4,3,5,8] => ? => ? = 8
[5,1,7,8,2,3,6,4] => [6,8,1,5,2,3,7,4] => [1,2,6,3,8,5,7,4] => ? => ? = 15
[7,5,4,1,8,3,2,6] => [3,8,4,5,7,1,2,6] => [8,3,4,1,7,5,2,6] => ? => ? = 15
[2,6,4,7,3,8,5,1] => [5,2,8,7,6,4,3,1] => [8,7,5,6,2,4,3,1] => ? => ? = 20
[6,8,3,5,1,7,2,4] => [7,5,8,3,1,6,2,4] => [1,5,3,7,2,8,6,4] => ? => ? = 19
[2,6,3,7,8,4,5,1] => [5,2,8,6,3,4,7,1] => [5,2,8,3,6,4,7,1] => ? => ? = 16
[1,3,7,8,2,6,5,4] => [1,5,3,6,8,2,7,4] => [8,5,6,1,3,7,2,4] => ? => ? = 10
[6,3,8,1,5,2,7,4] => [7,5,8,6,3,1,2,4] => [5,1,7,3,2,8,6,4] => ? => ? = 21
[3,8,1,6,5,4,7,2] => [7,5,3,6,8,1,4,2] => [3,5,1,7,6,8,4,2] => ? => ? = 19
[5,9,8,7,6,4,3,2,1] => [2,3,4,6,5,7,8,9,1] => [6,2,3,4,5,7,8,9,1] => ? => ? = 9
Description
The sum of the positions of the ones in a binary word.
Matching statistic: St000330
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00070: Permutations —Robinson-Schensted recording tableau⟶ Standard tableaux
St000330: Standard tableaux ⟶ ℤResult quality: 91% ●values known / values provided: 91%●distinct values known / distinct values provided: 97%
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00070: Permutations —Robinson-Schensted recording tableau⟶ Standard tableaux
St000330: Standard tableaux ⟶ ℤResult quality: 91% ●values known / values provided: 91%●distinct values known / distinct values provided: 97%
Values
[1] => [1] => [1] => [[1]]
=> 0
[1,2] => [1,2] => [1,2] => [[1,2]]
=> 0
[2,1] => [2,1] => [2,1] => [[1],[2]]
=> 1
[1,2,3] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[1,3,2] => [1,3,2] => [3,1,2] => [[1,3],[2]]
=> 1
[2,1,3] => [2,1,3] => [2,1,3] => [[1,3],[2]]
=> 1
[2,3,1] => [3,2,1] => [3,2,1] => [[1],[2],[3]]
=> 3
[3,1,2] => [3,1,2] => [1,3,2] => [[1,2],[3]]
=> 2
[3,2,1] => [2,3,1] => [2,3,1] => [[1,2],[3]]
=> 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[1,2,4,3] => [1,2,4,3] => [4,1,2,3] => [[1,3,4],[2]]
=> 1
[1,3,2,4] => [1,3,2,4] => [3,1,2,4] => [[1,3,4],[2]]
=> 1
[1,3,4,2] => [1,4,3,2] => [4,3,1,2] => [[1,4],[2],[3]]
=> 3
[1,4,2,3] => [1,4,2,3] => [1,4,2,3] => [[1,2,4],[3]]
=> 2
[1,4,3,2] => [1,3,4,2] => [3,4,1,2] => [[1,2],[3,4]]
=> 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => [[1,3,4],[2]]
=> 1
[2,1,4,3] => [2,1,4,3] => [2,4,1,3] => [[1,2],[3,4]]
=> 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => [[1,4],[2],[3]]
=> 3
[2,3,4,1] => [4,2,3,1] => [2,4,3,1] => [[1,2],[3],[4]]
=> 5
[2,4,1,3] => [4,2,1,3] => [2,1,4,3] => [[1,3],[2,4]]
=> 4
[2,4,3,1] => [3,2,4,1] => [3,2,4,1] => [[1,3],[2],[4]]
=> 4
[3,1,2,4] => [3,1,2,4] => [1,3,2,4] => [[1,2,4],[3]]
=> 2
[3,1,4,2] => [4,3,1,2] => [1,4,3,2] => [[1,2],[3],[4]]
=> 5
[3,2,1,4] => [2,3,1,4] => [2,3,1,4] => [[1,2,4],[3]]
=> 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => [[1],[2],[3],[4]]
=> 6
[3,4,1,2] => [4,1,3,2] => [4,1,3,2] => [[1,3],[2],[4]]
=> 4
[3,4,2,1] => [2,4,3,1] => [4,2,3,1] => [[1,3],[2],[4]]
=> 4
[4,1,2,3] => [4,1,2,3] => [1,2,4,3] => [[1,2,3],[4]]
=> 3
[4,1,3,2] => [3,4,1,2] => [3,1,4,2] => [[1,3],[2,4]]
=> 4
[4,2,1,3] => [2,4,1,3] => [4,2,1,3] => [[1,4],[2],[3]]
=> 3
[4,2,3,1] => [3,4,2,1] => [3,4,2,1] => [[1,2],[3],[4]]
=> 5
[4,3,1,2] => [3,1,4,2] => [1,3,4,2] => [[1,2,3],[4]]
=> 3
[4,3,2,1] => [2,3,4,1] => [2,3,4,1] => [[1,2,3],[4]]
=> 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => [[1,2,3,4,5]]
=> 0
[1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => [[1,3,4,5],[2]]
=> 1
[1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => [[1,3,4,5],[2]]
=> 1
[1,2,4,5,3] => [1,2,5,4,3] => [5,4,1,2,3] => [[1,4,5],[2],[3]]
=> 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,5,2,3,4] => [[1,2,4,5],[3]]
=> 2
[1,2,5,4,3] => [1,2,4,5,3] => [4,5,1,2,3] => [[1,2,5],[3,4]]
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => [[1,3,4,5],[2]]
=> 1
[1,3,2,5,4] => [1,3,2,5,4] => [3,5,1,2,4] => [[1,2,5],[3,4]]
=> 2
[1,3,4,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => [[1,4,5],[2],[3]]
=> 3
[1,3,4,5,2] => [1,5,3,4,2] => [3,5,4,1,2] => [[1,2],[3,5],[4]]
=> 5
[1,3,5,2,4] => [1,5,3,2,4] => [5,1,3,2,4] => [[1,3,5],[2],[4]]
=> 4
[1,3,5,4,2] => [1,4,3,5,2] => [4,3,5,1,2] => [[1,3],[2,5],[4]]
=> 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,4,2,3,5] => [[1,2,4,5],[3]]
=> 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,5,4,2,3] => [[1,2,5],[3],[4]]
=> 5
[1,4,3,2,5] => [1,3,4,2,5] => [3,4,1,2,5] => [[1,2,5],[3,4]]
=> 2
[1,4,3,5,2] => [1,5,4,3,2] => [5,4,3,1,2] => [[1,5],[2],[3],[4]]
=> 6
[1,4,5,2,3] => [1,5,2,4,3] => [5,1,4,2,3] => [[1,3,5],[2],[4]]
=> 4
[8,7,6,4,5,3,2,1] => [2,3,5,6,4,7,8,1] => [5,6,2,3,4,7,8,1] => ?
=> ? = 9
[8,7,6,3,4,5,2,1] => [2,5,6,3,4,7,8,1] => [5,2,6,3,4,7,8,1] => ?
=> ? = 11
[7,5,6,4,3,8,2,1] => [2,8,4,6,7,5,3,1] => [4,8,6,7,5,2,3,1] => ?
=> ? = 18
[8,7,5,6,4,2,3,1] => [3,4,2,6,7,5,8,1] => [3,4,6,7,2,5,8,1] => ?
=> ? = 11
[7,5,6,4,2,3,8,1] => [8,4,2,6,7,5,3,1] => [2,8,4,6,7,5,3,1] => ?
=> ? = 20
[8,7,5,4,6,1,2,3] => [6,1,2,5,7,4,8,3] => [6,5,7,1,2,4,8,3] => ?
=> ? = 11
[7,8,6,3,4,2,1,5] => [2,4,6,3,1,8,7,5] => [6,4,8,2,3,7,1,5] => ?
=> ? = 10
[7,4,5,6,2,3,1,8] => [3,6,2,7,4,5,1,8] => [3,6,2,7,4,5,1,8] => ?
=> ? = 12
[3,5,8,7,6,4,2,1] => [2,4,3,6,5,7,8,1] => [4,6,2,3,5,7,8,1] => ?
=> ? = 9
[2,6,8,7,5,4,3,1] => [3,2,4,5,7,6,8,1] => [3,7,2,4,5,6,8,1] => ?
=> ? = 9
[2,3,5,6,8,7,4,1] => [4,2,3,7,5,6,8,1] => [4,2,7,3,5,6,8,1] => ?
=> ? = 11
[2,1,7,6,8,5,4,3] => [2,1,4,5,8,7,6,3] => [8,7,2,4,5,6,1,3] => ?
=> ? = 9
[1,2,6,7,8,5,4,3] => [1,2,4,5,8,6,7,3] => [4,8,5,6,7,1,2,3] => ?
=> ? = 7
[1,2,5,8,7,6,4,3] => [1,2,4,6,5,7,8,3] => [6,4,5,7,8,1,2,3] => ?
=> ? = 6
[1,3,2,6,5,7,8,4] => [1,3,2,8,6,5,7,4] => [8,3,6,5,7,1,2,4] => ?
=> ? = 9
[1,3,4,2,6,7,8,5] => [1,4,3,2,8,6,7,5] => [8,4,3,6,7,1,2,5] => ?
=> ? = 8
[2,3,4,5,1,7,8,6] => [5,2,3,4,1,8,7,6] => [2,3,5,8,4,7,1,6] => ?
=> ? = 10
[1,3,4,5,2,7,8,6] => [1,5,3,4,2,8,7,6] => [3,5,8,4,7,1,2,6] => ?
=> ? = 8
[1,2,4,5,3,7,8,6] => [1,2,5,4,3,8,7,6] => [5,8,4,7,1,2,3,6] => ?
=> ? = 6
[2,3,5,6,4,1,7,8] => [4,2,3,6,5,1,7,8] => [2,4,6,3,5,1,7,8] => ?
=> ? = 8
[2,3,1,5,6,4,7,8] => [3,2,1,6,5,4,7,8] => [3,6,2,5,1,4,7,8] => ?
=> ? = 6
[2,1,8,6,5,7,4,3] => [2,1,4,7,6,8,5,3] => [7,6,8,2,4,5,1,3] => ?
=> ? = 10
[2,4,3,8,5,6,7,1] => [7,2,4,3,8,5,6,1] => [4,7,2,3,5,8,6,1] => ?
=> ? = 15
[2,7,4,5,6,3,8,1] => [8,2,6,7,4,5,3,1] => [6,2,8,7,4,5,3,1] => ?
=> ? = 21
[2,4,5,1,3,7,8,6] => [5,2,1,4,3,8,7,6] => [2,5,8,1,4,7,3,6] => ?
=> ? = 9
[2,1,7,3,4,5,8,6] => [2,1,8,3,4,7,5,6] => [8,2,1,3,7,4,5,6] => ?
=> ? = 8
[3,4,5,1,7,2,6,8] => [7,5,3,4,1,2,6,8] => [3,1,5,4,2,7,6,8] => ?
=> ? = 14
[3,4,5,1,6,7,2,8] => [7,5,3,4,1,6,2,8] => [3,1,5,4,7,6,2,8] => ?
=> ? = 15
[4,5,8,1,2,3,6,7] => [8,1,2,4,5,3,6,7] => [4,5,1,2,3,6,8,7] => ?
=> ? = 9
[1,4,6,2,3,8,5,7] => [1,8,2,4,6,3,5,7] => [8,4,1,2,3,6,5,7] => ?
=> ? = 9
[5,4,8,1,2,3,6,7] => [8,1,2,5,4,3,6,7] => [5,4,1,2,3,6,8,7] => ?
=> ? = 10
[5,8,2,7,1,3,4,6] => [7,8,2,1,5,3,4,6] => [7,2,1,3,5,4,8,6] => ?
=> ? = 15
[6,4,8,2,7,1,3,5] => [7,8,2,6,4,1,3,5] => [7,4,2,1,3,8,6,5] => ?
=> ? = 19
[5,4,1,2,8,3,6,7] => [8,1,4,5,2,3,6,7] => [4,1,5,2,3,6,8,7] => ?
=> ? = 11
[7,3,8,1,6,2,4,5] => [6,8,7,3,1,2,4,5] => [1,3,2,8,6,4,7,5] => ?
=> ? = 18
[8,3,5,1,6,7,2,4] => [7,5,8,3,1,2,6,4] => [1,5,3,2,7,8,6,4] => ?
=> ? = 18
[8,3,4,5,1,7,2,6] => [7,5,8,3,4,1,2,6] => [5,3,1,7,4,2,8,6] => ?
=> ? = 19
[8,3,6,5,1,7,2,4] => [7,5,6,3,8,1,2,4] => [5,3,1,7,6,2,8,4] => ?
=> ? = 19
[3,1,9,2,4,5,6,7,8] => [9,3,1,2,4,5,6,7,8] => [1,3,2,4,5,6,7,9,8] => [[1,2,4,5,6,7,8],[3,9]]
=> ? = 10
[2,9,1,3,4,5,6,7,8] => [9,2,1,3,4,5,6,7,8] => [2,1,3,4,5,6,7,9,8] => [[1,3,4,5,6,7,8],[2,9]]
=> ? = 9
[5,9,1,2,3,4,6,7,8] => [9,1,2,3,5,4,6,7,8] => [5,1,2,3,4,6,7,9,8] => ?
=> ? = 9
[2,3,9,1,4,5,6,7,8] => [9,2,3,1,4,5,6,7,8] => [2,3,1,4,5,6,7,9,8] => [[1,2,4,5,6,7,8],[3,9]]
=> ? = 10
[7,4,2,5,8,3,6,1] => [6,8,4,7,2,5,3,1] => [6,4,8,2,7,5,3,1] => ?
=> ? = 22
[5,6,2,7,3,8,4,1] => [4,8,7,6,5,2,3,1] => [8,7,6,4,2,5,3,1] => ?
=> ? = 23
[6,4,7,1,8,2,5,3] => [5,8,7,6,4,1,2,3] => [1,8,7,5,2,6,4,3] => ?
=> ? = 22
[7,2,4,5,8,3,6,1] => [6,8,7,2,4,5,3,1] => [6,2,8,4,7,5,3,1] => ?
=> ? = 22
[7,1,6,8,2,4,5,3] => [5,8,7,1,2,4,6,3] => [5,1,2,8,7,4,6,3] => ?
=> ? = 17
[8,3,6,7,2,1,5,4] => [2,5,7,8,3,1,6,4] => [7,2,8,5,3,6,1,4] => ?
=> ? = 14
[2,4,8,3,5,6,7,1] => [7,2,8,4,3,5,6,1] => [7,2,4,3,5,8,6,1] => ?
=> ? = 17
[3,1,4,8,5,6,7,2] => [7,3,1,4,8,5,6,2] => [7,1,3,4,5,8,6,2] => ?
=> ? = 14
Description
The (standard) major index of a standard tableau.
A descent of a standard tableau $T$ is an index $i$ such that $i+1$ appears in a row strictly below the row of $i$. The (standard) major index is the the sum of the descents.
Matching statistic: St000018
(load all 6 compositions to match this statistic)
(load all 6 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00066: Permutations —inverse⟶ Permutations
St000018: Permutations ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 95%
Mp00066: Permutations —inverse⟶ Permutations
St000018: Permutations ⟶ ℤResult quality: 63% ●values known / values provided: 63%●distinct values known / distinct values provided: 95%
Values
[1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => 0
[2,1] => [2,1] => [2,1] => 1
[1,2,3] => [1,2,3] => [1,2,3] => 0
[1,3,2] => [1,3,2] => [1,3,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => 1
[2,3,1] => [3,2,1] => [3,2,1] => 3
[3,1,2] => [3,1,2] => [2,3,1] => 2
[3,2,1] => [2,3,1] => [3,1,2] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => [1,2,4,3] => 1
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => 1
[1,3,4,2] => [1,4,3,2] => [1,4,3,2] => 3
[1,4,2,3] => [1,4,2,3] => [1,3,4,2] => 2
[1,4,3,2] => [1,3,4,2] => [1,4,2,3] => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1
[2,1,4,3] => [2,1,4,3] => [2,1,4,3] => 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => 3
[2,3,4,1] => [4,2,3,1] => [4,2,3,1] => 5
[2,4,1,3] => [4,2,1,3] => [3,2,4,1] => 4
[2,4,3,1] => [3,2,4,1] => [4,2,1,3] => 4
[3,1,2,4] => [3,1,2,4] => [2,3,1,4] => 2
[3,1,4,2] => [4,3,1,2] => [3,4,2,1] => 5
[3,2,1,4] => [2,3,1,4] => [3,1,2,4] => 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => 6
[3,4,1,2] => [4,1,3,2] => [2,4,3,1] => 4
[3,4,2,1] => [2,4,3,1] => [4,1,3,2] => 4
[4,1,2,3] => [4,1,2,3] => [2,3,4,1] => 3
[4,1,3,2] => [3,4,1,2] => [3,4,1,2] => 4
[4,2,1,3] => [2,4,1,3] => [3,1,4,2] => 3
[4,2,3,1] => [3,4,2,1] => [4,3,1,2] => 5
[4,3,1,2] => [3,1,4,2] => [2,4,1,3] => 3
[4,3,2,1] => [2,3,4,1] => [4,1,2,3] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [1,2,3,5,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,2,5,4,3] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,2,4,5,3] => 2
[1,2,5,4,3] => [1,2,4,5,3] => [1,2,5,3,4] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,3,2,4,5] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,3,2,5,4] => 2
[1,3,4,2,5] => [1,4,3,2,5] => [1,4,3,2,5] => 3
[1,3,4,5,2] => [1,5,3,4,2] => [1,5,3,4,2] => 5
[1,3,5,2,4] => [1,5,3,2,4] => [1,4,3,5,2] => 4
[1,3,5,4,2] => [1,4,3,5,2] => [1,5,3,2,4] => 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,3,4,2,5] => 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,4,5,3,2] => 5
[1,4,3,2,5] => [1,3,4,2,5] => [1,4,2,3,5] => 2
[1,4,3,5,2] => [1,5,4,3,2] => [1,5,4,3,2] => 6
[1,4,5,2,3] => [1,5,2,4,3] => [1,3,5,4,2] => 4
[1,2,3,4,6,7,5] => [1,2,3,4,7,6,5] => [1,2,3,4,7,6,5] => ? = 3
[1,2,3,5,4,7,6] => [1,2,3,5,4,7,6] => [1,2,3,5,4,7,6] => ? = 2
[1,2,3,6,5,7,4] => [1,2,3,7,6,5,4] => [1,2,3,7,6,5,4] => ? = 6
[1,2,4,3,6,7,5] => [1,2,4,3,7,6,5] => [1,2,4,3,7,6,5] => ? = 4
[1,2,5,6,4,7,3] => [1,2,7,6,5,4,3] => [1,2,7,6,5,4,3] => ? = 10
[1,3,2,5,4,7,6] => [1,3,2,5,4,7,6] => [1,3,2,5,4,7,6] => ? = 3
[1,3,2,6,5,7,4] => [1,3,2,7,6,5,4] => [1,3,2,7,6,5,4] => ? = 7
[1,3,4,2,6,7,5] => [1,4,3,2,7,6,5] => [1,4,3,2,7,6,5] => ? = 6
[2,1,4,3,6,7,5] => [2,1,4,3,7,6,5] => [2,1,4,3,7,6,5] => ? = 5
[2,1,4,6,7,3,5] => [2,1,7,4,3,6,5] => [2,1,5,4,7,6,3] => ? = 7
[2,3,1,6,5,7,4] => [3,2,1,7,6,5,4] => [3,2,1,7,6,5,4] => ? = 9
[2,4,6,7,1,3,5] => [7,2,1,4,3,6,5] => [3,2,5,4,7,6,1] => ? = 9
[2,5,1,6,4,7,3] => [7,2,6,5,1,4,3] => [5,2,7,6,4,3,1] => ? = 15
[2,5,4,6,1,7,3] => [7,2,6,5,4,1,3] => [6,2,7,5,4,3,1] => ? = 16
[2,5,4,7,3,6,1] => [6,2,7,5,4,3,1] => [7,2,6,5,4,1,3] => ? = 16
[2,5,6,1,4,7,3] => [7,2,6,1,5,4,3] => [4,2,7,6,5,3,1] => ? = 14
[2,5,6,1,7,4,3] => [4,2,7,6,5,1,3] => [6,2,7,1,5,4,3] => ? = 13
[2,5,6,3,1,7,4] => [3,2,7,6,5,1,4] => [6,2,1,7,5,4,3] => ? = 12
[2,5,6,3,7,4,1] => [4,2,7,6,5,3,1] => [7,2,6,1,5,4,3] => ? = 14
[2,5,6,4,7,1,3] => [7,2,1,6,5,4,3] => [3,2,7,6,5,4,1] => ? = 13
[2,5,6,4,7,3,1] => [3,2,7,6,5,4,1] => [7,2,1,6,5,4,3] => ? = 13
[2,5,7,1,4,6,3] => [6,2,7,1,5,4,3] => [4,2,7,6,5,1,3] => ? = 13
[2,5,7,4,6,1,3] => [6,2,1,7,5,4,3] => [3,2,7,6,5,1,4] => ? = 12
[2,6,4,7,3,5,1] => [5,2,7,6,4,3,1] => [7,2,6,5,1,4,3] => ? = 15
[3,1,2,5,4,7,6] => [3,1,2,5,4,7,6] => [2,3,1,5,4,7,6] => ? = 4
[3,1,4,2,6,7,5] => [4,3,1,2,7,6,5] => [3,4,2,1,7,6,5] => ? = 8
[3,1,5,6,4,7,2] => [7,3,1,6,5,4,2] => [3,7,2,6,5,4,1] => ? = 14
[3,1,5,7,4,6,2] => [6,3,1,7,5,4,2] => [3,7,2,6,5,1,4] => ? = 13
[3,1,6,4,2,7,5] => [4,3,1,7,6,2,5] => [3,6,2,1,7,5,4] => ? = 10
[3,1,6,7,4,2,5] => [4,3,1,7,2,6,5] => [3,5,2,1,7,6,4] => ? = 9
[3,2,6,1,5,7,4] => [7,3,2,6,1,5,4] => [5,3,2,7,6,4,1] => ? = 13
[3,2,6,4,7,5,1] => [5,3,2,7,6,4,1] => [7,3,2,6,1,5,4] => ? = 13
[3,2,6,5,7,1,4] => [7,3,2,1,6,5,4] => [4,3,2,7,6,5,1] => ? = 12
[3,2,6,5,7,4,1] => [4,3,2,7,6,5,1] => [7,3,2,1,6,5,4] => ? = 12
[3,4,1,2,6,7,5] => [4,1,3,2,7,6,5] => [2,4,3,1,7,6,5] => ? = 7
[3,4,5,7,1,2,6] => [7,1,3,4,5,2,6] => [2,6,3,4,5,7,1] => ? = 9
[3,4,5,7,6,2,1] => [2,6,3,4,5,7,1] => [7,1,3,4,5,2,6] => ? = 9
[3,4,7,1,2,5,6] => [7,1,3,4,2,5,6] => [2,5,3,4,6,7,1] => ? = 8
[3,4,7,6,5,2,1] => [2,5,3,4,6,7,1] => [7,1,3,4,2,5,6] => ? = 8
[3,5,6,1,7,2,4] => [7,6,3,1,5,2,4] => [4,6,3,7,5,2,1] => ? = 15
[3,7,4,2,5,1,6] => [5,4,3,7,2,1,6] => [6,5,3,2,1,7,4] => ? = 13
[4,1,2,7,3,5,6] => [7,1,4,2,3,5,6] => [2,4,5,3,6,7,1] => ? = 8
[4,2,6,5,7,1,3] => [7,4,2,1,6,5,3] => [4,3,7,2,6,5,1] => ? = 13
[4,3,5,2,7,1,6] => [7,5,4,3,2,1,6] => [6,5,4,3,2,7,1] => ? = 16
[4,3,5,7,1,2,6] => [7,1,4,3,5,2,6] => [2,6,4,3,5,7,1] => ? = 10
[4,3,5,7,6,2,1] => [2,6,4,3,5,7,1] => [7,1,4,3,5,2,6] => ? = 10
[4,3,6,2,7,1,5] => [7,6,4,3,2,1,5] => [6,5,4,3,7,2,1] => ? = 17
[4,3,7,1,2,5,6] => [7,1,4,3,2,5,6] => [2,5,4,3,6,7,1] => ? = 9
[4,3,7,2,5,1,6] => [5,7,4,3,2,1,6] => [6,5,4,3,1,7,2] => ? = 15
[4,3,7,2,6,1,5] => [6,7,4,3,2,1,5] => [6,5,4,3,7,1,2] => ? = 16
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: St001397
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00065: Permutations —permutation poset⟶ Posets
Mp00125: Posets —dual poset⟶ Posets
St001397: Posets ⟶ ℤResult quality: 50% ●values known / values provided: 50%●distinct values known / distinct values provided: 59%
Mp00065: Permutations —permutation poset⟶ Posets
Mp00125: Posets —dual poset⟶ Posets
St001397: Posets ⟶ ℤResult quality: 50% ●values known / values provided: 50%●distinct values known / distinct values provided: 59%
Values
[1] => [1] => ([],1)
=> ([],1)
=> 0
[1,2] => [1,2] => ([(0,1)],2)
=> ([(0,1)],2)
=> 0
[2,1] => [2,1] => ([],2)
=> ([],2)
=> 1
[1,2,3] => [1,2,3] => ([(0,2),(2,1)],3)
=> ([(0,2),(2,1)],3)
=> 0
[1,3,2] => [1,3,2] => ([(0,1),(0,2)],3)
=> ([(0,2),(1,2)],3)
=> 1
[2,1,3] => [2,1,3] => ([(0,2),(1,2)],3)
=> ([(0,1),(0,2)],3)
=> 1
[2,3,1] => [3,2,1] => ([],3)
=> ([],3)
=> 3
[3,1,2] => [3,1,2] => ([(1,2)],3)
=> ([(1,2)],3)
=> 2
[3,2,1] => [2,3,1] => ([(1,2)],3)
=> ([(1,2)],3)
=> 2
[1,2,3,4] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> ([(0,3),(2,1),(3,2)],4)
=> 0
[1,2,4,3] => [1,2,4,3] => ([(0,3),(3,1),(3,2)],4)
=> ([(0,3),(1,3),(3,2)],4)
=> 1
[1,3,2,4] => [1,3,2,4] => ([(0,1),(0,2),(1,3),(2,3)],4)
=> ([(0,1),(0,2),(1,3),(2,3)],4)
=> 1
[1,3,4,2] => [1,4,3,2] => ([(0,1),(0,2),(0,3)],4)
=> ([(0,3),(1,3),(2,3)],4)
=> 3
[1,4,2,3] => [1,4,2,3] => ([(0,2),(0,3),(3,1)],4)
=> ([(0,3),(1,2),(2,3)],4)
=> 2
[1,4,3,2] => [1,3,4,2] => ([(0,2),(0,3),(3,1)],4)
=> ([(0,3),(1,2),(2,3)],4)
=> 2
[2,1,3,4] => [2,1,3,4] => ([(0,3),(1,3),(3,2)],4)
=> ([(0,3),(3,1),(3,2)],4)
=> 1
[2,1,4,3] => [2,1,4,3] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3)],4)
=> 2
[2,3,1,4] => [3,2,1,4] => ([(0,3),(1,3),(2,3)],4)
=> ([(0,1),(0,2),(0,3)],4)
=> 3
[2,3,4,1] => [4,2,3,1] => ([(2,3)],4)
=> ([(2,3)],4)
=> 5
[2,4,1,3] => [4,2,1,3] => ([(1,3),(2,3)],4)
=> ([(1,2),(1,3)],4)
=> 4
[2,4,3,1] => [3,2,4,1] => ([(1,3),(2,3)],4)
=> ([(1,2),(1,3)],4)
=> 4
[3,1,2,4] => [3,1,2,4] => ([(0,3),(1,2),(2,3)],4)
=> ([(0,2),(0,3),(3,1)],4)
=> 2
[3,1,4,2] => [4,3,1,2] => ([(2,3)],4)
=> ([(2,3)],4)
=> 5
[3,2,1,4] => [2,3,1,4] => ([(0,3),(1,2),(2,3)],4)
=> ([(0,2),(0,3),(3,1)],4)
=> 2
[3,2,4,1] => [4,3,2,1] => ([],4)
=> ([],4)
=> 6
[3,4,1,2] => [4,1,3,2] => ([(1,2),(1,3)],4)
=> ([(1,3),(2,3)],4)
=> 4
[3,4,2,1] => [2,4,3,1] => ([(1,2),(1,3)],4)
=> ([(1,3),(2,3)],4)
=> 4
[4,1,2,3] => [4,1,2,3] => ([(1,2),(2,3)],4)
=> ([(1,2),(2,3)],4)
=> 3
[4,1,3,2] => [3,4,1,2] => ([(0,3),(1,2)],4)
=> ([(0,3),(1,2)],4)
=> 4
[4,2,1,3] => [2,4,1,3] => ([(0,3),(1,2),(1,3)],4)
=> ([(0,3),(1,2),(1,3)],4)
=> 3
[4,2,3,1] => [3,4,2,1] => ([(2,3)],4)
=> ([(2,3)],4)
=> 5
[4,3,1,2] => [3,1,4,2] => ([(0,3),(1,2),(1,3)],4)
=> ([(0,3),(1,2),(1,3)],4)
=> 3
[4,3,2,1] => [2,3,4,1] => ([(1,2),(2,3)],4)
=> ([(1,2),(2,3)],4)
=> 3
[1,2,3,4,5] => [1,2,3,4,5] => ([(0,4),(2,3),(3,1),(4,2)],5)
=> ([(0,4),(2,3),(3,1),(4,2)],5)
=> 0
[1,2,3,5,4] => [1,2,3,5,4] => ([(0,3),(3,4),(4,1),(4,2)],5)
=> ([(0,4),(1,4),(2,3),(4,2)],5)
=> 1
[1,2,4,3,5] => [1,2,4,3,5] => ([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
=> ([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
=> 1
[1,2,4,5,3] => [1,2,5,4,3] => ([(0,4),(4,1),(4,2),(4,3)],5)
=> ([(0,4),(1,4),(2,4),(4,3)],5)
=> 3
[1,2,5,3,4] => [1,2,5,3,4] => ([(0,4),(3,2),(4,1),(4,3)],5)
=> ([(0,4),(1,2),(2,4),(4,3)],5)
=> 2
[1,2,5,4,3] => [1,2,4,5,3] => ([(0,4),(3,2),(4,1),(4,3)],5)
=> ([(0,4),(1,2),(2,4),(4,3)],5)
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => ([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
=> ([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
=> 1
[1,3,2,5,4] => [1,3,2,5,4] => ([(0,1),(0,2),(1,3),(1,4),(2,3),(2,4)],5)
=> ([(0,3),(0,4),(1,3),(1,4),(3,2),(4,2)],5)
=> 2
[1,3,4,2,5] => [1,4,3,2,5] => ([(0,1),(0,2),(0,3),(1,4),(2,4),(3,4)],5)
=> ([(0,1),(0,2),(0,3),(1,4),(2,4),(3,4)],5)
=> 3
[1,3,4,5,2] => [1,5,3,4,2] => ([(0,2),(0,3),(0,4),(4,1)],5)
=> ([(0,4),(1,4),(2,3),(3,4)],5)
=> 5
[1,3,5,2,4] => [1,5,3,2,4] => ([(0,1),(0,2),(0,3),(2,4),(3,4)],5)
=> ([(0,4),(1,2),(1,3),(2,4),(3,4)],5)
=> 4
[1,3,5,4,2] => [1,4,3,5,2] => ([(0,1),(0,2),(0,3),(2,4),(3,4)],5)
=> ([(0,4),(1,2),(1,3),(2,4),(3,4)],5)
=> 4
[1,4,2,3,5] => [1,4,2,3,5] => ([(0,2),(0,3),(1,4),(2,4),(3,1)],5)
=> ([(0,2),(0,3),(1,4),(2,4),(3,1)],5)
=> 2
[1,4,2,5,3] => [1,5,4,2,3] => ([(0,2),(0,3),(0,4),(4,1)],5)
=> ([(0,4),(1,4),(2,3),(3,4)],5)
=> 5
[1,4,3,2,5] => [1,3,4,2,5] => ([(0,2),(0,3),(1,4),(2,4),(3,1)],5)
=> ([(0,2),(0,3),(1,4),(2,4),(3,1)],5)
=> 2
[1,4,3,5,2] => [1,5,4,3,2] => ([(0,1),(0,2),(0,3),(0,4)],5)
=> ([(0,4),(1,4),(2,4),(3,4)],5)
=> 6
[1,4,5,2,3] => [1,5,2,4,3] => ([(0,3),(0,4),(4,1),(4,2)],5)
=> ([(0,4),(1,3),(2,3),(3,4)],5)
=> 4
[1,2,3,4,5,6,7] => [1,2,3,4,5,6,7] => ([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
=> ([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
=> ? = 0
[1,3,4,2,6,7,5] => [1,4,3,2,7,6,5] => ([(0,1),(0,2),(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(4,3),(5,3),(6,3)],7)
=> ? = 6
[2,3,4,5,7,1,6] => [7,2,3,4,5,1,6] => ([(1,3),(2,6),(3,5),(4,6),(5,4)],7)
=> ([(1,3),(1,6),(4,5),(5,2),(6,4)],7)
=> ? = 10
[2,3,4,5,7,6,1] => [6,2,3,4,5,7,1] => ([(1,3),(2,6),(3,5),(4,6),(5,4)],7)
=> ([(1,3),(1,6),(4,5),(5,2),(6,4)],7)
=> ? = 10
[2,3,4,7,1,5,6] => [7,2,3,4,1,5,6] => ([(1,6),(2,3),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(4,5),(5,3),(6,2),(6,4)],7)
=> ? = 9
[2,3,4,7,6,5,1] => [5,2,3,4,6,7,1] => ([(1,6),(2,3),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(4,5),(5,3),(6,2),(6,4)],7)
=> ? = 9
[2,3,7,1,4,5,6] => [7,2,3,1,4,5,6] => ([(1,6),(2,3),(3,6),(4,5),(6,4)],7)
=> ([(1,5),(4,3),(5,6),(6,2),(6,4)],7)
=> ? = 8
[2,3,7,6,5,4,1] => [4,2,3,5,6,7,1] => ([(1,6),(2,3),(3,6),(4,5),(6,4)],7)
=> ([(1,5),(4,3),(5,6),(6,2),(6,4)],7)
=> ? = 8
[2,7,1,3,4,5,6] => [7,2,1,3,4,5,6] => ([(1,6),(2,6),(3,5),(5,4),(6,3)],7)
=> ([(1,5),(4,6),(5,4),(6,2),(6,3)],7)
=> ? = 7
[2,7,6,5,4,3,1] => [3,2,4,5,6,7,1] => ([(1,6),(2,6),(3,5),(5,4),(6,3)],7)
=> ([(1,5),(4,6),(5,4),(6,2),(6,3)],7)
=> ? = 7
[3,1,4,2,6,7,5] => [4,3,1,2,7,6,5] => ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)
=> ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)
=> ? = 8
[3,1,6,4,2,7,5] => [4,3,1,7,6,2,5] => ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)
=> ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)
=> ? = 10
[3,1,6,7,4,2,5] => [4,3,1,7,2,6,5] => ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)
=> ([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)
=> ? = 9
[3,1,7,2,4,5,6] => [7,3,1,2,4,5,6] => ([(1,6),(2,3),(3,6),(4,5),(6,4)],7)
=> ([(1,5),(4,3),(5,6),(6,2),(6,4)],7)
=> ? = 8
[3,2,4,7,1,5,6] => [7,3,2,4,1,5,6] => ([(1,6),(2,5),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(5,3),(5,4),(6,2),(6,5)],7)
=> ? = 10
[3,2,4,7,6,5,1] => [5,3,2,4,6,7,1] => ([(1,6),(2,5),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(5,3),(5,4),(6,2),(6,5)],7)
=> ? = 10
[3,2,6,1,5,7,4] => [7,3,2,6,1,5,4] => ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 13
[3,2,6,4,7,5,1] => [5,3,2,7,6,4,1] => ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 13
[3,2,6,5,7,1,4] => [7,3,2,1,6,5,4] => ([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 12
[3,2,6,5,7,4,1] => [4,3,2,7,6,5,1] => ([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 12
[3,4,1,2,6,7,5] => [4,1,3,2,7,6,5] => ([(0,2),(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)
=> ? = 7
[3,4,2,5,1,7,6] => [5,4,3,2,1,7,6] => ([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)
=> ([(0,2),(0,3),(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)
=> ? = 11
[3,4,5,7,1,2,6] => [7,1,3,4,5,2,6] => ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ? = 9
[3,4,5,7,6,2,1] => [2,6,3,4,5,7,1] => ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ? = 9
[3,4,7,1,2,5,6] => [7,1,3,4,2,5,6] => ([(1,3),(1,5),(2,6),(3,6),(5,2),(6,4)],7)
=> ([(1,5),(2,6),(3,6),(4,3),(5,2),(5,4)],7)
=> ? = 8
[3,4,7,6,5,2,1] => [2,5,3,4,6,7,1] => ([(1,3),(1,5),(2,6),(3,6),(5,2),(6,4)],7)
=> ([(1,5),(2,6),(3,6),(4,3),(5,2),(5,4)],7)
=> ? = 8
[3,5,1,6,2,4,7] => [6,5,3,1,2,4,7] => ([(0,6),(1,6),(2,5),(3,4),(4,5),(5,6)],7)
=> ([(0,3),(0,4),(0,6),(5,2),(6,1),(6,5)],7)
=> ? = 11
[3,5,6,1,7,2,4] => [7,6,3,1,5,2,4] => ([(2,5),(2,6),(3,4),(3,5),(4,6)],7)
=> ([(2,5),(2,6),(3,4),(3,5),(4,6)],7)
=> ? = 15
[3,7,4,2,5,1,6] => [5,4,3,7,2,1,6] => ([(0,6),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)
=> ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)
=> ? = 13
[4,1,2,7,3,5,6] => [7,1,4,2,3,5,6] => ([(1,3),(1,5),(2,6),(3,6),(5,2),(6,4)],7)
=> ([(1,5),(2,6),(3,6),(4,3),(5,2),(5,4)],7)
=> ? = 8
[4,1,7,2,3,5,6] => [7,4,1,2,3,5,6] => ([(1,6),(2,3),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(4,5),(5,3),(6,2),(6,4)],7)
=> ? = 9
[4,2,6,5,7,1,3] => [7,4,2,1,6,5,3] => ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 13
[4,2,7,1,3,5,6] => [7,4,2,1,3,5,6] => ([(1,6),(2,5),(3,5),(5,6),(6,4)],7)
=> ([(1,6),(5,3),(5,4),(6,2),(6,5)],7)
=> ? = 10
[4,3,1,7,2,5,6] => [7,3,4,1,2,5,6] => ([(1,4),(2,3),(3,6),(4,6),(6,5)],7)
=> ([(1,6),(4,3),(5,2),(6,4),(6,5)],7)
=> ? = 10
[4,3,5,7,1,2,6] => [7,1,4,3,5,2,6] => ([(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(5,6)],7)
=> ([(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)
=> ? = 10
[4,3,5,7,6,2,1] => [2,6,4,3,5,7,1] => ([(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(5,6)],7)
=> ([(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)
=> ? = 10
[4,3,7,1,2,5,6] => [7,1,4,3,2,5,6] => ([(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(6,5)],7)
=> ([(1,5),(2,6),(3,6),(4,6),(5,2),(5,3),(5,4)],7)
=> ? = 9
[4,3,7,6,5,2,1] => [2,5,4,3,6,7,1] => ([(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(6,5)],7)
=> ([(1,5),(2,6),(3,6),(4,6),(5,2),(5,3),(5,4)],7)
=> ? = 9
[4,7,1,2,3,5,6] => [7,1,2,4,3,5,6] => ([(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)
=> ([(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)
=> ? = 7
[4,7,6,5,3,2,1] => [2,3,5,4,6,7,1] => ([(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)
=> ([(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)
=> ? = 7
[5,1,2,7,3,4,6] => [7,1,5,2,3,4,6] => ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)
=> ? = 9
[5,1,7,2,3,4,6] => [7,5,1,2,3,4,6] => ([(1,3),(2,6),(3,5),(4,6),(5,4)],7)
=> ([(1,3),(1,6),(4,5),(5,2),(6,4)],7)
=> ? = 10
[5,3,7,1,2,4,6] => [7,1,5,3,2,4,6] => ([(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(5,6)],7)
=> ([(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)
=> ? = 10
[5,4,1,2,7,3,6] => [7,1,4,5,2,3,6] => ([(1,4),(1,5),(2,6),(3,6),(4,3),(5,2)],7)
=> ([(1,4),(1,5),(2,6),(3,6),(4,3),(5,2)],7)
=> ? = 10
[6,1,7,2,3,4,5] => [7,6,1,2,3,4,5] => ([(2,6),(4,5),(5,3),(6,4)],7)
=> ([(2,6),(4,5),(5,3),(6,4)],7)
=> ? = 11
[6,4,1,7,2,3,5] => [7,4,1,6,2,3,5] => ([(1,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)
=> ([(1,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)
=> ? = 12
[6,5,7,3,2,4,1] => [4,3,7,2,6,5,1] => ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)
=> ? = 13
[6,7,3,4,1,2,5] => [4,1,7,3,2,6,5] => ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6)],7)
=> ([(0,5),(0,6),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6)],7)
=> ? = 9
[7,1,2,3,4,5,6] => [7,1,2,3,4,5,6] => ([(1,6),(3,5),(4,3),(5,2),(6,4)],7)
=> ([(1,6),(3,5),(4,3),(5,2),(6,4)],7)
=> ? = 6
[7,1,2,5,3,4,6] => [5,1,7,2,3,4,6] => ([(0,5),(0,6),(1,4),(1,6),(2,5),(3,2),(4,3)],7)
=> ([(0,5),(0,6),(1,4),(1,6),(2,5),(3,2),(4,3)],7)
=> ? = 8
Description
Number of pairs of incomparable elements in a finite poset.
For a finite poset $(P,\leq)$, this is the number of unordered pairs $\{x,y\} \in \binom{P}{2}$ with $x \not\leq y$ and $y \not\leq x$.
Matching statistic: St000081
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00160: Permutations —graph of inversions⟶ Graphs
Mp00318: Graphs —dual on components⟶ Graphs
St000081: Graphs ⟶ ℤResult quality: 50% ●values known / values provided: 50%●distinct values known / distinct values provided: 59%
Mp00160: Permutations —graph of inversions⟶ Graphs
Mp00318: Graphs —dual on components⟶ Graphs
St000081: Graphs ⟶ ℤResult quality: 50% ●values known / values provided: 50%●distinct values known / distinct values provided: 59%
Values
[1] => [1] => ([],1)
=> ([],1)
=> 0
[1,2] => [1,2] => ([],2)
=> ([],2)
=> 0
[2,1] => [2,1] => ([(0,1)],2)
=> ([(0,1)],2)
=> 1
[1,2,3] => [1,2,3] => ([],3)
=> ([],3)
=> 0
[1,3,2] => [1,3,2] => ([(1,2)],3)
=> ([(1,2)],3)
=> 1
[2,1,3] => [2,1,3] => ([(1,2)],3)
=> ([(1,2)],3)
=> 1
[2,3,1] => [3,2,1] => ([(0,1),(0,2),(1,2)],3)
=> ([(0,1),(0,2),(1,2)],3)
=> 3
[3,1,2] => [3,1,2] => ([(0,2),(1,2)],3)
=> ([(0,2),(1,2)],3)
=> 2
[3,2,1] => [2,3,1] => ([(0,2),(1,2)],3)
=> ([(0,2),(1,2)],3)
=> 2
[1,2,3,4] => [1,2,3,4] => ([],4)
=> ([],4)
=> 0
[1,2,4,3] => [1,2,4,3] => ([(2,3)],4)
=> ([(2,3)],4)
=> 1
[1,3,2,4] => [1,3,2,4] => ([(2,3)],4)
=> ([(2,3)],4)
=> 1
[1,3,4,2] => [1,4,3,2] => ([(1,2),(1,3),(2,3)],4)
=> ([(1,2),(1,3),(2,3)],4)
=> 3
[1,4,2,3] => [1,4,2,3] => ([(1,3),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> 2
[1,4,3,2] => [1,3,4,2] => ([(1,3),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> 2
[2,1,3,4] => [2,1,3,4] => ([(2,3)],4)
=> ([(2,3)],4)
=> 1
[2,1,4,3] => [2,1,4,3] => ([(0,3),(1,2)],4)
=> ([(0,3),(1,2)],4)
=> 2
[2,3,1,4] => [3,2,1,4] => ([(1,2),(1,3),(2,3)],4)
=> ([(1,2),(1,3),(2,3)],4)
=> 3
[2,3,4,1] => [4,2,3,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 5
[2,4,1,3] => [4,2,1,3] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 4
[2,4,3,1] => [3,2,4,1] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 4
[3,1,2,4] => [3,1,2,4] => ([(1,3),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> 2
[3,1,4,2] => [4,3,1,2] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 5
[3,2,1,4] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> 2
[3,2,4,1] => [4,3,2,1] => ([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 6
[3,4,1,2] => [4,1,3,2] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 4
[3,4,2,1] => [2,4,3,1] => ([(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 4
[4,1,2,3] => [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> ([(0,3),(1,3),(2,3)],4)
=> 3
[4,1,3,2] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3)],4)
=> 4
[4,2,1,3] => [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> ([(0,3),(1,2),(2,3)],4)
=> 3
[4,2,3,1] => [3,4,2,1] => ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 5
[4,3,1,2] => [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> ([(0,3),(1,2),(2,3)],4)
=> 3
[4,3,2,1] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> ([(0,3),(1,3),(2,3)],4)
=> 3
[1,2,3,4,5] => [1,2,3,4,5] => ([],5)
=> ([],5)
=> 0
[1,2,3,5,4] => [1,2,3,5,4] => ([(3,4)],5)
=> ([(3,4)],5)
=> 1
[1,2,4,3,5] => [1,2,4,3,5] => ([(3,4)],5)
=> ([(3,4)],5)
=> 1
[1,2,4,5,3] => [1,2,5,4,3] => ([(2,3),(2,4),(3,4)],5)
=> ([(2,3),(2,4),(3,4)],5)
=> 3
[1,2,5,3,4] => [1,2,5,3,4] => ([(2,4),(3,4)],5)
=> ([(2,4),(3,4)],5)
=> 2
[1,2,5,4,3] => [1,2,4,5,3] => ([(2,4),(3,4)],5)
=> ([(2,4),(3,4)],5)
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => ([(3,4)],5)
=> ([(3,4)],5)
=> 1
[1,3,2,5,4] => [1,3,2,5,4] => ([(1,4),(2,3)],5)
=> ([(1,4),(2,3)],5)
=> 2
[1,3,4,2,5] => [1,4,3,2,5] => ([(2,3),(2,4),(3,4)],5)
=> ([(2,3),(2,4),(3,4)],5)
=> 3
[1,3,4,5,2] => [1,5,3,4,2] => ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 5
[1,3,5,2,4] => [1,5,3,2,4] => ([(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,4),(2,3),(2,4),(3,4)],5)
=> 4
[1,3,5,4,2] => [1,4,3,5,2] => ([(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,4),(2,3),(2,4),(3,4)],5)
=> 4
[1,4,2,3,5] => [1,4,2,3,5] => ([(2,4),(3,4)],5)
=> ([(2,4),(3,4)],5)
=> 2
[1,4,2,5,3] => [1,5,4,2,3] => ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 5
[1,4,3,2,5] => [1,3,4,2,5] => ([(2,4),(3,4)],5)
=> ([(2,4),(3,4)],5)
=> 2
[1,4,3,5,2] => [1,5,4,3,2] => ([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 6
[1,4,5,2,3] => [1,5,2,4,3] => ([(1,4),(2,3),(2,4),(3,4)],5)
=> ([(1,4),(2,3),(2,4),(3,4)],5)
=> 4
[1,4,5,2,6,3] => [1,6,5,4,2,3] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[1,4,6,3,5,2] => [1,5,6,4,3,2] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[1,5,3,4,6,2] => [1,6,5,3,4,2] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[1,5,4,3,6,2] => [1,6,4,5,3,2] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[3,4,1,5,2,6] => [5,4,3,1,2,6] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[3,5,1,4,6,2] => [6,5,3,1,4,2] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[3,5,2,4,1,6] => [4,5,3,2,1,6] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[3,5,2,6,4,1] => [4,6,3,5,2,1] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[4,2,3,5,1,6] => [5,4,2,3,1,6] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[4,3,2,5,1,6] => [5,3,4,2,1,6] => ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)
=> ? = 9
[4,5,2,6,1,3] => [6,5,2,4,1,3] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[4,6,3,2,5,1] => [5,3,6,4,2,1] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[5,2,3,6,4,1] => [4,6,2,5,3,1] => ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,6),(3,6),(4,6),(5,6)],7)
=> ? = 11
[5,3,1,4,6,2] => [6,3,5,1,4,2] => ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,6),(3,6),(4,6),(5,6)],7)
=> ? = 11
[5,3,2,4,6,1] => [6,3,5,2,4,1] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[5,4,2,3,6,1] => [6,4,2,5,3,1] => ([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,3),(2,6),(3,5),(4,5),(4,7),(6,7)],8)
=> ? = 12
[5,4,2,6,1,3] => [6,4,2,5,1,3] => ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,6),(3,6),(4,6),(5,6)],7)
=> ? = 11
[6,3,2,4,5,1] => [5,3,6,2,4,1] => ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,1),(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,6),(3,6),(4,6),(5,6)],7)
=> ? = 11
[1,2,3,5,4,7,6] => [1,2,3,5,4,7,6] => ([(3,6),(4,5)],7)
=> ([(3,6),(4,5)],7)
=> ? = 2
[1,2,4,3,6,7,5] => [1,2,4,3,7,6,5] => ([(2,3),(4,5),(4,6),(5,6)],7)
=> ([(2,3),(4,5),(4,6),(5,6)],7)
=> ? = 4
[1,3,2,5,4,7,6] => [1,3,2,5,4,7,6] => ([(1,6),(2,5),(3,4)],7)
=> ([(1,6),(2,5),(3,4)],7)
=> ? = 3
[1,3,2,6,5,7,4] => [1,3,2,7,6,5,4] => ([(1,2),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(1,2),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 7
[1,3,4,2,6,7,5] => [1,4,3,2,7,6,5] => ([(1,5),(1,6),(2,3),(2,4),(3,4),(5,6)],7)
=> ([(1,5),(1,6),(2,3),(2,4),(3,4),(5,6)],7)
=> ? = 6
[1,6,3,5,7,2,4] => [1,7,6,3,2,5,4] => ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 11
[2,1,4,3,6,7,5] => [2,1,4,3,7,6,5] => ([(0,3),(1,2),(4,5),(4,6),(5,6)],7)
=> ([(0,3),(1,2),(4,5),(4,6),(5,6)],7)
=> ? = 5
[2,1,4,6,7,3,5] => [2,1,7,4,3,6,5] => ([(0,1),(2,5),(2,6),(3,4),(3,6),(4,6),(5,6)],7)
=> ([(0,1),(2,5),(2,6),(3,4),(3,6),(4,6),(5,6)],7)
=> ? = 7
[2,1,5,6,4,7,3] => [2,1,7,6,5,4,3] => ([(0,1),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 11
[2,3,1,6,5,7,4] => [3,2,1,7,6,5,4] => ([(0,1),(0,2),(1,2),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,2),(1,2),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 9
[2,5,1,6,4,7,3] => [7,2,6,5,1,4,3] => ([(0,3),(0,6),(1,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,3),(0,6),(1,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 15
[2,5,4,6,1,7,3] => [7,2,6,5,4,1,3] => ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 16
[2,5,4,7,3,6,1] => [6,2,7,5,4,3,1] => ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 16
[2,5,6,1,7,4,3] => [4,2,7,6,5,1,3] => ([(0,1),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ([(0,1),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ? = 13
[2,5,6,3,1,7,4] => [3,2,7,6,5,1,4] => ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 12
[2,5,6,4,7,1,3] => [7,2,1,6,5,4,3] => ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 13
[2,5,6,4,7,3,1] => [3,2,7,6,5,4,1] => ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 13
[2,5,7,1,4,6,3] => [6,2,7,1,5,4,3] => ([(0,1),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ([(0,1),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ? = 13
[2,5,7,4,6,1,3] => [6,2,1,7,5,4,3] => ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,6),(1,6),(2,3),(2,4),(2,5),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 12
[2,6,4,7,3,5,1] => [5,2,7,6,4,3,1] => ([(0,3),(0,6),(1,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,3),(0,6),(1,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 15
[3,1,2,5,4,7,6] => [3,1,2,5,4,7,6] => ([(0,3),(1,2),(4,6),(5,6)],7)
=> ([(0,3),(1,2),(4,6),(5,6)],7)
=> ? = 4
[3,1,4,2,6,7,5] => [4,3,1,2,7,6,5] => ([(0,1),(0,2),(1,2),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(0,2),(1,2),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 8
[3,1,5,7,4,6,2] => [6,3,1,7,5,4,2] => ([(0,2),(0,6),(1,3),(1,4),(1,5),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,2),(0,6),(1,3),(1,4),(1,5),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 13
[3,1,6,7,4,2,5] => [4,3,1,7,2,6,5] => ([(0,4),(0,5),(1,2),(1,6),(2,6),(3,4),(3,5),(3,6),(4,5)],7)
=> ([(0,4),(0,5),(1,2),(1,6),(2,6),(3,4),(3,5),(3,6),(4,5)],7)
=> ? = 9
[3,2,6,5,7,1,4] => [7,3,2,1,6,5,4] => ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6),(2,3),(2,6),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6),(2,3),(2,6),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 12
[3,2,6,5,7,4,1] => [4,3,2,7,6,5,1] => ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6),(2,3),(2,6),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6),(2,3),(2,6),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 12
[3,4,1,2,6,7,5] => [4,1,3,2,7,6,5] => ([(0,6),(1,2),(1,3),(2,3),(4,5),(4,6),(5,6)],7)
=> ([(0,6),(1,2),(1,3),(2,3),(4,5),(4,6),(5,6)],7)
=> ? = 7
[3,4,2,5,1,7,6] => [5,4,3,2,1,7,6] => ([(0,1),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 11
[3,5,6,1,7,2,4] => [7,6,3,1,5,2,4] => ([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,7),(0,8),(0,9),(1,2),(1,3),(1,5),(2,3),(2,4),(3,9),(4,6),(4,8),(5,7),(5,9),(6,7),(6,8)],10)
=> ? = 15
[3,7,4,2,5,1,6] => [5,4,3,7,2,1,6] => ([(0,1),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ([(0,1),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6),(5,6)],7)
=> ? = 13
[4,3,1,7,2,5,6] => [7,3,4,1,2,5,6] => ([(0,6),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,6),(5,6)],7)
=> ([(0,6),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,6),(5,6)],7)
=> ? = 10
[4,3,7,2,6,1,5] => [6,7,4,3,2,1,5] => ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ([(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,5),(4,6)],7)
=> ? = 16
Description
The number of edges of a graph.
Matching statistic: St000795
(load all 3 compositions to match this statistic)
(load all 3 compositions to match this statistic)
St000795: Permutations ⟶ ℤResult quality: 43% ●values known / values provided: 46%●distinct values known / distinct values provided: 43%
Values
[1] => ? = 0
[1,2] => 0
[2,1] => 1
[1,2,3] => 0
[1,3,2] => 1
[2,1,3] => 1
[2,3,1] => 3
[3,1,2] => 2
[3,2,1] => 2
[1,2,3,4] => 0
[1,2,4,3] => 1
[1,3,2,4] => 1
[1,3,4,2] => 3
[1,4,2,3] => 2
[1,4,3,2] => 2
[2,1,3,4] => 1
[2,1,4,3] => 2
[2,3,1,4] => 3
[2,3,4,1] => 5
[2,4,1,3] => 4
[2,4,3,1] => 4
[3,1,2,4] => 2
[3,1,4,2] => 5
[3,2,1,4] => 2
[3,2,4,1] => 6
[3,4,1,2] => 4
[3,4,2,1] => 4
[4,1,2,3] => 3
[4,1,3,2] => 4
[4,2,1,3] => 3
[4,2,3,1] => 5
[4,3,1,2] => 3
[4,3,2,1] => 3
[1,2,3,4,5] => 0
[1,2,3,5,4] => 1
[1,2,4,3,5] => 1
[1,2,4,5,3] => 3
[1,2,5,3,4] => 2
[1,2,5,4,3] => 2
[1,3,2,4,5] => 1
[1,3,2,5,4] => 2
[1,3,4,2,5] => 3
[1,3,4,5,2] => 5
[1,3,5,2,4] => 4
[1,3,5,4,2] => 4
[1,4,2,3,5] => 2
[1,4,2,5,3] => 5
[1,4,3,2,5] => 2
[1,4,3,5,2] => 6
[1,4,5,2,3] => 4
[1,4,5,3,2] => 4
[1,5,2,6,3,7,4] => ? = 12
[1,5,2,6,4,7,3] => ? = 13
[1,5,3,6,2,7,4] => ? = 13
[1,5,4,6,2,7,3] => ? = 14
[1,5,4,6,3,7,2] => ? = 15
[1,5,6,2,4,7,3] => ? = 12
[1,5,6,2,7,3,4] => ? = 11
[1,5,6,4,7,2,3] => ? = 11
[1,6,3,5,7,2,4] => ? = 11
[2,1,4,3,6,7,5] => ? = 5
[2,1,4,6,7,3,5] => ? = 7
[2,1,5,6,4,7,3] => ? = 11
[2,3,1,6,5,7,4] => ? = 9
[2,3,4,5,7,1,6] => ? = 10
[2,3,4,5,7,6,1] => ? = 10
[2,3,4,7,1,5,6] => ? = 9
[2,3,4,7,6,5,1] => ? = 9
[2,3,7,1,4,5,6] => ? = 8
[2,3,7,6,5,4,1] => ? = 8
[2,4,6,7,1,3,5] => ? = 9
[2,5,1,6,4,7,3] => ? = 15
[2,5,4,6,1,7,3] => ? = 16
[2,5,4,7,3,6,1] => ? = 16
[2,5,6,1,4,7,3] => ? = 14
[2,5,6,1,7,4,3] => ? = 13
[2,5,6,3,1,7,4] => ? = 12
[2,5,6,3,7,4,1] => ? = 14
[2,5,6,4,7,1,3] => ? = 13
[2,5,6,4,7,3,1] => ? = 13
[2,5,7,1,4,6,3] => ? = 13
[2,5,7,4,6,1,3] => ? = 12
[2,6,4,7,3,5,1] => ? = 15
[2,7,1,3,4,5,6] => ? = 7
[2,7,6,5,4,3,1] => ? = 7
[3,1,2,5,4,7,6] => ? = 4
[3,1,4,2,6,7,5] => ? = 8
[3,1,5,6,4,7,2] => ? = 14
[3,1,5,7,4,6,2] => ? = 13
[3,1,6,4,2,7,5] => ? = 10
[3,1,6,7,4,2,5] => ? = 9
[3,1,7,2,4,5,6] => ? = 8
[3,2,4,7,1,5,6] => ? = 10
[3,2,4,7,6,5,1] => ? = 10
[3,2,6,1,5,7,4] => ? = 13
[3,2,6,4,7,5,1] => ? = 13
[3,2,6,5,7,1,4] => ? = 12
[3,2,6,5,7,4,1] => ? = 12
[3,2,7,1,4,5,6] => ? = 9
[3,2,7,6,5,4,1] => ? = 9
Description
The mad of a permutation.
According to [1], this is the sum of twice the number of occurrences of the vincular pattern of $(2\underline{31})$ plus the number of occurrences of the vincular patterns $(\underline{31}2)$ and $(\underline{21})$, where matches of the underlined letters must be adjacent.
Matching statistic: St000833
(load all 2 compositions to match this statistic)
(load all 2 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00126: Permutations —cactus evacuation⟶ Permutations
St000833: Permutations ⟶ ℤResult quality: 43% ●values known / values provided: 46%●distinct values known / distinct values provided: 43%
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
Mp00126: Permutations —cactus evacuation⟶ Permutations
St000833: Permutations ⟶ ℤResult quality: 43% ●values known / values provided: 46%●distinct values known / distinct values provided: 43%
Values
[1] => [1] => [1] => [1] => ? = 0
[1,2] => [1,2] => [1,2] => [1,2] => 0
[2,1] => [2,1] => [2,1] => [2,1] => 1
[1,2,3] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[1,3,2] => [1,3,2] => [3,1,2] => [1,3,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => [2,3,1] => 1
[2,3,1] => [3,2,1] => [3,2,1] => [3,2,1] => 3
[3,1,2] => [3,1,2] => [1,3,2] => [3,1,2] => 2
[3,2,1] => [2,3,1] => [2,3,1] => [2,1,3] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => [4,1,2,3] => [1,2,4,3] => 1
[1,3,2,4] => [1,3,2,4] => [3,1,2,4] => [1,3,4,2] => 1
[1,3,4,2] => [1,4,3,2] => [4,3,1,2] => [1,4,3,2] => 3
[1,4,2,3] => [1,4,2,3] => [1,4,2,3] => [1,4,2,3] => 2
[1,4,3,2] => [1,3,4,2] => [3,4,1,2] => [3,4,1,2] => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => [2,3,4,1] => 1
[2,1,4,3] => [2,1,4,3] => [2,4,1,3] => [2,4,1,3] => 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => [3,4,2,1] => 3
[2,3,4,1] => [4,2,3,1] => [2,4,3,1] => [4,2,1,3] => 5
[2,4,1,3] => [4,2,1,3] => [2,1,4,3] => [2,1,4,3] => 4
[2,4,3,1] => [3,2,4,1] => [3,2,4,1] => [3,2,4,1] => 4
[3,1,2,4] => [3,1,2,4] => [1,3,2,4] => [1,3,2,4] => 2
[3,1,4,2] => [4,3,1,2] => [1,4,3,2] => [4,3,1,2] => 5
[3,2,1,4] => [2,3,1,4] => [2,3,1,4] => [2,3,1,4] => 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => [4,3,2,1] => 6
[3,4,1,2] => [4,1,3,2] => [4,1,3,2] => [4,1,3,2] => 4
[3,4,2,1] => [2,4,3,1] => [4,2,3,1] => [4,2,3,1] => 4
[4,1,2,3] => [4,1,2,3] => [1,2,4,3] => [4,1,2,3] => 3
[4,1,3,2] => [3,4,1,2] => [3,1,4,2] => [3,1,4,2] => 4
[4,2,1,3] => [2,4,1,3] => [4,2,1,3] => [2,4,3,1] => 3
[4,2,3,1] => [3,4,2,1] => [3,4,2,1] => [3,2,1,4] => 5
[4,3,1,2] => [3,1,4,2] => [1,3,4,2] => [3,1,2,4] => 3
[4,3,2,1] => [2,3,4,1] => [2,3,4,1] => [2,1,3,4] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => [1,2,3,5,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => [1,2,4,5,3] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [5,4,1,2,3] => [1,2,5,4,3] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,5,2,3,4] => [1,2,5,3,4] => 2
[1,2,5,4,3] => [1,2,4,5,3] => [4,5,1,2,3] => [1,4,5,2,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => [1,3,4,5,2] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [3,5,1,2,4] => [1,3,5,2,4] => 2
[1,3,4,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => [1,4,5,3,2] => 3
[1,3,4,5,2] => [1,5,3,4,2] => [3,5,4,1,2] => [3,5,4,1,2] => 5
[1,3,5,2,4] => [1,5,3,2,4] => [5,1,3,2,4] => [1,5,3,4,2] => 4
[1,3,5,4,2] => [1,4,3,5,2] => [4,3,5,1,2] => [4,5,1,3,2] => 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,4,2,3,5] => [1,2,4,3,5] => 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,5,4,2,3] => [1,5,4,2,3] => 5
[1,4,3,2,5] => [1,3,4,2,5] => [3,4,1,2,5] => [3,4,5,1,2] => 2
[1,4,3,5,2] => [1,5,4,3,2] => [5,4,3,1,2] => [1,5,4,3,2] => 6
[1,4,5,2,3] => [1,5,2,4,3] => [5,1,4,2,3] => [1,5,2,4,3] => 4
[1,4,5,3,2] => [1,3,5,4,2] => [5,3,4,1,2] => [3,5,1,4,2] => 4
[1,3,4,2,6,7,5] => [1,4,3,2,7,6,5] => [4,7,3,6,1,2,5] => [1,4,7,3,6,2,5] => ? = 6
[1,4,5,3,7,2,6] => [1,7,5,4,3,2,6] => [7,5,4,1,3,2,6] => [1,7,5,6,4,3,2] => ? = 11
[1,4,6,2,7,3,5] => [1,7,6,4,2,3,5] => [1,7,2,6,4,3,5] => [1,7,6,2,4,3,5] => ? = 11
[1,4,6,3,7,2,5] => [1,7,6,4,3,2,5] => [7,6,1,4,3,2,5] => [1,7,6,4,5,3,2] => ? = 12
[1,5,2,6,3,7,4] => [1,7,6,5,2,3,4] => [1,2,7,6,5,3,4] => [1,7,6,5,2,3,4] => ? = 12
[1,5,2,6,4,7,3] => [1,7,6,5,2,4,3] => [7,1,6,5,4,2,3] => [1,7,6,5,2,4,3] => ? = 13
[1,5,3,6,2,7,4] => [1,7,6,5,3,2,4] => [7,1,6,5,3,2,4] => [1,7,6,5,3,4,2] => ? = 13
[1,5,4,6,2,7,3] => [1,7,6,5,4,2,3] => [1,7,6,5,4,2,3] => [1,7,6,5,4,2,3] => ? = 14
[1,5,4,6,3,7,2] => [1,7,6,5,4,3,2] => [7,6,5,4,3,1,2] => [1,7,6,5,4,3,2] => ? = 15
[1,5,6,2,4,7,3] => [1,7,6,2,5,4,3] => [7,6,1,5,4,2,3] => [1,7,6,2,5,4,3] => ? = 12
[1,5,6,2,7,3,4] => [1,7,6,2,5,3,4] => [1,7,2,6,5,3,4] => [1,7,6,2,5,3,4] => ? = 11
[1,5,6,4,7,2,3] => [1,7,2,6,5,4,3] => [7,6,5,1,4,2,3] => [1,7,2,6,5,4,3] => ? = 11
[1,6,3,5,7,2,4] => [1,7,6,3,2,5,4] => [1,7,3,6,5,2,4] => [3,7,6,1,5,2,4] => ? = 11
[2,1,4,3,6,7,5] => [2,1,4,3,7,6,5] => [7,2,4,6,1,3,5] => [2,4,7,1,3,6,5] => ? = 5
[2,1,4,6,7,3,5] => [2,1,7,4,3,6,5] => [2,4,7,6,1,3,5] => [2,4,7,6,1,3,5] => ? = 7
[2,1,5,6,4,7,3] => [2,1,7,6,5,4,3] => [7,6,5,2,4,1,3] => [2,7,1,6,5,4,3] => ? = 11
[2,3,1,6,5,7,4] => [3,2,1,7,6,5,4] => [7,3,6,2,5,1,4] => [3,7,2,6,1,5,4] => ? = 9
[2,3,4,5,7,1,6] => [7,2,3,4,5,1,6] => [2,3,4,5,1,7,6] => [2,1,7,3,4,5,6] => ? = 10
[2,3,4,5,7,6,1] => [6,2,3,4,5,7,1] => [2,3,4,6,5,7,1] => [6,2,3,1,4,5,7] => ? = 10
[2,3,4,7,1,5,6] => [7,2,3,4,1,5,6] => [2,3,4,1,5,7,6] => [2,1,3,7,4,5,6] => ? = 9
[2,3,4,7,6,5,1] => [5,2,3,4,6,7,1] => [2,3,5,4,6,7,1] => [5,2,3,4,1,6,7] => ? = 9
[2,3,7,1,4,5,6] => [7,2,3,1,4,5,6] => [2,3,1,4,5,7,6] => [2,1,3,4,7,5,6] => ? = 8
[2,3,7,6,5,4,1] => [4,2,3,5,6,7,1] => [2,4,3,5,6,7,1] => [4,2,3,5,6,1,7] => ? = 8
[2,4,6,7,1,3,5] => [7,2,1,4,3,6,5] => [2,4,7,1,3,6,5] => [7,2,4,6,1,3,5] => ? = 9
[2,5,1,6,4,7,3] => [7,2,6,5,1,4,3] => [2,7,6,5,1,4,3] => [7,2,6,5,4,1,3] => ? = 15
[2,5,4,6,1,7,3] => [7,2,6,5,4,1,3] => [7,6,5,2,1,4,3] => [2,1,7,6,5,4,3] => ? = 16
[2,5,4,7,3,6,1] => [6,2,7,5,4,3,1] => [6,7,5,2,4,3,1] => [6,5,4,7,2,1,3] => ? = 16
[2,5,6,1,4,7,3] => [7,2,6,1,5,4,3] => [7,2,6,5,1,4,3] => [7,2,6,5,1,4,3] => ? = 14
[2,5,6,1,7,4,3] => [4,2,7,6,5,1,3] => [7,6,2,4,1,5,3] => [2,1,7,4,6,5,3] => ? = 13
[2,5,6,3,1,7,4] => [3,2,7,6,5,1,4] => [7,6,3,5,2,1,4] => [3,7,6,2,5,4,1] => ? = 12
[2,5,6,3,7,4,1] => [4,2,7,6,5,3,1] => [7,6,2,4,5,3,1] => [7,6,2,4,5,3,1] => ? = 14
[2,5,6,4,7,1,3] => [7,2,1,6,5,4,3] => [7,6,2,5,1,4,3] => [7,2,6,1,5,4,3] => ? = 13
[2,5,6,4,7,3,1] => [3,2,7,6,5,4,1] => [7,6,3,5,2,4,1] => [7,3,6,2,5,4,1] => ? = 13
[2,5,7,1,4,6,3] => [6,2,7,1,5,4,3] => [2,6,7,5,1,4,3] => [6,2,5,4,1,3,7] => ? = 13
[2,5,7,4,6,1,3] => [6,2,1,7,5,4,3] => [6,7,2,5,1,4,3] => [6,5,7,2,4,1,3] => ? = 12
[2,6,4,7,3,5,1] => [5,2,7,6,4,3,1] => [7,5,6,2,4,3,1] => [7,5,4,6,2,3,1] => ? = 15
[2,7,1,3,4,5,6] => [7,2,1,3,4,5,6] => [2,1,3,4,5,7,6] => [2,1,3,4,5,7,6] => ? = 7
[2,7,6,5,4,3,1] => [3,2,4,5,6,7,1] => [3,2,4,5,6,7,1] => [3,2,4,5,6,7,1] => ? = 7
[3,1,2,5,4,7,6] => [3,1,2,5,4,7,6] => [1,3,5,7,2,4,6] => [3,5,7,1,2,4,6] => ? = 4
[3,1,4,2,6,7,5] => [4,3,1,2,7,6,5] => [1,4,7,3,6,2,5] => [4,7,3,6,1,2,5] => ? = 8
[3,1,5,6,4,7,2] => [7,3,1,6,5,4,2] => [7,6,1,3,5,4,2] => [7,6,1,3,5,4,2] => ? = 14
[3,1,5,7,4,6,2] => [6,3,1,7,5,4,2] => [6,7,1,3,5,4,2] => [6,5,1,3,7,2,4] => ? = 13
[3,1,7,2,4,5,6] => [7,3,1,2,4,5,6] => [1,3,2,4,5,7,6] => [3,1,2,4,7,5,6] => ? = 8
[3,2,4,7,1,5,6] => [7,3,2,4,1,5,6] => [3,2,4,1,5,7,6] => [3,2,4,7,5,6,1] => ? = 10
[3,2,4,7,6,5,1] => [5,3,2,4,6,7,1] => [3,2,5,4,6,7,1] => [3,2,5,6,1,7,4] => ? = 10
[3,2,6,1,5,7,4] => [7,3,2,6,1,5,4] => [7,3,2,6,1,5,4] => [3,2,7,1,6,5,4] => ? = 13
[3,2,6,4,7,5,1] => [5,3,2,7,6,4,1] => [3,7,2,5,6,4,1] => [7,3,2,5,6,1,4] => ? = 13
[3,2,6,5,7,1,4] => [7,3,2,1,6,5,4] => [3,7,2,6,1,5,4] => [7,3,6,2,5,1,4] => ? = 12
[3,2,6,5,7,4,1] => [4,3,2,7,6,5,1] => [4,7,3,6,2,5,1] => [4,3,7,2,6,1,5] => ? = 12
Description
The comajor index of a permutation.
This is, $\operatorname{comaj}(\pi) = \sum_{i \in \operatorname{Des}(\pi)} (n-i)$ for a permutation $\pi$ of length $n$.
Matching statistic: St000004
(load all 5 compositions to match this statistic)
(load all 5 compositions to match this statistic)
Mp00238: Permutations —Clarke-Steingrimsson-Zeng⟶ Permutations
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St000004: Permutations ⟶ ℤResult quality: 43% ●values known / values provided: 45%●distinct values known / distinct values provided: 43%
Mp00175: Permutations —inverse Foata bijection⟶ Permutations
St000004: Permutations ⟶ ℤResult quality: 43% ●values known / values provided: 45%●distinct values known / distinct values provided: 43%
Values
[1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => 0
[2,1] => [2,1] => [2,1] => 1
[1,2,3] => [1,2,3] => [1,2,3] => 0
[1,3,2] => [1,3,2] => [3,1,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => 1
[2,3,1] => [3,2,1] => [3,2,1] => 3
[3,1,2] => [3,1,2] => [1,3,2] => 2
[3,2,1] => [2,3,1] => [2,3,1] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => [4,1,2,3] => 1
[1,3,2,4] => [1,3,2,4] => [3,1,2,4] => 1
[1,3,4,2] => [1,4,3,2] => [4,3,1,2] => 3
[1,4,2,3] => [1,4,2,3] => [1,4,2,3] => 2
[1,4,3,2] => [1,3,4,2] => [3,4,1,2] => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1
[2,1,4,3] => [2,1,4,3] => [2,4,1,3] => 2
[2,3,1,4] => [3,2,1,4] => [3,2,1,4] => 3
[2,3,4,1] => [4,2,3,1] => [2,4,3,1] => 5
[2,4,1,3] => [4,2,1,3] => [2,1,4,3] => 4
[2,4,3,1] => [3,2,4,1] => [3,2,4,1] => 4
[3,1,2,4] => [3,1,2,4] => [1,3,2,4] => 2
[3,1,4,2] => [4,3,1,2] => [1,4,3,2] => 5
[3,2,1,4] => [2,3,1,4] => [2,3,1,4] => 2
[3,2,4,1] => [4,3,2,1] => [4,3,2,1] => 6
[3,4,1,2] => [4,1,3,2] => [4,1,3,2] => 4
[3,4,2,1] => [2,4,3,1] => [4,2,3,1] => 4
[4,1,2,3] => [4,1,2,3] => [1,2,4,3] => 3
[4,1,3,2] => [3,4,1,2] => [3,1,4,2] => 4
[4,2,1,3] => [2,4,1,3] => [4,2,1,3] => 3
[4,2,3,1] => [3,4,2,1] => [3,4,2,1] => 5
[4,3,1,2] => [3,1,4,2] => [1,3,4,2] => 3
[4,3,2,1] => [2,3,4,1] => [2,3,4,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [5,1,2,3,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [4,1,2,3,5] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [5,4,1,2,3] => 3
[1,2,5,3,4] => [1,2,5,3,4] => [1,5,2,3,4] => 2
[1,2,5,4,3] => [1,2,4,5,3] => [4,5,1,2,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [3,1,2,4,5] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [3,5,1,2,4] => 2
[1,3,4,2,5] => [1,4,3,2,5] => [4,3,1,2,5] => 3
[1,3,4,5,2] => [1,5,3,4,2] => [3,5,4,1,2] => 5
[1,3,5,2,4] => [1,5,3,2,4] => [5,1,3,2,4] => 4
[1,3,5,4,2] => [1,4,3,5,2] => [4,3,5,1,2] => 4
[1,4,2,3,5] => [1,4,2,3,5] => [1,4,2,3,5] => 2
[1,4,2,5,3] => [1,5,4,2,3] => [1,5,4,2,3] => 5
[1,4,3,2,5] => [1,3,4,2,5] => [3,4,1,2,5] => 2
[1,4,3,5,2] => [1,5,4,3,2] => [5,4,3,1,2] => 6
[1,4,5,2,3] => [1,5,2,4,3] => [5,1,4,2,3] => 4
[1,2,3,4,5,6,7] => [1,2,3,4,5,6,7] => [1,2,3,4,5,6,7] => ? = 0
[1,2,3,4,5,7,6] => [1,2,3,4,5,7,6] => [7,1,2,3,4,5,6] => ? = 1
[1,2,3,4,6,7,5] => [1,2,3,4,7,6,5] => [7,6,1,2,3,4,5] => ? = 3
[1,2,3,5,4,7,6] => [1,2,3,5,4,7,6] => [5,7,1,2,3,4,6] => ? = 2
[1,2,3,6,5,7,4] => [1,2,3,7,6,5,4] => [7,6,5,1,2,3,4] => ? = 6
[1,2,4,3,6,7,5] => [1,2,4,3,7,6,5] => [7,4,6,1,2,3,5] => ? = 4
[1,2,5,6,4,7,3] => [1,2,7,6,5,4,3] => [7,6,5,4,1,2,3] => ? = 10
[1,3,2,5,4,7,6] => [1,3,2,5,4,7,6] => [3,5,7,1,2,4,6] => ? = 3
[1,3,2,6,5,7,4] => [1,3,2,7,6,5,4] => [7,6,3,5,1,2,4] => ? = 7
[1,3,4,2,6,7,5] => [1,4,3,2,7,6,5] => [4,7,3,6,1,2,5] => ? = 6
[1,4,5,3,7,2,6] => [1,7,5,4,3,2,6] => [7,5,4,1,3,2,6] => ? = 11
[1,4,6,2,7,3,5] => [1,7,6,4,2,3,5] => [1,7,2,6,4,3,5] => ? = 11
[1,4,6,3,7,2,5] => [1,7,6,4,3,2,5] => [7,6,1,4,3,2,5] => ? = 12
[1,5,2,6,3,7,4] => [1,7,6,5,2,3,4] => [1,2,7,6,5,3,4] => ? = 12
[1,5,2,6,4,7,3] => [1,7,6,5,2,4,3] => [7,1,6,5,4,2,3] => ? = 13
[1,5,3,6,2,7,4] => [1,7,6,5,3,2,4] => [7,1,6,5,3,2,4] => ? = 13
[1,5,4,6,2,7,3] => [1,7,6,5,4,2,3] => [1,7,6,5,4,2,3] => ? = 14
[1,5,4,6,3,7,2] => [1,7,6,5,4,3,2] => [7,6,5,4,3,1,2] => ? = 15
[1,5,6,2,4,7,3] => [1,7,6,2,5,4,3] => [7,6,1,5,4,2,3] => ? = 12
[1,5,6,2,7,3,4] => [1,7,6,2,5,3,4] => [1,7,2,6,5,3,4] => ? = 11
[1,5,6,4,7,2,3] => [1,7,2,6,5,4,3] => [7,6,5,1,4,2,3] => ? = 11
[1,6,3,5,7,2,4] => [1,7,6,3,2,5,4] => [1,7,3,6,5,2,4] => ? = 11
[2,1,4,3,6,7,5] => [2,1,4,3,7,6,5] => [7,2,4,6,1,3,5] => ? = 5
[2,1,4,6,7,3,5] => [2,1,7,4,3,6,5] => [2,4,7,6,1,3,5] => ? = 7
[2,1,5,6,4,7,3] => [2,1,7,6,5,4,3] => [7,6,5,2,4,1,3] => ? = 11
[2,3,1,6,5,7,4] => [3,2,1,7,6,5,4] => [7,3,6,2,5,1,4] => ? = 9
[2,3,4,5,7,1,6] => [7,2,3,4,5,1,6] => [2,3,4,5,1,7,6] => ? = 10
[2,3,4,5,7,6,1] => [6,2,3,4,5,7,1] => [2,3,4,6,5,7,1] => ? = 10
[2,3,4,7,1,5,6] => [7,2,3,4,1,5,6] => [2,3,4,1,5,7,6] => ? = 9
[2,3,4,7,6,5,1] => [5,2,3,4,6,7,1] => [2,3,5,4,6,7,1] => ? = 9
[2,3,7,1,4,5,6] => [7,2,3,1,4,5,6] => [2,3,1,4,5,7,6] => ? = 8
[2,3,7,6,5,4,1] => [4,2,3,5,6,7,1] => [2,4,3,5,6,7,1] => ? = 8
[2,4,6,7,1,3,5] => [7,2,1,4,3,6,5] => [2,4,7,1,3,6,5] => ? = 9
[2,5,1,6,4,7,3] => [7,2,6,5,1,4,3] => [2,7,6,5,1,4,3] => ? = 15
[2,5,4,6,1,7,3] => [7,2,6,5,4,1,3] => [7,6,5,2,1,4,3] => ? = 16
[2,5,4,7,3,6,1] => [6,2,7,5,4,3,1] => [6,7,5,2,4,3,1] => ? = 16
[2,5,6,1,4,7,3] => [7,2,6,1,5,4,3] => [7,2,6,5,1,4,3] => ? = 14
[2,5,6,1,7,4,3] => [4,2,7,6,5,1,3] => [7,6,2,4,1,5,3] => ? = 13
[2,5,6,3,1,7,4] => [3,2,7,6,5,1,4] => [7,6,3,5,2,1,4] => ? = 12
[2,5,6,3,7,4,1] => [4,2,7,6,5,3,1] => [7,6,2,4,5,3,1] => ? = 14
[2,5,6,4,7,1,3] => [7,2,1,6,5,4,3] => [7,6,2,5,1,4,3] => ? = 13
[2,5,6,4,7,3,1] => [3,2,7,6,5,4,1] => [7,6,3,5,2,4,1] => ? = 13
[2,5,7,1,4,6,3] => [6,2,7,1,5,4,3] => [2,6,7,5,1,4,3] => ? = 13
[2,5,7,4,6,1,3] => [6,2,1,7,5,4,3] => [6,7,2,5,1,4,3] => ? = 12
[2,6,4,7,3,5,1] => [5,2,7,6,4,3,1] => [7,5,6,2,4,3,1] => ? = 15
[2,7,1,3,4,5,6] => [7,2,1,3,4,5,6] => [2,1,3,4,5,7,6] => ? = 7
[2,7,6,5,4,3,1] => [3,2,4,5,6,7,1] => [3,2,4,5,6,7,1] => ? = 7
[3,1,2,5,4,7,6] => [3,1,2,5,4,7,6] => [1,3,5,7,2,4,6] => ? = 4
[3,1,4,2,6,7,5] => [4,3,1,2,7,6,5] => [1,4,7,3,6,2,5] => ? = 8
[3,1,5,6,4,7,2] => [7,3,1,6,5,4,2] => [7,6,1,3,5,4,2] => ? = 14
Description
The major index of a permutation.
This is the sum of the positions of its descents,
$$\operatorname{maj}(\sigma) = \sum_{\sigma(i) > \sigma(i+1)} i.$$
Its generating function is $[n]_q! = [1]_q \cdot [2]_q \dots [n]_q$ for $[k]_q = 1 + q + q^2 + \dots q^{k-1}$.
A statistic equidistributed with the major index is called '''Mahonian statistic'''.
The following 16 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000305The inverse major index of a permutation. St001311The cyclomatic number of a graph. St000067The inversion number of the alternating sign matrix. St000332The positive inversions of an alternating sign matrix. St001428The number of B-inversions of a signed permutation. St001622The number of join-irreducible elements of a lattice. St000450The number of edges minus the number of vertices plus 2 of a graph. St001621The number of atoms of a lattice. St001772The number of occurrences of the signed pattern 12 in a signed permutation. St001862The number of crossings of a signed permutation. St001875The number of simple modules with projective dimension at most 1. St000136The dinv of a parking function. St000194The number of primary dinversion pairs of a labelled dyck path corresponding to a parking function. St001433The flag major index of a signed permutation. St001583The projective dimension of the simple module corresponding to the point in the poset of the symmetric group under bruhat order. St001877Number of indecomposable injective modules with projective dimension 2.
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!