Your data matches 21 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St000446: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 0
[1,2] => 0
[2,1] => 1
[1,2,3] => 0
[1,3,2] => 1
[2,1,3] => 2
[2,3,1] => 2
[3,1,2] => 1
[3,2,1] => 3
[1,2,3,4] => 0
[1,2,4,3] => 1
[1,3,2,4] => 2
[1,3,4,2] => 2
[1,4,2,3] => 1
[1,4,3,2] => 3
[2,1,3,4] => 3
[2,1,4,3] => 4
[2,3,1,4] => 3
[2,3,4,1] => 3
[2,4,1,3] => 4
[2,4,3,1] => 4
[3,1,2,4] => 2
[3,1,4,2] => 2
[3,2,1,4] => 5
[3,2,4,1] => 5
[3,4,1,2] => 2
[3,4,2,1] => 5
[4,1,2,3] => 1
[4,1,3,2] => 3
[4,2,1,3] => 4
[4,2,3,1] => 4
[4,3,1,2] => 3
[4,3,2,1] => 6
[1,2,3,4,5] => 0
[1,2,3,5,4] => 1
[1,2,4,3,5] => 2
[1,2,4,5,3] => 2
[1,2,5,3,4] => 1
[1,2,5,4,3] => 3
[1,3,2,4,5] => 3
[1,3,2,5,4] => 4
[1,3,4,2,5] => 3
[1,3,4,5,2] => 3
[1,3,5,2,4] => 4
[1,3,5,4,2] => 4
[1,4,2,3,5] => 2
[1,4,2,5,3] => 2
[1,4,3,2,5] => 5
[1,4,3,5,2] => 5
[1,4,5,2,3] => 2
Description
The disorder of a permutation. Consider a permutation $\pi = [\pi_1,\ldots,\pi_n]$ and cyclically scanning $\pi$ from left to right and remove the elements $1$ through $n$ on this order one after the other. The '''disorder''' of $\pi$ is defined to be the number of times a position was not removed in this process. For example, the disorder of $[3,5,2,1,4]$ is $8$ since on the first scan, 3,5,2 and 4 are not removed, on the second, 3,5 and 4, and on the third and last scan, 5 is once again not removed.
Mp00059: Permutations Robinson-Schensted insertion tableauStandard tableaux
St000169: Standard tableaux ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [[1]]
=> 0
[1,2] => [[1,2]]
=> 0
[2,1] => [[1],[2]]
=> 1
[1,2,3] => [[1,2,3]]
=> 0
[1,3,2] => [[1,2],[3]]
=> 1
[2,1,3] => [[1,3],[2]]
=> 2
[2,3,1] => [[1,3],[2]]
=> 2
[3,1,2] => [[1,2],[3]]
=> 1
[3,2,1] => [[1],[2],[3]]
=> 3
[1,2,3,4] => [[1,2,3,4]]
=> 0
[1,2,4,3] => [[1,2,3],[4]]
=> 1
[1,3,2,4] => [[1,2,4],[3]]
=> 2
[1,3,4,2] => [[1,2,4],[3]]
=> 2
[1,4,2,3] => [[1,2,3],[4]]
=> 1
[1,4,3,2] => [[1,2],[3],[4]]
=> 3
[2,1,3,4] => [[1,3,4],[2]]
=> 3
[2,1,4,3] => [[1,3],[2,4]]
=> 4
[2,3,1,4] => [[1,3,4],[2]]
=> 3
[2,3,4,1] => [[1,3,4],[2]]
=> 3
[2,4,1,3] => [[1,3],[2,4]]
=> 4
[2,4,3,1] => [[1,3],[2],[4]]
=> 4
[3,1,2,4] => [[1,2,4],[3]]
=> 2
[3,1,4,2] => [[1,2],[3,4]]
=> 2
[3,2,1,4] => [[1,4],[2],[3]]
=> 5
[3,2,4,1] => [[1,4],[2],[3]]
=> 5
[3,4,1,2] => [[1,2],[3,4]]
=> 2
[3,4,2,1] => [[1,4],[2],[3]]
=> 5
[4,1,2,3] => [[1,2,3],[4]]
=> 1
[4,1,3,2] => [[1,2],[3],[4]]
=> 3
[4,2,1,3] => [[1,3],[2],[4]]
=> 4
[4,2,3,1] => [[1,3],[2],[4]]
=> 4
[4,3,1,2] => [[1,2],[3],[4]]
=> 3
[4,3,2,1] => [[1],[2],[3],[4]]
=> 6
[1,2,3,4,5] => [[1,2,3,4,5]]
=> 0
[1,2,3,5,4] => [[1,2,3,4],[5]]
=> 1
[1,2,4,3,5] => [[1,2,3,5],[4]]
=> 2
[1,2,4,5,3] => [[1,2,3,5],[4]]
=> 2
[1,2,5,3,4] => [[1,2,3,4],[5]]
=> 1
[1,2,5,4,3] => [[1,2,3],[4],[5]]
=> 3
[1,3,2,4,5] => [[1,2,4,5],[3]]
=> 3
[1,3,2,5,4] => [[1,2,4],[3,5]]
=> 4
[1,3,4,2,5] => [[1,2,4,5],[3]]
=> 3
[1,3,4,5,2] => [[1,2,4,5],[3]]
=> 3
[1,3,5,2,4] => [[1,2,4],[3,5]]
=> 4
[1,3,5,4,2] => [[1,2,4],[3],[5]]
=> 4
[1,4,2,3,5] => [[1,2,3,5],[4]]
=> 2
[1,4,2,5,3] => [[1,2,3],[4,5]]
=> 2
[1,4,3,2,5] => [[1,2,5],[3],[4]]
=> 5
[1,4,3,5,2] => [[1,2,5],[3],[4]]
=> 5
[1,4,5,2,3] => [[1,2,3],[4,5]]
=> 2
Description
The cocharge of a standard tableau. The '''cocharge''' of a standard tableau $T$, denoted $\mathrm{cc}(T)$, is defined to be the cocharge of the reading word of the tableau. The cocharge of a permutation $w_1 w_2\cdots w_n$ can be computed by the following algorithm: 1) Starting from $w_n$, scan the entries right-to-left until finding the entry $1$ with a superscript $0$. 2) Continue scanning until the $2$ is found, and label this with a superscript $1$. Then scan until the $3$ is found, labeling with a $2$, and so on, incrementing the label each time, until the beginning of the word is reached. Then go back to the end and scan again from right to left, and *do not* increment the superscript label for the first number found in the next scan. Then continue scanning and labeling, each time incrementing the superscript only if we have not cycled around the word since the last labeling. 3) The cocharge is defined as the sum of the superscript labels on the letters.
Mp00059: Permutations Robinson-Schensted insertion tableauStandard tableaux
Mp00084: Standard tableaux conjugateStandard tableaux
St000009: Standard tableaux ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [[1]]
=> [[1]]
=> 0
[1,2] => [[1,2]]
=> [[1],[2]]
=> 0
[2,1] => [[1],[2]]
=> [[1,2]]
=> 1
[1,2,3] => [[1,2,3]]
=> [[1],[2],[3]]
=> 0
[1,3,2] => [[1,2],[3]]
=> [[1,3],[2]]
=> 1
[2,1,3] => [[1,3],[2]]
=> [[1,2],[3]]
=> 2
[2,3,1] => [[1,3],[2]]
=> [[1,2],[3]]
=> 2
[3,1,2] => [[1,2],[3]]
=> [[1,3],[2]]
=> 1
[3,2,1] => [[1],[2],[3]]
=> [[1,2,3]]
=> 3
[1,2,3,4] => [[1,2,3,4]]
=> [[1],[2],[3],[4]]
=> 0
[1,2,4,3] => [[1,2,3],[4]]
=> [[1,4],[2],[3]]
=> 1
[1,3,2,4] => [[1,2,4],[3]]
=> [[1,3],[2],[4]]
=> 2
[1,3,4,2] => [[1,2,4],[3]]
=> [[1,3],[2],[4]]
=> 2
[1,4,2,3] => [[1,2,3],[4]]
=> [[1,4],[2],[3]]
=> 1
[1,4,3,2] => [[1,2],[3],[4]]
=> [[1,3,4],[2]]
=> 3
[2,1,3,4] => [[1,3,4],[2]]
=> [[1,2],[3],[4]]
=> 3
[2,1,4,3] => [[1,3],[2,4]]
=> [[1,2],[3,4]]
=> 4
[2,3,1,4] => [[1,3,4],[2]]
=> [[1,2],[3],[4]]
=> 3
[2,3,4,1] => [[1,3,4],[2]]
=> [[1,2],[3],[4]]
=> 3
[2,4,1,3] => [[1,3],[2,4]]
=> [[1,2],[3,4]]
=> 4
[2,4,3,1] => [[1,3],[2],[4]]
=> [[1,2,4],[3]]
=> 4
[3,1,2,4] => [[1,2,4],[3]]
=> [[1,3],[2],[4]]
=> 2
[3,1,4,2] => [[1,2],[3,4]]
=> [[1,3],[2,4]]
=> 2
[3,2,1,4] => [[1,4],[2],[3]]
=> [[1,2,3],[4]]
=> 5
[3,2,4,1] => [[1,4],[2],[3]]
=> [[1,2,3],[4]]
=> 5
[3,4,1,2] => [[1,2],[3,4]]
=> [[1,3],[2,4]]
=> 2
[3,4,2,1] => [[1,4],[2],[3]]
=> [[1,2,3],[4]]
=> 5
[4,1,2,3] => [[1,2,3],[4]]
=> [[1,4],[2],[3]]
=> 1
[4,1,3,2] => [[1,2],[3],[4]]
=> [[1,3,4],[2]]
=> 3
[4,2,1,3] => [[1,3],[2],[4]]
=> [[1,2,4],[3]]
=> 4
[4,2,3,1] => [[1,3],[2],[4]]
=> [[1,2,4],[3]]
=> 4
[4,3,1,2] => [[1,2],[3],[4]]
=> [[1,3,4],[2]]
=> 3
[4,3,2,1] => [[1],[2],[3],[4]]
=> [[1,2,3,4]]
=> 6
[1,2,3,4,5] => [[1,2,3,4,5]]
=> [[1],[2],[3],[4],[5]]
=> 0
[1,2,3,5,4] => [[1,2,3,4],[5]]
=> [[1,5],[2],[3],[4]]
=> 1
[1,2,4,3,5] => [[1,2,3,5],[4]]
=> [[1,4],[2],[3],[5]]
=> 2
[1,2,4,5,3] => [[1,2,3,5],[4]]
=> [[1,4],[2],[3],[5]]
=> 2
[1,2,5,3,4] => [[1,2,3,4],[5]]
=> [[1,5],[2],[3],[4]]
=> 1
[1,2,5,4,3] => [[1,2,3],[4],[5]]
=> [[1,4,5],[2],[3]]
=> 3
[1,3,2,4,5] => [[1,2,4,5],[3]]
=> [[1,3],[2],[4],[5]]
=> 3
[1,3,2,5,4] => [[1,2,4],[3,5]]
=> [[1,3],[2,5],[4]]
=> 4
[1,3,4,2,5] => [[1,2,4,5],[3]]
=> [[1,3],[2],[4],[5]]
=> 3
[1,3,4,5,2] => [[1,2,4,5],[3]]
=> [[1,3],[2],[4],[5]]
=> 3
[1,3,5,2,4] => [[1,2,4],[3,5]]
=> [[1,3],[2,5],[4]]
=> 4
[1,3,5,4,2] => [[1,2,4],[3],[5]]
=> [[1,3,5],[2],[4]]
=> 4
[1,4,2,3,5] => [[1,2,3,5],[4]]
=> [[1,4],[2],[3],[5]]
=> 2
[1,4,2,5,3] => [[1,2,3],[4,5]]
=> [[1,4],[2,5],[3]]
=> 2
[1,4,3,2,5] => [[1,2,5],[3],[4]]
=> [[1,3,4],[2],[5]]
=> 5
[1,4,3,5,2] => [[1,2,5],[3],[4]]
=> [[1,3,4],[2],[5]]
=> 5
[1,4,5,2,3] => [[1,2,3],[4,5]]
=> [[1,4],[2,5],[3]]
=> 2
Description
The charge of a standard tableau.
Mp00059: Permutations Robinson-Schensted insertion tableauStandard tableaux
Mp00085: Standard tableaux Schützenberger involutionStandard 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,2] => [[1,2]]
=> [[1,2]]
=> 0
[2,1] => [[1],[2]]
=> [[1],[2]]
=> 1
[1,2,3] => [[1,2,3]]
=> [[1,2,3]]
=> 0
[1,3,2] => [[1,2],[3]]
=> [[1,3],[2]]
=> 1
[2,1,3] => [[1,3],[2]]
=> [[1,2],[3]]
=> 2
[2,3,1] => [[1,3],[2]]
=> [[1,2],[3]]
=> 2
[3,1,2] => [[1,2],[3]]
=> [[1,3],[2]]
=> 1
[3,2,1] => [[1],[2],[3]]
=> [[1],[2],[3]]
=> 3
[1,2,3,4] => [[1,2,3,4]]
=> [[1,2,3,4]]
=> 0
[1,2,4,3] => [[1,2,3],[4]]
=> [[1,3,4],[2]]
=> 1
[1,3,2,4] => [[1,2,4],[3]]
=> [[1,2,4],[3]]
=> 2
[1,3,4,2] => [[1,2,4],[3]]
=> [[1,2,4],[3]]
=> 2
[1,4,2,3] => [[1,2,3],[4]]
=> [[1,3,4],[2]]
=> 1
[1,4,3,2] => [[1,2],[3],[4]]
=> [[1,4],[2],[3]]
=> 3
[2,1,3,4] => [[1,3,4],[2]]
=> [[1,2,3],[4]]
=> 3
[2,1,4,3] => [[1,3],[2,4]]
=> [[1,3],[2,4]]
=> 4
[2,3,1,4] => [[1,3,4],[2]]
=> [[1,2,3],[4]]
=> 3
[2,3,4,1] => [[1,3,4],[2]]
=> [[1,2,3],[4]]
=> 3
[2,4,1,3] => [[1,3],[2,4]]
=> [[1,3],[2,4]]
=> 4
[2,4,3,1] => [[1,3],[2],[4]]
=> [[1,3],[2],[4]]
=> 4
[3,1,2,4] => [[1,2,4],[3]]
=> [[1,2,4],[3]]
=> 2
[3,1,4,2] => [[1,2],[3,4]]
=> [[1,2],[3,4]]
=> 2
[3,2,1,4] => [[1,4],[2],[3]]
=> [[1,2],[3],[4]]
=> 5
[3,2,4,1] => [[1,4],[2],[3]]
=> [[1,2],[3],[4]]
=> 5
[3,4,1,2] => [[1,2],[3,4]]
=> [[1,2],[3,4]]
=> 2
[3,4,2,1] => [[1,4],[2],[3]]
=> [[1,2],[3],[4]]
=> 5
[4,1,2,3] => [[1,2,3],[4]]
=> [[1,3,4],[2]]
=> 1
[4,1,3,2] => [[1,2],[3],[4]]
=> [[1,4],[2],[3]]
=> 3
[4,2,1,3] => [[1,3],[2],[4]]
=> [[1,3],[2],[4]]
=> 4
[4,2,3,1] => [[1,3],[2],[4]]
=> [[1,3],[2],[4]]
=> 4
[4,3,1,2] => [[1,2],[3],[4]]
=> [[1,4],[2],[3]]
=> 3
[4,3,2,1] => [[1],[2],[3],[4]]
=> [[1],[2],[3],[4]]
=> 6
[1,2,3,4,5] => [[1,2,3,4,5]]
=> [[1,2,3,4,5]]
=> 0
[1,2,3,5,4] => [[1,2,3,4],[5]]
=> [[1,3,4,5],[2]]
=> 1
[1,2,4,3,5] => [[1,2,3,5],[4]]
=> [[1,2,4,5],[3]]
=> 2
[1,2,4,5,3] => [[1,2,3,5],[4]]
=> [[1,2,4,5],[3]]
=> 2
[1,2,5,3,4] => [[1,2,3,4],[5]]
=> [[1,3,4,5],[2]]
=> 1
[1,2,5,4,3] => [[1,2,3],[4],[5]]
=> [[1,4,5],[2],[3]]
=> 3
[1,3,2,4,5] => [[1,2,4,5],[3]]
=> [[1,2,3,5],[4]]
=> 3
[1,3,2,5,4] => [[1,2,4],[3,5]]
=> [[1,3,5],[2,4]]
=> 4
[1,3,4,2,5] => [[1,2,4,5],[3]]
=> [[1,2,3,5],[4]]
=> 3
[1,3,4,5,2] => [[1,2,4,5],[3]]
=> [[1,2,3,5],[4]]
=> 3
[1,3,5,2,4] => [[1,2,4],[3,5]]
=> [[1,3,5],[2,4]]
=> 4
[1,3,5,4,2] => [[1,2,4],[3],[5]]
=> [[1,3,5],[2],[4]]
=> 4
[1,4,2,3,5] => [[1,2,3,5],[4]]
=> [[1,2,4,5],[3]]
=> 2
[1,4,2,5,3] => [[1,2,3],[4,5]]
=> [[1,2,5],[3,4]]
=> 2
[1,4,3,2,5] => [[1,2,5],[3],[4]]
=> [[1,2,5],[3],[4]]
=> 5
[1,4,3,5,2] => [[1,2,5],[3],[4]]
=> [[1,2,5],[3],[4]]
=> 5
[1,4,5,2,3] => [[1,2,3],[4,5]]
=> [[1,2,5],[3,4]]
=> 2
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: St000008
Mp00066: Permutations inversePermutations
Mp00071: Permutations descent compositionInteger compositions
Mp00038: Integer compositions reverseInteger compositions
St000008: Integer compositions ⟶ ℤ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] => [2] => 0
[2,1] => [2,1] => [1,1] => [1,1] => 1
[1,2,3] => [1,2,3] => [3] => [3] => 0
[1,3,2] => [1,3,2] => [2,1] => [1,2] => 1
[2,1,3] => [2,1,3] => [1,2] => [2,1] => 2
[2,3,1] => [3,1,2] => [1,2] => [2,1] => 2
[3,1,2] => [2,3,1] => [2,1] => [1,2] => 1
[3,2,1] => [3,2,1] => [1,1,1] => [1,1,1] => 3
[1,2,3,4] => [1,2,3,4] => [4] => [4] => 0
[1,2,4,3] => [1,2,4,3] => [3,1] => [1,3] => 1
[1,3,2,4] => [1,3,2,4] => [2,2] => [2,2] => 2
[1,3,4,2] => [1,4,2,3] => [2,2] => [2,2] => 2
[1,4,2,3] => [1,3,4,2] => [3,1] => [1,3] => 1
[1,4,3,2] => [1,4,3,2] => [2,1,1] => [1,1,2] => 3
[2,1,3,4] => [2,1,3,4] => [1,3] => [3,1] => 3
[2,1,4,3] => [2,1,4,3] => [1,2,1] => [1,2,1] => 4
[2,3,1,4] => [3,1,2,4] => [1,3] => [3,1] => 3
[2,3,4,1] => [4,1,2,3] => [1,3] => [3,1] => 3
[2,4,1,3] => [3,1,4,2] => [1,2,1] => [1,2,1] => 4
[2,4,3,1] => [4,1,3,2] => [1,2,1] => [1,2,1] => 4
[3,1,2,4] => [2,3,1,4] => [2,2] => [2,2] => 2
[3,1,4,2] => [2,4,1,3] => [2,2] => [2,2] => 2
[3,2,1,4] => [3,2,1,4] => [1,1,2] => [2,1,1] => 5
[3,2,4,1] => [4,2,1,3] => [1,1,2] => [2,1,1] => 5
[3,4,1,2] => [3,4,1,2] => [2,2] => [2,2] => 2
[3,4,2,1] => [4,3,1,2] => [1,1,2] => [2,1,1] => 5
[4,1,2,3] => [2,3,4,1] => [3,1] => [1,3] => 1
[4,1,3,2] => [2,4,3,1] => [2,1,1] => [1,1,2] => 3
[4,2,1,3] => [3,2,4,1] => [1,2,1] => [1,2,1] => 4
[4,2,3,1] => [4,2,3,1] => [1,2,1] => [1,2,1] => 4
[4,3,1,2] => [3,4,2,1] => [2,1,1] => [1,1,2] => 3
[4,3,2,1] => [4,3,2,1] => [1,1,1,1] => [1,1,1,1] => 6
[1,2,3,4,5] => [1,2,3,4,5] => [5] => [5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [4,1] => [1,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [3,2] => [2,3] => 2
[1,2,4,5,3] => [1,2,5,3,4] => [3,2] => [2,3] => 2
[1,2,5,3,4] => [1,2,4,5,3] => [4,1] => [1,4] => 1
[1,2,5,4,3] => [1,2,5,4,3] => [3,1,1] => [1,1,3] => 3
[1,3,2,4,5] => [1,3,2,4,5] => [2,3] => [3,2] => 3
[1,3,2,5,4] => [1,3,2,5,4] => [2,2,1] => [1,2,2] => 4
[1,3,4,2,5] => [1,4,2,3,5] => [2,3] => [3,2] => 3
[1,3,4,5,2] => [1,5,2,3,4] => [2,3] => [3,2] => 3
[1,3,5,2,4] => [1,4,2,5,3] => [2,2,1] => [1,2,2] => 4
[1,3,5,4,2] => [1,5,2,4,3] => [2,2,1] => [1,2,2] => 4
[1,4,2,3,5] => [1,3,4,2,5] => [3,2] => [2,3] => 2
[1,4,2,5,3] => [1,3,5,2,4] => [3,2] => [2,3] => 2
[1,4,3,2,5] => [1,4,3,2,5] => [2,1,2] => [2,1,2] => 5
[1,4,3,5,2] => [1,5,3,2,4] => [2,1,2] => [2,1,2] => 5
[1,4,5,2,3] => [1,4,5,2,3] => [3,2] => [2,3] => 2
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
Mp00066: Permutations inversePermutations
Mp00109: Permutations descent wordBinary words
Mp00104: Binary words reverseBinary words
St000391: Binary words ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => => => ? = 0
[1,2] => [1,2] => 0 => 0 => 0
[2,1] => [2,1] => 1 => 1 => 1
[1,2,3] => [1,2,3] => 00 => 00 => 0
[1,3,2] => [1,3,2] => 01 => 10 => 1
[2,1,3] => [2,1,3] => 10 => 01 => 2
[2,3,1] => [3,1,2] => 10 => 01 => 2
[3,1,2] => [2,3,1] => 01 => 10 => 1
[3,2,1] => [3,2,1] => 11 => 11 => 3
[1,2,3,4] => [1,2,3,4] => 000 => 000 => 0
[1,2,4,3] => [1,2,4,3] => 001 => 100 => 1
[1,3,2,4] => [1,3,2,4] => 010 => 010 => 2
[1,3,4,2] => [1,4,2,3] => 010 => 010 => 2
[1,4,2,3] => [1,3,4,2] => 001 => 100 => 1
[1,4,3,2] => [1,4,3,2] => 011 => 110 => 3
[2,1,3,4] => [2,1,3,4] => 100 => 001 => 3
[2,1,4,3] => [2,1,4,3] => 101 => 101 => 4
[2,3,1,4] => [3,1,2,4] => 100 => 001 => 3
[2,3,4,1] => [4,1,2,3] => 100 => 001 => 3
[2,4,1,3] => [3,1,4,2] => 101 => 101 => 4
[2,4,3,1] => [4,1,3,2] => 101 => 101 => 4
[3,1,2,4] => [2,3,1,4] => 010 => 010 => 2
[3,1,4,2] => [2,4,1,3] => 010 => 010 => 2
[3,2,1,4] => [3,2,1,4] => 110 => 011 => 5
[3,2,4,1] => [4,2,1,3] => 110 => 011 => 5
[3,4,1,2] => [3,4,1,2] => 010 => 010 => 2
[3,4,2,1] => [4,3,1,2] => 110 => 011 => 5
[4,1,2,3] => [2,3,4,1] => 001 => 100 => 1
[4,1,3,2] => [2,4,3,1] => 011 => 110 => 3
[4,2,1,3] => [3,2,4,1] => 101 => 101 => 4
[4,2,3,1] => [4,2,3,1] => 101 => 101 => 4
[4,3,1,2] => [3,4,2,1] => 011 => 110 => 3
[4,3,2,1] => [4,3,2,1] => 111 => 111 => 6
[1,2,3,4,5] => [1,2,3,4,5] => 0000 => 0000 => 0
[1,2,3,5,4] => [1,2,3,5,4] => 0001 => 1000 => 1
[1,2,4,3,5] => [1,2,4,3,5] => 0010 => 0100 => 2
[1,2,4,5,3] => [1,2,5,3,4] => 0010 => 0100 => 2
[1,2,5,3,4] => [1,2,4,5,3] => 0001 => 1000 => 1
[1,2,5,4,3] => [1,2,5,4,3] => 0011 => 1100 => 3
[1,3,2,4,5] => [1,3,2,4,5] => 0100 => 0010 => 3
[1,3,2,5,4] => [1,3,2,5,4] => 0101 => 1010 => 4
[1,3,4,2,5] => [1,4,2,3,5] => 0100 => 0010 => 3
[1,3,4,5,2] => [1,5,2,3,4] => 0100 => 0010 => 3
[1,3,5,2,4] => [1,4,2,5,3] => 0101 => 1010 => 4
[1,3,5,4,2] => [1,5,2,4,3] => 0101 => 1010 => 4
[1,4,2,3,5] => [1,3,4,2,5] => 0010 => 0100 => 2
[1,4,2,5,3] => [1,3,5,2,4] => 0010 => 0100 => 2
[1,4,3,2,5] => [1,4,3,2,5] => 0110 => 0110 => 5
[1,4,3,5,2] => [1,5,3,2,4] => 0110 => 0110 => 5
[1,4,5,2,3] => [1,4,5,2,3] => 0010 => 0100 => 2
[1,4,5,3,2] => [1,5,4,2,3] => 0110 => 0110 => 5
Description
The sum of the positions of the ones in a binary word.
Matching statistic: St000577
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00020: Binary trees to Tamari-corresponding Dyck pathDyck paths
Mp00138: Dyck paths to noncrossing partitionSet partitions
St000577: Set partitions ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1,0]
=> {{1}}
=> ? = 0
[1,2] => [.,[.,.]]
=> [1,1,0,0]
=> {{1,2}}
=> 0
[2,1] => [[.,.],.]
=> [1,0,1,0]
=> {{1},{2}}
=> 1
[1,2,3] => [.,[.,[.,.]]]
=> [1,1,1,0,0,0]
=> {{1,2,3}}
=> 0
[1,3,2] => [.,[[.,.],.]]
=> [1,1,0,1,0,0]
=> {{1,3},{2}}
=> 1
[2,1,3] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 2
[2,3,1] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> {{1},{2,3}}
=> 2
[3,1,2] => [[.,[.,.]],.]
=> [1,1,0,0,1,0]
=> {{1,2},{3}}
=> 1
[3,2,1] => [[[.,.],.],.]
=> [1,0,1,0,1,0]
=> {{1},{2},{3}}
=> 3
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [1,1,1,1,0,0,0,0]
=> {{1,2,3,4}}
=> 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [1,1,1,0,1,0,0,0]
=> {{1,2,4},{3}}
=> 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> {{1,3,4},{2}}
=> 2
[1,3,4,2] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> {{1,3,4},{2}}
=> 2
[1,4,2,3] => [.,[[.,[.,.]],.]]
=> [1,1,1,0,0,1,0,0]
=> {{1,4},{2,3}}
=> 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [1,1,0,1,0,1,0,0]
=> {{1,4},{2},{3}}
=> 3
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> {{1},{2,3,4}}
=> 3
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> {{1},{2,4},{3}}
=> 4
[2,3,1,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> {{1},{2,3,4}}
=> 3
[2,3,4,1] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> {{1},{2,3,4}}
=> 3
[2,4,1,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> {{1},{2,4},{3}}
=> 4
[2,4,3,1] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> {{1},{2,4},{3}}
=> 4
[3,1,2,4] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> {{1,2},{3,4}}
=> 2
[3,1,4,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> {{1,2},{3,4}}
=> 2
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 5
[3,2,4,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 5
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> {{1,2},{3,4}}
=> 2
[3,4,2,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> {{1},{2},{3,4}}
=> 5
[4,1,2,3] => [[.,[.,[.,.]]],.]
=> [1,1,1,0,0,0,1,0]
=> {{1,2,3},{4}}
=> 1
[4,1,3,2] => [[.,[[.,.],.]],.]
=> [1,1,0,1,0,0,1,0]
=> {{1,3},{2},{4}}
=> 3
[4,2,1,3] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> {{1},{2,3},{4}}
=> 4
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> {{1},{2,3},{4}}
=> 4
[4,3,1,2] => [[[.,[.,.]],.],.]
=> [1,1,0,0,1,0,1,0]
=> {{1,2},{3},{4}}
=> 3
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,0,1,0,1,0,1,0]
=> {{1},{2},{3},{4}}
=> 6
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [1,1,1,1,1,0,0,0,0,0]
=> {{1,2,3,4,5}}
=> 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [1,1,1,1,0,1,0,0,0,0]
=> {{1,2,3,5},{4}}
=> 1
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> {{1,2,4,5},{3}}
=> 2
[1,2,4,5,3] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> {{1,2,4,5},{3}}
=> 2
[1,2,5,3,4] => [.,[.,[[.,[.,.]],.]]]
=> [1,1,1,1,0,0,1,0,0,0]
=> {{1,2,5},{3,4}}
=> 1
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [1,1,1,0,1,0,1,0,0,0]
=> {{1,2,5},{3},{4}}
=> 3
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> {{1,3,4,5},{2}}
=> 3
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> {{1,3,5},{2},{4}}
=> 4
[1,3,4,2,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> {{1,3,4,5},{2}}
=> 3
[1,3,4,5,2] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> {{1,3,4,5},{2}}
=> 3
[1,3,5,2,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> {{1,3,5},{2},{4}}
=> 4
[1,3,5,4,2] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> {{1,3,5},{2},{4}}
=> 4
[1,4,2,3,5] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> {{1,4,5},{2,3}}
=> 2
[1,4,2,5,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> {{1,4,5},{2,3}}
=> 2
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> {{1,4,5},{2},{3}}
=> 5
[1,4,3,5,2] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> {{1,4,5},{2},{3}}
=> 5
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> {{1,4,5},{2,3}}
=> 2
[1,4,5,3,2] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> {{1,4,5},{2},{3}}
=> 5
Description
The number of occurrences of the pattern {{1},{2}} such that 1 is a maximal element. This is the number of pairs $i\lt j$ in different blocks such that $i$ is the maximal element of a block.
Matching statistic: St000947
Mp00069: Permutations complementPermutations
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00012: Binary trees to Dyck path: up step, left tree, down step, right treeDyck paths
St000947: Dyck paths ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [.,.]
=> [1,0]
=> ? = 0
[1,2] => [2,1] => [[.,.],.]
=> [1,1,0,0]
=> 0
[2,1] => [1,2] => [.,[.,.]]
=> [1,0,1,0]
=> 1
[1,2,3] => [3,2,1] => [[[.,.],.],.]
=> [1,1,1,0,0,0]
=> 0
[1,3,2] => [3,1,2] => [[.,[.,.]],.]
=> [1,1,0,1,0,0]
=> 1
[2,1,3] => [2,3,1] => [[.,.],[.,.]]
=> [1,1,0,0,1,0]
=> 2
[2,3,1] => [2,1,3] => [[.,.],[.,.]]
=> [1,1,0,0,1,0]
=> 2
[3,1,2] => [1,3,2] => [.,[[.,.],.]]
=> [1,0,1,1,0,0]
=> 1
[3,2,1] => [1,2,3] => [.,[.,[.,.]]]
=> [1,0,1,0,1,0]
=> 3
[1,2,3,4] => [4,3,2,1] => [[[[.,.],.],.],.]
=> [1,1,1,1,0,0,0,0]
=> 0
[1,2,4,3] => [4,3,1,2] => [[[.,[.,.]],.],.]
=> [1,1,1,0,1,0,0,0]
=> 1
[1,3,2,4] => [4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,1,1,0,0,1,0,0]
=> 2
[1,3,4,2] => [4,2,1,3] => [[[.,.],[.,.]],.]
=> [1,1,1,0,0,1,0,0]
=> 2
[1,4,2,3] => [4,1,3,2] => [[.,[[.,.],.]],.]
=> [1,1,0,1,1,0,0,0]
=> 1
[1,4,3,2] => [4,1,2,3] => [[.,[.,[.,.]]],.]
=> [1,1,0,1,0,1,0,0]
=> 3
[2,1,3,4] => [3,4,2,1] => [[[.,.],.],[.,.]]
=> [1,1,1,0,0,0,1,0]
=> 3
[2,1,4,3] => [3,4,1,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,1,0,0,1,0]
=> 4
[2,3,1,4] => [3,2,4,1] => [[[.,.],.],[.,.]]
=> [1,1,1,0,0,0,1,0]
=> 3
[2,3,4,1] => [3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,1,1,0,0,0,1,0]
=> 3
[2,4,1,3] => [3,1,4,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,1,0,0,1,0]
=> 4
[2,4,3,1] => [3,1,2,4] => [[.,[.,.]],[.,.]]
=> [1,1,0,1,0,0,1,0]
=> 4
[3,1,2,4] => [2,4,3,1] => [[.,.],[[.,.],.]]
=> [1,1,0,0,1,1,0,0]
=> 2
[3,1,4,2] => [2,4,1,3] => [[.,.],[[.,.],.]]
=> [1,1,0,0,1,1,0,0]
=> 2
[3,2,1,4] => [2,3,4,1] => [[.,.],[.,[.,.]]]
=> [1,1,0,0,1,0,1,0]
=> 5
[3,2,4,1] => [2,3,1,4] => [[.,.],[.,[.,.]]]
=> [1,1,0,0,1,0,1,0]
=> 5
[3,4,1,2] => [2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,1,0,0,1,1,0,0]
=> 2
[3,4,2,1] => [2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,1,0,0,1,0,1,0]
=> 5
[4,1,2,3] => [1,4,3,2] => [.,[[[.,.],.],.]]
=> [1,0,1,1,1,0,0,0]
=> 1
[4,1,3,2] => [1,4,2,3] => [.,[[.,[.,.]],.]]
=> [1,0,1,1,0,1,0,0]
=> 3
[4,2,1,3] => [1,3,4,2] => [.,[[.,.],[.,.]]]
=> [1,0,1,1,0,0,1,0]
=> 4
[4,2,3,1] => [1,3,2,4] => [.,[[.,.],[.,.]]]
=> [1,0,1,1,0,0,1,0]
=> 4
[4,3,1,2] => [1,2,4,3] => [.,[.,[[.,.],.]]]
=> [1,0,1,0,1,1,0,0]
=> 3
[4,3,2,1] => [1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [1,0,1,0,1,0,1,0]
=> 6
[1,2,3,4,5] => [5,4,3,2,1] => [[[[[.,.],.],.],.],.]
=> [1,1,1,1,1,0,0,0,0,0]
=> 0
[1,2,3,5,4] => [5,4,3,1,2] => [[[[.,[.,.]],.],.],.]
=> [1,1,1,1,0,1,0,0,0,0]
=> 1
[1,2,4,3,5] => [5,4,2,3,1] => [[[[.,.],[.,.]],.],.]
=> [1,1,1,1,0,0,1,0,0,0]
=> 2
[1,2,4,5,3] => [5,4,2,1,3] => [[[[.,.],[.,.]],.],.]
=> [1,1,1,1,0,0,1,0,0,0]
=> 2
[1,2,5,3,4] => [5,4,1,3,2] => [[[.,[[.,.],.]],.],.]
=> [1,1,1,0,1,1,0,0,0,0]
=> 1
[1,2,5,4,3] => [5,4,1,2,3] => [[[.,[.,[.,.]]],.],.]
=> [1,1,1,0,1,0,1,0,0,0]
=> 3
[1,3,2,4,5] => [5,3,4,2,1] => [[[[.,.],.],[.,.]],.]
=> [1,1,1,1,0,0,0,1,0,0]
=> 3
[1,3,2,5,4] => [5,3,4,1,2] => [[[.,[.,.]],[.,.]],.]
=> [1,1,1,0,1,0,0,1,0,0]
=> 4
[1,3,4,2,5] => [5,3,2,4,1] => [[[[.,.],.],[.,.]],.]
=> [1,1,1,1,0,0,0,1,0,0]
=> 3
[1,3,4,5,2] => [5,3,2,1,4] => [[[[.,.],.],[.,.]],.]
=> [1,1,1,1,0,0,0,1,0,0]
=> 3
[1,3,5,2,4] => [5,3,1,4,2] => [[[.,[.,.]],[.,.]],.]
=> [1,1,1,0,1,0,0,1,0,0]
=> 4
[1,3,5,4,2] => [5,3,1,2,4] => [[[.,[.,.]],[.,.]],.]
=> [1,1,1,0,1,0,0,1,0,0]
=> 4
[1,4,2,3,5] => [5,2,4,3,1] => [[[.,.],[[.,.],.]],.]
=> [1,1,1,0,0,1,1,0,0,0]
=> 2
[1,4,2,5,3] => [5,2,4,1,3] => [[[.,.],[[.,.],.]],.]
=> [1,1,1,0,0,1,1,0,0,0]
=> 2
[1,4,3,2,5] => [5,2,3,4,1] => [[[.,.],[.,[.,.]]],.]
=> [1,1,1,0,0,1,0,1,0,0]
=> 5
[1,4,3,5,2] => [5,2,3,1,4] => [[[.,.],[.,[.,.]]],.]
=> [1,1,1,0,0,1,0,1,0,0]
=> 5
[1,4,5,2,3] => [5,2,1,4,3] => [[[.,.],[[.,.],.]],.]
=> [1,1,1,0,0,1,1,0,0,0]
=> 2
[1,4,5,3,2] => [5,2,1,3,4] => [[[.,.],[.,[.,.]]],.]
=> [1,1,1,0,0,1,0,1,0,0]
=> 5
Description
The major index east count of a Dyck path. The descent set $\operatorname{des}(D)$ of a Dyck path $D = D_1 \cdots D_{2n}$ with $D_i \in \{N,E\}$ is given by all indices $i$ such that $D_i = E$ and $D_{i+1} = N$. This is, the positions of the valleys of $D$. The '''major index''' of a Dyck path is then the sum of the positions of the valleys, $\sum_{i \in \operatorname{des}(D)} i$, see [[St000027]]. The '''major index east count''' is given by $\sum_{i \in \operatorname{des}(D)} \#\{ j \leq i \mid D_j = E\}$.
Mp00126: Permutations cactus evacuationPermutations
Mp00066: Permutations inversePermutations
Mp00254: Permutations Inverse fireworks mapPermutations
St000833: Permutations ⟶ ℤResult quality: 98% values known / values provided: 98%distinct values known / distinct values provided: 100%
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] => [3,1,2] => [2,3,1] => [1,3,2] => 1
[2,1,3] => [2,3,1] => [3,1,2] => [3,1,2] => 2
[2,3,1] => [2,1,3] => [2,1,3] => [2,1,3] => 2
[3,1,2] => [1,3,2] => [1,3,2] => [1,3,2] => 1
[3,2,1] => [3,2,1] => [3,2,1] => [3,2,1] => 3
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [4,1,2,3] => [2,3,4,1] => [1,2,4,3] => 1
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => [1,3,2,4] => 2
[1,3,4,2] => [3,1,2,4] => [2,3,1,4] => [1,3,2,4] => 2
[1,4,2,3] => [1,4,2,3] => [1,3,4,2] => [1,2,4,3] => 1
[1,4,3,2] => [4,3,1,2] => [3,4,2,1] => [1,4,3,2] => 3
[2,1,3,4] => [2,3,4,1] => [4,1,2,3] => [4,1,2,3] => 3
[2,1,4,3] => [2,1,4,3] => [2,1,4,3] => [2,1,4,3] => 4
[2,3,1,4] => [2,3,1,4] => [3,1,2,4] => [3,1,2,4] => 3
[2,3,4,1] => [2,1,3,4] => [2,1,3,4] => [2,1,3,4] => 3
[2,4,1,3] => [2,4,1,3] => [3,1,4,2] => [2,1,4,3] => 4
[2,4,3,1] => [4,2,1,3] => [3,2,4,1] => [2,1,4,3] => 4
[3,1,2,4] => [1,3,4,2] => [1,4,2,3] => [1,4,2,3] => 2
[3,1,4,2] => [3,1,4,2] => [2,4,1,3] => [2,4,1,3] => 2
[3,2,1,4] => [3,4,2,1] => [4,3,1,2] => [4,3,1,2] => 5
[3,2,4,1] => [3,2,4,1] => [4,2,1,3] => [4,2,1,3] => 5
[3,4,1,2] => [3,4,1,2] => [3,4,1,2] => [2,4,1,3] => 2
[3,4,2,1] => [3,2,1,4] => [3,2,1,4] => [3,2,1,4] => 5
[4,1,2,3] => [1,2,4,3] => [1,2,4,3] => [1,2,4,3] => 1
[4,1,3,2] => [4,1,3,2] => [2,4,3,1] => [1,4,3,2] => 3
[4,2,1,3] => [2,4,3,1] => [4,1,3,2] => [4,1,3,2] => 4
[4,2,3,1] => [4,2,3,1] => [4,2,3,1] => [4,1,3,2] => 4
[4,3,1,2] => [1,4,3,2] => [1,4,3,2] => [1,4,3,2] => 3
[4,3,2,1] => [4,3,2,1] => [4,3,2,1] => [4,3,2,1] => 6
[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] => [5,1,2,3,4] => [2,3,4,5,1] => [1,2,3,5,4] => 1
[1,2,4,3,5] => [1,4,2,3,5] => [1,3,4,2,5] => [1,2,4,3,5] => 2
[1,2,4,5,3] => [4,1,2,3,5] => [2,3,4,1,5] => [1,2,4,3,5] => 2
[1,2,5,3,4] => [1,5,2,3,4] => [1,3,4,5,2] => [1,2,3,5,4] => 1
[1,2,5,4,3] => [5,4,1,2,3] => [3,4,5,2,1] => [1,2,5,4,3] => 3
[1,3,2,4,5] => [1,3,4,2,5] => [1,4,2,3,5] => [1,4,2,3,5] => 3
[1,3,2,5,4] => [3,1,5,2,4] => [2,4,1,5,3] => [1,3,2,5,4] => 4
[1,3,4,2,5] => [1,3,2,4,5] => [1,3,2,4,5] => [1,3,2,4,5] => 3
[1,3,4,5,2] => [3,1,2,4,5] => [2,3,1,4,5] => [1,3,2,4,5] => 3
[1,3,5,2,4] => [3,5,1,2,4] => [3,4,1,5,2] => [1,3,2,5,4] => 4
[1,3,5,4,2] => [5,3,1,2,4] => [3,4,2,5,1] => [1,3,2,5,4] => 4
[1,4,2,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => 2
[1,4,2,5,3] => [4,1,5,2,3] => [2,4,5,1,3] => [1,3,5,2,4] => 2
[1,4,3,2,5] => [1,4,3,2,5] => [1,4,3,2,5] => [1,4,3,2,5] => 5
[1,4,3,5,2] => [4,1,3,2,5] => [2,4,3,1,5] => [1,4,3,2,5] => 5
[1,4,5,2,3] => [4,5,1,2,3] => [3,4,5,1,2] => [1,3,5,2,4] => 2
[1,4,5,3,2] => [4,3,1,2,5] => [3,4,2,1,5] => [1,4,3,2,5] => 5
[1,3,2,4,5,6,7] => [1,3,4,5,6,2,7] => [1,6,2,3,4,5,7] => [1,6,2,3,4,5,7] => ? = 5
[1,3,4,2,5,6,7] => [1,3,4,5,2,6,7] => [1,5,2,3,4,6,7] => [1,5,2,3,4,6,7] => ? = 5
[1,3,5,4,2,6,7] => [1,3,5,4,2,6,7] => [1,5,2,4,3,6,7] => [1,5,2,4,3,6,7] => ? = 8
[1,3,5,4,6,2,7] => [1,5,3,4,2,6,7] => [1,5,3,4,2,6,7] => [1,5,2,4,3,6,7] => ? = 8
[1,3,5,4,6,7,2] => [5,1,3,4,2,6,7] => [2,5,3,4,1,6,7] => [1,5,2,4,3,6,7] => ? = 8
[1,4,3,2,5,6,7] => [1,4,5,6,3,2,7] => [1,6,5,2,3,4,7] => [1,6,5,2,3,4,7] => ? = 9
[1,4,3,2,5,7,6] => [4,1,3,7,5,2,6] => [2,6,3,1,5,7,4] => [1,5,3,2,4,7,6] => ? = 10
[1,4,3,2,6,5,7] => [1,4,3,6,5,2,7] => [1,6,3,2,5,4,7] => [1,6,3,2,5,4,7] => ? = 11
[1,4,3,2,6,7,5] => [4,1,3,6,5,2,7] => [2,6,3,1,5,4,7] => [1,6,3,2,5,4,7] => ? = 11
[1,4,3,2,7,5,6] => [1,4,3,7,5,2,6] => [1,6,3,2,5,7,4] => [1,5,3,2,4,7,6] => ? = 10
[1,4,3,5,2,6,7] => [1,4,5,3,6,2,7] => [1,6,4,2,3,5,7] => [1,6,4,2,3,5,7] => ? = 9
[1,4,3,5,2,7,6] => [4,1,7,3,5,2,6] => [2,6,4,1,5,7,3] => [1,5,3,2,4,7,6] => ? = 10
[1,4,3,5,6,2,7] => [1,4,3,5,6,2,7] => [1,6,3,2,4,5,7] => [1,6,3,2,4,5,7] => ? = 9
[1,4,3,5,6,7,2] => [4,1,3,5,6,2,7] => [2,6,3,1,4,5,7] => [1,6,3,2,4,5,7] => ? = 9
[1,4,3,5,7,2,6] => [4,7,1,3,5,2,6] => [3,6,4,1,5,7,2] => [1,5,3,2,4,7,6] => ? = 10
[1,4,3,6,2,5,7] => [1,4,6,3,5,2,7] => [1,6,4,2,5,3,7] => [1,6,3,2,5,4,7] => ? = 11
[1,4,3,6,2,7,5] => [4,1,6,3,5,2,7] => [2,6,4,1,5,3,7] => [1,6,3,2,5,4,7] => ? = 11
[1,4,3,6,7,2,5] => [4,6,1,3,5,2,7] => [3,6,4,1,5,2,7] => [1,6,3,2,5,4,7] => ? = 11
[1,4,3,7,2,5,6] => [1,4,7,3,5,2,6] => [1,6,4,2,5,7,3] => [1,5,3,2,4,7,6] => ? = 10
[1,4,5,3,2,6,7] => [1,4,5,3,2,6,7] => [1,5,4,2,3,6,7] => [1,5,4,2,3,6,7] => ? = 9
[1,4,5,3,6,2,7] => [1,4,3,5,2,6,7] => [1,5,3,2,4,6,7] => [1,5,3,2,4,6,7] => ? = 9
[1,4,5,3,6,7,2] => [4,1,3,5,2,6,7] => [2,5,3,1,4,6,7] => [1,5,3,2,4,6,7] => ? = 9
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$.
Mp00069: Permutations complementPermutations
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
St000798: Permutations ⟶ ℤResult quality: 87% values known / values provided: 87%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [.,.]
=> [1] => ? = 0
[1,2] => [2,1] => [[.,.],.]
=> [1,2] => 0
[2,1] => [1,2] => [.,[.,.]]
=> [2,1] => 1
[1,2,3] => [3,2,1] => [[[.,.],.],.]
=> [1,2,3] => 0
[1,3,2] => [3,1,2] => [[.,[.,.]],.]
=> [2,1,3] => 1
[2,1,3] => [2,3,1] => [[.,.],[.,.]]
=> [1,3,2] => 2
[2,3,1] => [2,1,3] => [[.,.],[.,.]]
=> [1,3,2] => 2
[3,1,2] => [1,3,2] => [.,[[.,.],.]]
=> [2,3,1] => 1
[3,2,1] => [1,2,3] => [.,[.,[.,.]]]
=> [3,2,1] => 3
[1,2,3,4] => [4,3,2,1] => [[[[.,.],.],.],.]
=> [1,2,3,4] => 0
[1,2,4,3] => [4,3,1,2] => [[[.,[.,.]],.],.]
=> [2,1,3,4] => 1
[1,3,2,4] => [4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,3,2,4] => 2
[1,3,4,2] => [4,2,1,3] => [[[.,.],[.,.]],.]
=> [1,3,2,4] => 2
[1,4,2,3] => [4,1,3,2] => [[.,[[.,.],.]],.]
=> [2,3,1,4] => 1
[1,4,3,2] => [4,1,2,3] => [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 3
[2,1,3,4] => [3,4,2,1] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 3
[2,1,4,3] => [3,4,1,2] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 4
[2,3,1,4] => [3,2,4,1] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 3
[2,3,4,1] => [3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 3
[2,4,1,3] => [3,1,4,2] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 4
[2,4,3,1] => [3,1,2,4] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 4
[3,1,2,4] => [2,4,3,1] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 2
[3,1,4,2] => [2,4,1,3] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 2
[3,2,1,4] => [2,3,4,1] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 5
[3,2,4,1] => [2,3,1,4] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 5
[3,4,1,2] => [2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 2
[3,4,2,1] => [2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 5
[4,1,2,3] => [1,4,3,2] => [.,[[[.,.],.],.]]
=> [2,3,4,1] => 1
[4,1,3,2] => [1,4,2,3] => [.,[[.,[.,.]],.]]
=> [3,2,4,1] => 3
[4,2,1,3] => [1,3,4,2] => [.,[[.,.],[.,.]]]
=> [2,4,3,1] => 4
[4,2,3,1] => [1,3,2,4] => [.,[[.,.],[.,.]]]
=> [2,4,3,1] => 4
[4,3,1,2] => [1,2,4,3] => [.,[.,[[.,.],.]]]
=> [3,4,2,1] => 3
[4,3,2,1] => [1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => 6
[1,2,3,4,5] => [5,4,3,2,1] => [[[[[.,.],.],.],.],.]
=> [1,2,3,4,5] => 0
[1,2,3,5,4] => [5,4,3,1,2] => [[[[.,[.,.]],.],.],.]
=> [2,1,3,4,5] => 1
[1,2,4,3,5] => [5,4,2,3,1] => [[[[.,.],[.,.]],.],.]
=> [1,3,2,4,5] => 2
[1,2,4,5,3] => [5,4,2,1,3] => [[[[.,.],[.,.]],.],.]
=> [1,3,2,4,5] => 2
[1,2,5,3,4] => [5,4,1,3,2] => [[[.,[[.,.],.]],.],.]
=> [2,3,1,4,5] => 1
[1,2,5,4,3] => [5,4,1,2,3] => [[[.,[.,[.,.]]],.],.]
=> [3,2,1,4,5] => 3
[1,3,2,4,5] => [5,3,4,2,1] => [[[[.,.],.],[.,.]],.]
=> [1,2,4,3,5] => 3
[1,3,2,5,4] => [5,3,4,1,2] => [[[.,[.,.]],[.,.]],.]
=> [2,1,4,3,5] => 4
[1,3,4,2,5] => [5,3,2,4,1] => [[[[.,.],.],[.,.]],.]
=> [1,2,4,3,5] => 3
[1,3,4,5,2] => [5,3,2,1,4] => [[[[.,.],.],[.,.]],.]
=> [1,2,4,3,5] => 3
[1,3,5,2,4] => [5,3,1,4,2] => [[[.,[.,.]],[.,.]],.]
=> [2,1,4,3,5] => 4
[1,3,5,4,2] => [5,3,1,2,4] => [[[.,[.,.]],[.,.]],.]
=> [2,1,4,3,5] => 4
[1,4,2,3,5] => [5,2,4,3,1] => [[[.,.],[[.,.],.]],.]
=> [1,3,4,2,5] => 2
[1,4,2,5,3] => [5,2,4,1,3] => [[[.,.],[[.,.],.]],.]
=> [1,3,4,2,5] => 2
[1,4,3,2,5] => [5,2,3,4,1] => [[[.,.],[.,[.,.]]],.]
=> [1,4,3,2,5] => 5
[1,4,3,5,2] => [5,2,3,1,4] => [[[.,.],[.,[.,.]]],.]
=> [1,4,3,2,5] => 5
[1,4,5,2,3] => [5,2,1,4,3] => [[[.,.],[[.,.],.]],.]
=> [1,3,4,2,5] => 2
[1,4,5,3,2] => [5,2,1,3,4] => [[[.,.],[.,[.,.]]],.]
=> [1,4,3,2,5] => 5
[1,2,3,4,5,7,6] => [7,6,5,4,3,1,2] => [[[[[[.,[.,.]],.],.],.],.],.]
=> [2,1,3,4,5,6,7] => ? = 1
[1,2,3,4,7,5,6] => [7,6,5,4,1,3,2] => [[[[[.,[[.,.],.]],.],.],.],.]
=> [2,3,1,4,5,6,7] => ? = 1
[1,2,3,4,7,6,5] => [7,6,5,4,1,2,3] => [[[[[.,[.,[.,.]]],.],.],.],.]
=> [3,2,1,4,5,6,7] => ? = 3
[1,2,3,5,4,7,6] => [7,6,5,3,4,1,2] => [[[[[.,[.,.]],[.,.]],.],.],.]
=> [2,1,4,3,5,6,7] => ? = 4
[1,2,3,5,7,4,6] => [7,6,5,3,1,4,2] => [[[[[.,[.,.]],[.,.]],.],.],.]
=> [2,1,4,3,5,6,7] => ? = 4
[1,2,3,5,7,6,4] => [7,6,5,3,1,2,4] => [[[[[.,[.,.]],[.,.]],.],.],.]
=> [2,1,4,3,5,6,7] => ? = 4
[1,2,3,7,4,5,6] => [7,6,5,1,4,3,2] => [[[[.,[[[.,.],.],.]],.],.],.]
=> [2,3,4,1,5,6,7] => ? = 1
[1,2,3,7,4,6,5] => [7,6,5,1,4,2,3] => [[[[.,[[.,[.,.]],.]],.],.],.]
=> [3,2,4,1,5,6,7] => ? = 3
[1,2,3,7,5,4,6] => [7,6,5,1,3,4,2] => [[[[.,[[.,.],[.,.]]],.],.],.]
=> [2,4,3,1,5,6,7] => ? = 4
[1,2,3,7,5,6,4] => [7,6,5,1,3,2,4] => [[[[.,[[.,.],[.,.]]],.],.],.]
=> [2,4,3,1,5,6,7] => ? = 4
[1,2,3,7,6,4,5] => [7,6,5,1,2,4,3] => [[[[.,[.,[[.,.],.]]],.],.],.]
=> [3,4,2,1,5,6,7] => ? = 3
[1,2,3,7,6,5,4] => [7,6,5,1,2,3,4] => [[[[.,[.,[.,[.,.]]]],.],.],.]
=> [4,3,2,1,5,6,7] => ? = 6
[1,2,4,3,5,7,6] => [7,6,4,5,3,1,2] => [[[[[.,[.,.]],.],[.,.]],.],.]
=> [2,1,3,5,4,6,7] => ? = 5
[1,2,4,3,7,5,6] => [7,6,4,5,1,3,2] => [[[[.,[[.,.],.]],[.,.]],.],.]
=> [2,3,1,5,4,6,7] => ? = 5
[1,2,4,3,7,6,5] => [7,6,4,5,1,2,3] => [[[[.,[.,[.,.]]],[.,.]],.],.]
=> [3,2,1,5,4,6,7] => ? = 7
[1,2,4,5,3,7,6] => [7,6,4,3,5,1,2] => [[[[[.,[.,.]],.],[.,.]],.],.]
=> [2,1,3,5,4,6,7] => ? = 5
[1,2,4,5,7,3,6] => [7,6,4,3,1,5,2] => [[[[[.,[.,.]],.],[.,.]],.],.]
=> [2,1,3,5,4,6,7] => ? = 5
[1,2,4,5,7,6,3] => [7,6,4,3,1,2,5] => [[[[[.,[.,.]],.],[.,.]],.],.]
=> [2,1,3,5,4,6,7] => ? = 5
[1,2,4,7,3,5,6] => [7,6,4,1,5,3,2] => [[[[.,[[.,.],.]],[.,.]],.],.]
=> [2,3,1,5,4,6,7] => ? = 5
[1,2,4,7,3,6,5] => [7,6,4,1,5,2,3] => [[[[.,[.,[.,.]]],[.,.]],.],.]
=> [3,2,1,5,4,6,7] => ? = 7
[1,2,4,7,5,3,6] => [7,6,4,1,3,5,2] => [[[[.,[[.,.],.]],[.,.]],.],.]
=> [2,3,1,5,4,6,7] => ? = 5
[1,2,4,7,5,6,3] => [7,6,4,1,3,2,5] => [[[[.,[[.,.],.]],[.,.]],.],.]
=> [2,3,1,5,4,6,7] => ? = 5
[1,2,4,7,6,3,5] => [7,6,4,1,2,5,3] => [[[[.,[.,[.,.]]],[.,.]],.],.]
=> [3,2,1,5,4,6,7] => ? = 7
[1,2,4,7,6,5,3] => [7,6,4,1,2,3,5] => [[[[.,[.,[.,.]]],[.,.]],.],.]
=> [3,2,1,5,4,6,7] => ? = 7
[1,2,5,3,4,7,6] => [7,6,3,5,4,1,2] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,3,7,4,6] => [7,6,3,5,1,4,2] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,3,7,6,4] => [7,6,3,5,1,2,4] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,4,3,7,6] => [7,6,3,4,5,1,2] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,5,4,7,3,6] => [7,6,3,4,1,5,2] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,5,4,7,6,3] => [7,6,3,4,1,2,5] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,5,7,3,4,6] => [7,6,3,1,5,4,2] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,7,3,6,4] => [7,6,3,1,5,2,4] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,7,4,3,6] => [7,6,3,1,4,5,2] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,5,7,4,6,3] => [7,6,3,1,4,2,5] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,5,7,6,3,4] => [7,6,3,1,2,5,4] => [[[[.,[.,.]],[[.,.],.]],.],.]
=> [2,1,4,5,3,6,7] => ? = 4
[1,2,5,7,6,4,3] => [7,6,3,1,2,4,5] => [[[[.,[.,.]],[.,[.,.]]],.],.]
=> [2,1,5,4,3,6,7] => ? = 8
[1,2,6,5,4,3,7] => [7,6,2,3,4,5,1] => [[[[.,.],[.,[.,[.,.]]]],.],.]
=> [1,5,4,3,2,6,7] => ? = 9
[1,2,6,5,4,7,3] => [7,6,2,3,4,1,5] => [[[[.,.],[.,[.,[.,.]]]],.],.]
=> [1,5,4,3,2,6,7] => ? = 9
[1,2,6,5,7,4,3] => [7,6,2,3,1,4,5] => [[[[.,.],[.,[.,[.,.]]]],.],.]
=> [1,5,4,3,2,6,7] => ? = 9
[1,2,6,7,5,4,3] => [7,6,2,1,3,4,5] => [[[[.,.],[.,[.,[.,.]]]],.],.]
=> [1,5,4,3,2,6,7] => ? = 9
[1,2,7,3,4,5,6] => [7,6,1,5,4,3,2] => [[[.,[[[[.,.],.],.],.]],.],.]
=> [2,3,4,5,1,6,7] => ? = 1
[1,2,7,3,4,6,5] => [7,6,1,5,4,2,3] => [[[.,[[[.,[.,.]],.],.]],.],.]
=> [3,2,4,5,1,6,7] => ? = 3
[1,2,7,3,5,4,6] => [7,6,1,5,3,4,2] => [[[.,[[[.,.],[.,.]],.]],.],.]
=> [2,4,3,5,1,6,7] => ? = 4
[1,2,7,3,5,6,4] => [7,6,1,5,3,2,4] => [[[.,[[[.,.],[.,.]],.]],.],.]
=> [2,4,3,5,1,6,7] => ? = 4
[1,2,7,3,6,4,5] => [7,6,1,5,2,4,3] => [[[.,[[.,[[.,.],.]],.]],.],.]
=> [3,4,2,5,1,6,7] => ? = 3
[1,2,7,3,6,5,4] => [7,6,1,5,2,3,4] => [[[.,[[.,[.,[.,.]]],.]],.],.]
=> [4,3,2,5,1,6,7] => ? = 6
[1,2,7,4,3,5,6] => [7,6,1,4,5,3,2] => [[[.,[[[.,.],.],[.,.]]],.],.]
=> [2,3,5,4,1,6,7] => ? = 5
[1,2,7,4,3,6,5] => [7,6,1,4,5,2,3] => [[[.,[[.,[.,.]],[.,.]]],.],.]
=> [3,2,5,4,1,6,7] => ? = 7
[1,2,7,4,5,3,6] => [7,6,1,4,3,5,2] => [[[.,[[[.,.],.],[.,.]]],.],.]
=> [2,3,5,4,1,6,7] => ? = 5
Description
The makl of a permutation. According to [1], this is the sum of the number of occurrences of the vincular patterns $(1\underline{32})$, $(\underline{31}2)$, $(\underline{32}1)$ and $(\underline{21})$, where matches of the underlined letters must be adjacent.
The following 11 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000161The sum of the sizes of the right subtrees of a binary tree. St000018The number of inversions of a permutation. St000246The number of non-inversions of a permutation. St000304The load of a permutation. St000004The major index of a permutation. St000305The inverse major index of a permutation. St000154The sum of the descent bottoms of a permutation. St000796The stat' of a permutation. St000101The cocharge of a semistandard tableau. St001209The pmaj statistic of a parking function. St001583The projective dimension of the simple module corresponding to the point in the poset of the symmetric group under bruhat order.