Your data matches 33 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
Mp00255: Decorated permutations lower permutationPermutations
St000018: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => 0
[-] => [1] => 0
[+,+] => [1,2] => 0
[-,+] => [2,1] => 1
[+,-] => [1,2] => 0
[-,-] => [1,2] => 0
[2,1] => [1,2] => 0
[+,+,+] => [1,2,3] => 0
[-,+,+] => [2,3,1] => 2
[+,-,+] => [1,3,2] => 1
[+,+,-] => [1,2,3] => 0
[-,-,+] => [3,1,2] => 2
[-,+,-] => [2,1,3] => 1
[+,-,-] => [1,2,3] => 0
[-,-,-] => [1,2,3] => 0
[+,3,2] => [1,2,3] => 0
[-,3,2] => [2,1,3] => 1
[2,1,+] => [1,3,2] => 1
[2,1,-] => [1,2,3] => 0
[2,3,1] => [1,2,3] => 0
[3,1,2] => [1,2,3] => 0
[3,+,1] => [2,1,3] => 1
[3,-,1] => [1,3,2] => 1
[+,+,+,+] => [1,2,3,4] => 0
[-,+,+,+] => [2,3,4,1] => 3
[+,-,+,+] => [1,3,4,2] => 2
[+,+,-,+] => [1,2,4,3] => 1
[+,+,+,-] => [1,2,3,4] => 0
[-,-,+,+] => [3,4,1,2] => 4
[-,+,-,+] => [2,4,1,3] => 3
[-,+,+,-] => [2,3,1,4] => 2
[+,-,-,+] => [1,4,2,3] => 2
[+,-,+,-] => [1,3,2,4] => 1
[+,+,-,-] => [1,2,3,4] => 0
[-,-,-,+] => [4,1,2,3] => 3
[-,-,+,-] => [3,1,2,4] => 2
[-,+,-,-] => [2,1,3,4] => 1
[+,-,-,-] => [1,2,3,4] => 0
[-,-,-,-] => [1,2,3,4] => 0
[+,+,4,3] => [1,2,3,4] => 0
[-,+,4,3] => [2,3,1,4] => 2
[+,-,4,3] => [1,3,2,4] => 1
[-,-,4,3] => [3,1,2,4] => 2
[+,3,2,+] => [1,2,4,3] => 1
[-,3,2,+] => [2,4,1,3] => 3
[+,3,2,-] => [1,2,3,4] => 0
[-,3,2,-] => [2,1,3,4] => 1
[+,3,4,2] => [1,2,3,4] => 0
[-,3,4,2] => [2,1,3,4] => 1
[+,4,2,3] => [1,2,3,4] => 0
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$.
Mp00255: Decorated permutations lower permutationPermutations
St001579: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => 0
[-] => [1] => 0
[+,+] => [1,2] => 0
[-,+] => [2,1] => 1
[+,-] => [1,2] => 0
[-,-] => [1,2] => 0
[2,1] => [1,2] => 0
[+,+,+] => [1,2,3] => 0
[-,+,+] => [2,3,1] => 2
[+,-,+] => [1,3,2] => 1
[+,+,-] => [1,2,3] => 0
[-,-,+] => [3,1,2] => 2
[-,+,-] => [2,1,3] => 1
[+,-,-] => [1,2,3] => 0
[-,-,-] => [1,2,3] => 0
[+,3,2] => [1,2,3] => 0
[-,3,2] => [2,1,3] => 1
[2,1,+] => [1,3,2] => 1
[2,1,-] => [1,2,3] => 0
[2,3,1] => [1,2,3] => 0
[3,1,2] => [1,2,3] => 0
[3,+,1] => [2,1,3] => 1
[3,-,1] => [1,3,2] => 1
[+,+,+,+] => [1,2,3,4] => 0
[-,+,+,+] => [2,3,4,1] => 3
[+,-,+,+] => [1,3,4,2] => 2
[+,+,-,+] => [1,2,4,3] => 1
[+,+,+,-] => [1,2,3,4] => 0
[-,-,+,+] => [3,4,1,2] => 4
[-,+,-,+] => [2,4,1,3] => 3
[-,+,+,-] => [2,3,1,4] => 2
[+,-,-,+] => [1,4,2,3] => 2
[+,-,+,-] => [1,3,2,4] => 1
[+,+,-,-] => [1,2,3,4] => 0
[-,-,-,+] => [4,1,2,3] => 3
[-,-,+,-] => [3,1,2,4] => 2
[-,+,-,-] => [2,1,3,4] => 1
[+,-,-,-] => [1,2,3,4] => 0
[-,-,-,-] => [1,2,3,4] => 0
[+,+,4,3] => [1,2,3,4] => 0
[-,+,4,3] => [2,3,1,4] => 2
[+,-,4,3] => [1,3,2,4] => 1
[-,-,4,3] => [3,1,2,4] => 2
[+,3,2,+] => [1,2,4,3] => 1
[-,3,2,+] => [2,4,1,3] => 3
[+,3,2,-] => [1,2,3,4] => 0
[-,3,2,-] => [2,1,3,4] => 1
[+,3,4,2] => [1,2,3,4] => 0
[-,3,4,2] => [2,1,3,4] => 1
[+,4,2,3] => [1,2,3,4] => 0
Description
The number of cyclically simple transpositions decreasing the number of cyclic descents needed to sort a permutation. This is for a permutation $\sigma$ of length $n$ and the set $T = \{ (1,2), \dots, (n-1,n), (1,n) \}$ given by $$\min\{ k \mid \sigma = t_1\dots t_k \text{ for } t_i \in T \text{ such that } t_1\dots t_j \text{ has more cyclic descents than } t_1\dots t_{j-1} \text{ for all } j\}.$$
Mp00255: Decorated permutations lower permutationPermutations
Mp00062: Permutations Lehmer-code to major-code bijectionPermutations
St000004: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => [1] => 0
[-] => [1] => [1] => 0
[+,+] => [1,2] => [1,2] => 0
[-,+] => [2,1] => [2,1] => 1
[+,-] => [1,2] => [1,2] => 0
[-,-] => [1,2] => [1,2] => 0
[2,1] => [1,2] => [1,2] => 0
[+,+,+] => [1,2,3] => [1,2,3] => 0
[-,+,+] => [2,3,1] => [1,3,2] => 2
[+,-,+] => [1,3,2] => [3,1,2] => 1
[+,+,-] => [1,2,3] => [1,2,3] => 0
[-,-,+] => [3,1,2] => [2,3,1] => 2
[-,+,-] => [2,1,3] => [2,1,3] => 1
[+,-,-] => [1,2,3] => [1,2,3] => 0
[-,-,-] => [1,2,3] => [1,2,3] => 0
[+,3,2] => [1,2,3] => [1,2,3] => 0
[-,3,2] => [2,1,3] => [2,1,3] => 1
[2,1,+] => [1,3,2] => [3,1,2] => 1
[2,1,-] => [1,2,3] => [1,2,3] => 0
[2,3,1] => [1,2,3] => [1,2,3] => 0
[3,1,2] => [1,2,3] => [1,2,3] => 0
[3,+,1] => [2,1,3] => [2,1,3] => 1
[3,-,1] => [1,3,2] => [3,1,2] => 1
[+,+,+,+] => [1,2,3,4] => [1,2,3,4] => 0
[-,+,+,+] => [2,3,4,1] => [1,2,4,3] => 3
[+,-,+,+] => [1,3,4,2] => [2,4,1,3] => 2
[+,+,-,+] => [1,2,4,3] => [4,1,2,3] => 1
[+,+,+,-] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,+,+] => [3,4,1,2] => [3,1,4,2] => 4
[-,+,-,+] => [2,4,1,3] => [1,3,4,2] => 3
[-,+,+,-] => [2,3,1,4] => [1,3,2,4] => 2
[+,-,-,+] => [1,4,2,3] => [3,4,1,2] => 2
[+,-,+,-] => [1,3,2,4] => [3,1,2,4] => 1
[+,+,-,-] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,-,+] => [4,1,2,3] => [2,3,4,1] => 3
[-,-,+,-] => [3,1,2,4] => [2,3,1,4] => 2
[-,+,-,-] => [2,1,3,4] => [2,1,3,4] => 1
[+,-,-,-] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,-,-] => [1,2,3,4] => [1,2,3,4] => 0
[+,+,4,3] => [1,2,3,4] => [1,2,3,4] => 0
[-,+,4,3] => [2,3,1,4] => [1,3,2,4] => 2
[+,-,4,3] => [1,3,2,4] => [3,1,2,4] => 1
[-,-,4,3] => [3,1,2,4] => [2,3,1,4] => 2
[+,3,2,+] => [1,2,4,3] => [4,1,2,3] => 1
[-,3,2,+] => [2,4,1,3] => [1,3,4,2] => 3
[+,3,2,-] => [1,2,3,4] => [1,2,3,4] => 0
[-,3,2,-] => [2,1,3,4] => [2,1,3,4] => 1
[+,3,4,2] => [1,2,3,4] => [1,2,3,4] => 0
[-,3,4,2] => [2,1,3,4] => [2,1,3,4] => 1
[+,4,2,3] => [1,2,3,4] => [1,2,3,4] => 0
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'''.
Matching statistic: St000081
Mp00255: Decorated permutations lower permutationPermutations
Mp00160: Permutations graph of inversionsGraphs
St000081: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => ([],1)
=> 0
[-] => [1] => ([],1)
=> 0
[+,+] => [1,2] => ([],2)
=> 0
[-,+] => [2,1] => ([(0,1)],2)
=> 1
[+,-] => [1,2] => ([],2)
=> 0
[-,-] => [1,2] => ([],2)
=> 0
[2,1] => [1,2] => ([],2)
=> 0
[+,+,+] => [1,2,3] => ([],3)
=> 0
[-,+,+] => [2,3,1] => ([(0,2),(1,2)],3)
=> 2
[+,-,+] => [1,3,2] => ([(1,2)],3)
=> 1
[+,+,-] => [1,2,3] => ([],3)
=> 0
[-,-,+] => [3,1,2] => ([(0,2),(1,2)],3)
=> 2
[-,+,-] => [2,1,3] => ([(1,2)],3)
=> 1
[+,-,-] => [1,2,3] => ([],3)
=> 0
[-,-,-] => [1,2,3] => ([],3)
=> 0
[+,3,2] => [1,2,3] => ([],3)
=> 0
[-,3,2] => [2,1,3] => ([(1,2)],3)
=> 1
[2,1,+] => [1,3,2] => ([(1,2)],3)
=> 1
[2,1,-] => [1,2,3] => ([],3)
=> 0
[2,3,1] => [1,2,3] => ([],3)
=> 0
[3,1,2] => [1,2,3] => ([],3)
=> 0
[3,+,1] => [2,1,3] => ([(1,2)],3)
=> 1
[3,-,1] => [1,3,2] => ([(1,2)],3)
=> 1
[+,+,+,+] => [1,2,3,4] => ([],4)
=> 0
[-,+,+,+] => [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 3
[+,-,+,+] => [1,3,4,2] => ([(1,3),(2,3)],4)
=> 2
[+,+,-,+] => [1,2,4,3] => ([(2,3)],4)
=> 1
[+,+,+,-] => [1,2,3,4] => ([],4)
=> 0
[-,-,+,+] => [3,4,1,2] => ([(0,2),(0,3),(1,2),(1,3)],4)
=> 4
[-,+,-,+] => [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 3
[-,+,+,-] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 2
[+,-,-,+] => [1,4,2,3] => ([(1,3),(2,3)],4)
=> 2
[+,-,+,-] => [1,3,2,4] => ([(2,3)],4)
=> 1
[+,+,-,-] => [1,2,3,4] => ([],4)
=> 0
[-,-,-,+] => [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 3
[-,-,+,-] => [3,1,2,4] => ([(1,3),(2,3)],4)
=> 2
[-,+,-,-] => [2,1,3,4] => ([(2,3)],4)
=> 1
[+,-,-,-] => [1,2,3,4] => ([],4)
=> 0
[-,-,-,-] => [1,2,3,4] => ([],4)
=> 0
[+,+,4,3] => [1,2,3,4] => ([],4)
=> 0
[-,+,4,3] => [2,3,1,4] => ([(1,3),(2,3)],4)
=> 2
[+,-,4,3] => [1,3,2,4] => ([(2,3)],4)
=> 1
[-,-,4,3] => [3,1,2,4] => ([(1,3),(2,3)],4)
=> 2
[+,3,2,+] => [1,2,4,3] => ([(2,3)],4)
=> 1
[-,3,2,+] => [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 3
[+,3,2,-] => [1,2,3,4] => ([],4)
=> 0
[-,3,2,-] => [2,1,3,4] => ([(2,3)],4)
=> 1
[+,3,4,2] => [1,2,3,4] => ([],4)
=> 0
[-,3,4,2] => [2,1,3,4] => ([(2,3)],4)
=> 1
[+,4,2,3] => [1,2,3,4] => ([],4)
=> 0
Description
The number of edges of a graph.
Mp00255: Decorated permutations lower permutationPermutations
Mp00069: Permutations complementPermutations
St000246: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => [1] => 0
[-] => [1] => [1] => 0
[+,+] => [1,2] => [2,1] => 0
[-,+] => [2,1] => [1,2] => 1
[+,-] => [1,2] => [2,1] => 0
[-,-] => [1,2] => [2,1] => 0
[2,1] => [1,2] => [2,1] => 0
[+,+,+] => [1,2,3] => [3,2,1] => 0
[-,+,+] => [2,3,1] => [2,1,3] => 2
[+,-,+] => [1,3,2] => [3,1,2] => 1
[+,+,-] => [1,2,3] => [3,2,1] => 0
[-,-,+] => [3,1,2] => [1,3,2] => 2
[-,+,-] => [2,1,3] => [2,3,1] => 1
[+,-,-] => [1,2,3] => [3,2,1] => 0
[-,-,-] => [1,2,3] => [3,2,1] => 0
[+,3,2] => [1,2,3] => [3,2,1] => 0
[-,3,2] => [2,1,3] => [2,3,1] => 1
[2,1,+] => [1,3,2] => [3,1,2] => 1
[2,1,-] => [1,2,3] => [3,2,1] => 0
[2,3,1] => [1,2,3] => [3,2,1] => 0
[3,1,2] => [1,2,3] => [3,2,1] => 0
[3,+,1] => [2,1,3] => [2,3,1] => 1
[3,-,1] => [1,3,2] => [3,1,2] => 1
[+,+,+,+] => [1,2,3,4] => [4,3,2,1] => 0
[-,+,+,+] => [2,3,4,1] => [3,2,1,4] => 3
[+,-,+,+] => [1,3,4,2] => [4,2,1,3] => 2
[+,+,-,+] => [1,2,4,3] => [4,3,1,2] => 1
[+,+,+,-] => [1,2,3,4] => [4,3,2,1] => 0
[-,-,+,+] => [3,4,1,2] => [2,1,4,3] => 4
[-,+,-,+] => [2,4,1,3] => [3,1,4,2] => 3
[-,+,+,-] => [2,3,1,4] => [3,2,4,1] => 2
[+,-,-,+] => [1,4,2,3] => [4,1,3,2] => 2
[+,-,+,-] => [1,3,2,4] => [4,2,3,1] => 1
[+,+,-,-] => [1,2,3,4] => [4,3,2,1] => 0
[-,-,-,+] => [4,1,2,3] => [1,4,3,2] => 3
[-,-,+,-] => [3,1,2,4] => [2,4,3,1] => 2
[-,+,-,-] => [2,1,3,4] => [3,4,2,1] => 1
[+,-,-,-] => [1,2,3,4] => [4,3,2,1] => 0
[-,-,-,-] => [1,2,3,4] => [4,3,2,1] => 0
[+,+,4,3] => [1,2,3,4] => [4,3,2,1] => 0
[-,+,4,3] => [2,3,1,4] => [3,2,4,1] => 2
[+,-,4,3] => [1,3,2,4] => [4,2,3,1] => 1
[-,-,4,3] => [3,1,2,4] => [2,4,3,1] => 2
[+,3,2,+] => [1,2,4,3] => [4,3,1,2] => 1
[-,3,2,+] => [2,4,1,3] => [3,1,4,2] => 3
[+,3,2,-] => [1,2,3,4] => [4,3,2,1] => 0
[-,3,2,-] => [2,1,3,4] => [3,4,2,1] => 1
[+,3,4,2] => [1,2,3,4] => [4,3,2,1] => 0
[-,3,4,2] => [2,1,3,4] => [3,4,2,1] => 1
[+,4,2,3] => [1,2,3,4] => [4,3,2,1] => 0
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: St001397
Mp00255: Decorated permutations lower permutationPermutations
Mp00065: Permutations permutation posetPosets
St001397: Posets ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => ([],1)
=> 0
[-] => [1] => ([],1)
=> 0
[+,+] => [1,2] => ([(0,1)],2)
=> 0
[-,+] => [2,1] => ([],2)
=> 1
[+,-] => [1,2] => ([(0,1)],2)
=> 0
[-,-] => [1,2] => ([(0,1)],2)
=> 0
[2,1] => [1,2] => ([(0,1)],2)
=> 0
[+,+,+] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[-,+,+] => [2,3,1] => ([(1,2)],3)
=> 2
[+,-,+] => [1,3,2] => ([(0,1),(0,2)],3)
=> 1
[+,+,-] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[-,-,+] => [3,1,2] => ([(1,2)],3)
=> 2
[-,+,-] => [2,1,3] => ([(0,2),(1,2)],3)
=> 1
[+,-,-] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[-,-,-] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[+,3,2] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[-,3,2] => [2,1,3] => ([(0,2),(1,2)],3)
=> 1
[2,1,+] => [1,3,2] => ([(0,1),(0,2)],3)
=> 1
[2,1,-] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[2,3,1] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[3,1,2] => [1,2,3] => ([(0,2),(2,1)],3)
=> 0
[3,+,1] => [2,1,3] => ([(0,2),(1,2)],3)
=> 1
[3,-,1] => [1,3,2] => ([(0,1),(0,2)],3)
=> 1
[+,+,+,+] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,+,+,+] => [2,3,4,1] => ([(1,2),(2,3)],4)
=> 3
[+,-,+,+] => [1,3,4,2] => ([(0,2),(0,3),(3,1)],4)
=> 2
[+,+,-,+] => [1,2,4,3] => ([(0,3),(3,1),(3,2)],4)
=> 1
[+,+,+,-] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,-,+,+] => [3,4,1,2] => ([(0,3),(1,2)],4)
=> 4
[-,+,-,+] => [2,4,1,3] => ([(0,3),(1,2),(1,3)],4)
=> 3
[-,+,+,-] => [2,3,1,4] => ([(0,3),(1,2),(2,3)],4)
=> 2
[+,-,-,+] => [1,4,2,3] => ([(0,2),(0,3),(3,1)],4)
=> 2
[+,-,+,-] => [1,3,2,4] => ([(0,1),(0,2),(1,3),(2,3)],4)
=> 1
[+,+,-,-] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,-,-,+] => [4,1,2,3] => ([(1,2),(2,3)],4)
=> 3
[-,-,+,-] => [3,1,2,4] => ([(0,3),(1,2),(2,3)],4)
=> 2
[-,+,-,-] => [2,1,3,4] => ([(0,3),(1,3),(3,2)],4)
=> 1
[+,-,-,-] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,-,-,-] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[+,+,4,3] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,+,4,3] => [2,3,1,4] => ([(0,3),(1,2),(2,3)],4)
=> 2
[+,-,4,3] => [1,3,2,4] => ([(0,1),(0,2),(1,3),(2,3)],4)
=> 1
[-,-,4,3] => [3,1,2,4] => ([(0,3),(1,2),(2,3)],4)
=> 2
[+,3,2,+] => [1,2,4,3] => ([(0,3),(3,1),(3,2)],4)
=> 1
[-,3,2,+] => [2,4,1,3] => ([(0,3),(1,2),(1,3)],4)
=> 3
[+,3,2,-] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,3,2,-] => [2,1,3,4] => ([(0,3),(1,3),(3,2)],4)
=> 1
[+,3,4,2] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
[-,3,4,2] => [2,1,3,4] => ([(0,3),(1,3),(3,2)],4)
=> 1
[+,4,2,3] => [1,2,3,4] => ([(0,3),(2,1),(3,2)],4)
=> 0
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$.
Mp00255: Decorated permutations lower permutationPermutations
Mp00175: Permutations inverse Foata bijectionPermutations
Mp00071: Permutations descent compositionInteger compositions
St000008: Integer compositions ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => [1] => [1] => 0
[-] => [1] => [1] => [1] => 0
[+,+] => [1,2] => [1,2] => [2] => 0
[-,+] => [2,1] => [2,1] => [1,1] => 1
[+,-] => [1,2] => [1,2] => [2] => 0
[-,-] => [1,2] => [1,2] => [2] => 0
[2,1] => [1,2] => [1,2] => [2] => 0
[+,+,+] => [1,2,3] => [1,2,3] => [3] => 0
[-,+,+] => [2,3,1] => [2,3,1] => [2,1] => 2
[+,-,+] => [1,3,2] => [3,1,2] => [1,2] => 1
[+,+,-] => [1,2,3] => [1,2,3] => [3] => 0
[-,-,+] => [3,1,2] => [1,3,2] => [2,1] => 2
[-,+,-] => [2,1,3] => [2,1,3] => [1,2] => 1
[+,-,-] => [1,2,3] => [1,2,3] => [3] => 0
[-,-,-] => [1,2,3] => [1,2,3] => [3] => 0
[+,3,2] => [1,2,3] => [1,2,3] => [3] => 0
[-,3,2] => [2,1,3] => [2,1,3] => [1,2] => 1
[2,1,+] => [1,3,2] => [3,1,2] => [1,2] => 1
[2,1,-] => [1,2,3] => [1,2,3] => [3] => 0
[2,3,1] => [1,2,3] => [1,2,3] => [3] => 0
[3,1,2] => [1,2,3] => [1,2,3] => [3] => 0
[3,+,1] => [2,1,3] => [2,1,3] => [1,2] => 1
[3,-,1] => [1,3,2] => [3,1,2] => [1,2] => 1
[+,+,+,+] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,+,+,+] => [2,3,4,1] => [2,3,4,1] => [3,1] => 3
[+,-,+,+] => [1,3,4,2] => [3,4,1,2] => [2,2] => 2
[+,+,-,+] => [1,2,4,3] => [4,1,2,3] => [1,3] => 1
[+,+,+,-] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,-,+,+] => [3,4,1,2] => [3,1,4,2] => [1,2,1] => 4
[-,+,-,+] => [2,4,1,3] => [4,2,1,3] => [1,1,2] => 3
[-,+,+,-] => [2,3,1,4] => [2,3,1,4] => [2,2] => 2
[+,-,-,+] => [1,4,2,3] => [1,4,2,3] => [2,2] => 2
[+,-,+,-] => [1,3,2,4] => [3,1,2,4] => [1,3] => 1
[+,+,-,-] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,-,-,+] => [4,1,2,3] => [1,2,4,3] => [3,1] => 3
[-,-,+,-] => [3,1,2,4] => [1,3,2,4] => [2,2] => 2
[-,+,-,-] => [2,1,3,4] => [2,1,3,4] => [1,3] => 1
[+,-,-,-] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,-,-,-] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[+,+,4,3] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,+,4,3] => [2,3,1,4] => [2,3,1,4] => [2,2] => 2
[+,-,4,3] => [1,3,2,4] => [3,1,2,4] => [1,3] => 1
[-,-,4,3] => [3,1,2,4] => [1,3,2,4] => [2,2] => 2
[+,3,2,+] => [1,2,4,3] => [4,1,2,3] => [1,3] => 1
[-,3,2,+] => [2,4,1,3] => [4,2,1,3] => [1,1,2] => 3
[+,3,2,-] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,3,2,-] => [2,1,3,4] => [2,1,3,4] => [1,3] => 1
[+,3,4,2] => [1,2,3,4] => [1,2,3,4] => [4] => 0
[-,3,4,2] => [2,1,3,4] => [2,1,3,4] => [1,3] => 1
[+,4,2,3] => [1,2,3,4] => [1,2,3,4] => [4] => 0
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]].
Mp00255: Decorated permutations lower permutationPermutations
Mp00175: Permutations inverse Foata bijectionPermutations
Mp00066: Permutations inversePermutations
St000305: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => [1] => [1] => 0
[-] => [1] => [1] => [1] => 0
[+,+] => [1,2] => [1,2] => [1,2] => 0
[-,+] => [2,1] => [2,1] => [2,1] => 1
[+,-] => [1,2] => [1,2] => [1,2] => 0
[-,-] => [1,2] => [1,2] => [1,2] => 0
[2,1] => [1,2] => [1,2] => [1,2] => 0
[+,+,+] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[-,+,+] => [2,3,1] => [2,3,1] => [3,1,2] => 2
[+,-,+] => [1,3,2] => [3,1,2] => [2,3,1] => 1
[+,+,-] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[-,-,+] => [3,1,2] => [1,3,2] => [1,3,2] => 2
[-,+,-] => [2,1,3] => [2,1,3] => [2,1,3] => 1
[+,-,-] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[-,-,-] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[+,3,2] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[-,3,2] => [2,1,3] => [2,1,3] => [2,1,3] => 1
[2,1,+] => [1,3,2] => [3,1,2] => [2,3,1] => 1
[2,1,-] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[2,3,1] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[3,1,2] => [1,2,3] => [1,2,3] => [1,2,3] => 0
[3,+,1] => [2,1,3] => [2,1,3] => [2,1,3] => 1
[3,-,1] => [1,3,2] => [3,1,2] => [2,3,1] => 1
[+,+,+,+] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,+,+,+] => [2,3,4,1] => [2,3,4,1] => [4,1,2,3] => 3
[+,-,+,+] => [1,3,4,2] => [3,4,1,2] => [3,4,1,2] => 2
[+,+,-,+] => [1,2,4,3] => [4,1,2,3] => [2,3,4,1] => 1
[+,+,+,-] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,+,+] => [3,4,1,2] => [3,1,4,2] => [2,4,1,3] => 4
[-,+,-,+] => [2,4,1,3] => [4,2,1,3] => [3,2,4,1] => 3
[-,+,+,-] => [2,3,1,4] => [2,3,1,4] => [3,1,2,4] => 2
[+,-,-,+] => [1,4,2,3] => [1,4,2,3] => [1,3,4,2] => 2
[+,-,+,-] => [1,3,2,4] => [3,1,2,4] => [2,3,1,4] => 1
[+,+,-,-] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,-,+] => [4,1,2,3] => [1,2,4,3] => [1,2,4,3] => 3
[-,-,+,-] => [3,1,2,4] => [1,3,2,4] => [1,3,2,4] => 2
[-,+,-,-] => [2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1
[+,-,-,-] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,-,-,-] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[+,+,4,3] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,+,4,3] => [2,3,1,4] => [2,3,1,4] => [3,1,2,4] => 2
[+,-,4,3] => [1,3,2,4] => [3,1,2,4] => [2,3,1,4] => 1
[-,-,4,3] => [3,1,2,4] => [1,3,2,4] => [1,3,2,4] => 2
[+,3,2,+] => [1,2,4,3] => [4,1,2,3] => [2,3,4,1] => 1
[-,3,2,+] => [2,4,1,3] => [4,2,1,3] => [3,2,4,1] => 3
[+,3,2,-] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,3,2,-] => [2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1
[+,3,4,2] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[-,3,4,2] => [2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1
[+,4,2,3] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
Description
The inverse major index of a permutation. This is the major index [[St000004]] of the inverse permutation [[Mp00066]].
Matching statistic: St000330
Mp00255: Decorated permutations lower permutationPermutations
Mp00175: Permutations inverse Foata bijectionPermutations
Mp00070: Permutations Robinson-Schensted recording tableauStandard tableaux
St000330: Standard tableaux ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => [1] => [[1]]
=> 0
[-] => [1] => [1] => [[1]]
=> 0
[+,+] => [1,2] => [1,2] => [[1,2]]
=> 0
[-,+] => [2,1] => [2,1] => [[1],[2]]
=> 1
[+,-] => [1,2] => [1,2] => [[1,2]]
=> 0
[-,-] => [1,2] => [1,2] => [[1,2]]
=> 0
[2,1] => [1,2] => [1,2] => [[1,2]]
=> 0
[+,+,+] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[-,+,+] => [2,3,1] => [2,3,1] => [[1,2],[3]]
=> 2
[+,-,+] => [1,3,2] => [3,1,2] => [[1,3],[2]]
=> 1
[+,+,-] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[-,-,+] => [3,1,2] => [1,3,2] => [[1,2],[3]]
=> 2
[-,+,-] => [2,1,3] => [2,1,3] => [[1,3],[2]]
=> 1
[+,-,-] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[-,-,-] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[+,3,2] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[-,3,2] => [2,1,3] => [2,1,3] => [[1,3],[2]]
=> 1
[2,1,+] => [1,3,2] => [3,1,2] => [[1,3],[2]]
=> 1
[2,1,-] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[2,3,1] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[3,1,2] => [1,2,3] => [1,2,3] => [[1,2,3]]
=> 0
[3,+,1] => [2,1,3] => [2,1,3] => [[1,3],[2]]
=> 1
[3,-,1] => [1,3,2] => [3,1,2] => [[1,3],[2]]
=> 1
[+,+,+,+] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,+,+,+] => [2,3,4,1] => [2,3,4,1] => [[1,2,3],[4]]
=> 3
[+,-,+,+] => [1,3,4,2] => [3,4,1,2] => [[1,2],[3,4]]
=> 2
[+,+,-,+] => [1,2,4,3] => [4,1,2,3] => [[1,3,4],[2]]
=> 1
[+,+,+,-] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,-,+,+] => [3,4,1,2] => [3,1,4,2] => [[1,3],[2,4]]
=> 4
[-,+,-,+] => [2,4,1,3] => [4,2,1,3] => [[1,4],[2],[3]]
=> 3
[-,+,+,-] => [2,3,1,4] => [2,3,1,4] => [[1,2,4],[3]]
=> 2
[+,-,-,+] => [1,4,2,3] => [1,4,2,3] => [[1,2,4],[3]]
=> 2
[+,-,+,-] => [1,3,2,4] => [3,1,2,4] => [[1,3,4],[2]]
=> 1
[+,+,-,-] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,-,-,+] => [4,1,2,3] => [1,2,4,3] => [[1,2,3],[4]]
=> 3
[-,-,+,-] => [3,1,2,4] => [1,3,2,4] => [[1,2,4],[3]]
=> 2
[-,+,-,-] => [2,1,3,4] => [2,1,3,4] => [[1,3,4],[2]]
=> 1
[+,-,-,-] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,-,-,-] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[+,+,4,3] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,+,4,3] => [2,3,1,4] => [2,3,1,4] => [[1,2,4],[3]]
=> 2
[+,-,4,3] => [1,3,2,4] => [3,1,2,4] => [[1,3,4],[2]]
=> 1
[-,-,4,3] => [3,1,2,4] => [1,3,2,4] => [[1,2,4],[3]]
=> 2
[+,3,2,+] => [1,2,4,3] => [4,1,2,3] => [[1,3,4],[2]]
=> 1
[-,3,2,+] => [2,4,1,3] => [4,2,1,3] => [[1,4],[2],[3]]
=> 3
[+,3,2,-] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,3,2,-] => [2,1,3,4] => [2,1,3,4] => [[1,3,4],[2]]
=> 1
[+,3,4,2] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
[-,3,4,2] => [2,1,3,4] => [2,1,3,4] => [[1,3,4],[2]]
=> 1
[+,4,2,3] => [1,2,3,4] => [1,2,3,4] => [[1,2,3,4]]
=> 0
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.
Mp00255: Decorated permutations lower permutationPermutations
St001076: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[+] => [1] => ? ∊ {0,0}
[-] => [1] => ? ∊ {0,0}
[+,+] => [1,2] => 0
[-,+] => [2,1] => 1
[+,-] => [1,2] => 0
[-,-] => [1,2] => 0
[2,1] => [1,2] => 0
[+,+,+] => [1,2,3] => 0
[-,+,+] => [2,3,1] => 2
[+,-,+] => [1,3,2] => 1
[+,+,-] => [1,2,3] => 0
[-,-,+] => [3,1,2] => 2
[-,+,-] => [2,1,3] => 1
[+,-,-] => [1,2,3] => 0
[-,-,-] => [1,2,3] => 0
[+,3,2] => [1,2,3] => 0
[-,3,2] => [2,1,3] => 1
[2,1,+] => [1,3,2] => 1
[2,1,-] => [1,2,3] => 0
[2,3,1] => [1,2,3] => 0
[3,1,2] => [1,2,3] => 0
[3,+,1] => [2,1,3] => 1
[3,-,1] => [1,3,2] => 1
[+,+,+,+] => [1,2,3,4] => 0
[-,+,+,+] => [2,3,4,1] => 3
[+,-,+,+] => [1,3,4,2] => 2
[+,+,-,+] => [1,2,4,3] => 1
[+,+,+,-] => [1,2,3,4] => 0
[-,-,+,+] => [3,4,1,2] => 4
[-,+,-,+] => [2,4,1,3] => 3
[-,+,+,-] => [2,3,1,4] => 2
[+,-,-,+] => [1,4,2,3] => 2
[+,-,+,-] => [1,3,2,4] => 1
[+,+,-,-] => [1,2,3,4] => 0
[-,-,-,+] => [4,1,2,3] => 3
[-,-,+,-] => [3,1,2,4] => 2
[-,+,-,-] => [2,1,3,4] => 1
[+,-,-,-] => [1,2,3,4] => 0
[-,-,-,-] => [1,2,3,4] => 0
[+,+,4,3] => [1,2,3,4] => 0
[-,+,4,3] => [2,3,1,4] => 2
[+,-,4,3] => [1,3,2,4] => 1
[-,-,4,3] => [3,1,2,4] => 2
[+,3,2,+] => [1,2,4,3] => 1
[-,3,2,+] => [2,4,1,3] => 3
[+,3,2,-] => [1,2,3,4] => 0
[-,3,2,-] => [2,1,3,4] => 1
[+,3,4,2] => [1,2,3,4] => 0
[-,3,4,2] => [2,1,3,4] => 1
[+,4,2,3] => [1,2,3,4] => 0
[-,4,2,3] => [2,3,1,4] => 2
[+,4,+,2] => [1,3,2,4] => 1
Description
The minimal length of a factorization of a permutation into transpositions that are cyclic shifts of (12). In symbols, for a permutation $\pi$ this is $$\min\{ k \mid \pi = \tau_{i_1} \cdots \tau_{i_k}, 1 \leq i_1,\ldots,i_k \leq n\},$$ where $\tau_a = (a,a+1)$ for $1 \leq a \leq n$ and $n+1$ is identified with $1$. Put differently, this is the number of cyclically simple transpositions needed to sort a permutation.
The following 23 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000795The mad of a permutation. St000391The sum of the positions of the ones in a binary word. St000833The comajor index of a permutation. 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. St000777The number of distinct eigenvalues of the distance Laplacian of a connected graph. St000264The girth of a graph, which is not a tree. St000454The largest eigenvalue of a graph if it is integral. St001544The inversion number of the associated bounded affine permutation. St000259The diameter of a connected graph. St000260The radius of a connected graph. St000456The monochromatic index of a connected graph. St001624The breadth of a lattice. St001877Number of indecomposable injective modules with projective dimension 2. St001330The hat guessing number of a graph. St000771The largest multiplicity of a distance Laplacian eigenvalue in a connected graph. St000772The multiplicity of the largest distance Laplacian eigenvalue in a connected graph. St001491The number of indecomposable projective-injective modules in the algebra corresponding to a subset. St001772The number of occurrences of the signed pattern 12 in a signed permutation. St001433The flag major index of a signed permutation. St001821The sorting 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.