Your data matches 5 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St000619: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1,2] => 1
[2,1] => 1
[1,2,3] => 1
[1,3,2] => 2
[2,1,3] => 2
[2,3,1] => 1
[3,1,2] => 1
[3,2,1] => 2
[1,2,3,4] => 1
[1,2,4,3] => 2
[1,3,2,4] => 2
[1,3,4,2] => 2
[1,4,2,3] => 2
[1,4,3,2] => 3
[2,1,3,4] => 2
[2,1,4,3] => 3
[2,3,1,4] => 2
[2,3,4,1] => 1
[2,4,1,3] => 2
[2,4,3,1] => 2
[3,1,2,4] => 2
[3,1,4,2] => 2
[3,2,1,4] => 3
[3,2,4,1] => 2
[3,4,1,2] => 1
[3,4,2,1] => 2
[4,1,2,3] => 1
[4,1,3,2] => 2
[4,2,1,3] => 2
[4,2,3,1] => 2
[4,3,1,2] => 2
[4,3,2,1] => 3
[1,2,3,4,5] => 1
[1,2,3,5,4] => 2
[1,2,4,3,5] => 2
[1,2,4,5,3] => 2
[1,2,5,3,4] => 2
[1,2,5,4,3] => 3
[1,3,2,4,5] => 2
[1,3,2,5,4] => 3
[1,3,4,2,5] => 2
[1,3,4,5,2] => 2
[1,3,5,2,4] => 2
[1,3,5,4,2] => 3
[1,4,2,3,5] => 2
[1,4,2,5,3] => 3
[1,4,3,2,5] => 3
[1,4,3,5,2] => 3
[1,4,5,2,3] => 2
[1,4,5,3,2] => 3
Description
The number of cyclic descents of a permutation. For a permutation $\pi$ of $\{1,\ldots,n\}$, this is given by the number of indices $1 \leq i \leq n$ such that $\pi(i) > \pi(i+1)$ where we set $\pi(n+1) = \pi(1)$.
Matching statistic: St000662
Mp00073: Permutations major-index to inversion-number bijectionPermutations
Mp00252: Permutations restrictionPermutations
St000662: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1,2] => [1,2] => [1] => 0 = 1 - 1
[2,1] => [2,1] => [1] => 0 = 1 - 1
[1,2,3] => [1,2,3] => [1,2] => 0 = 1 - 1
[1,3,2] => [2,3,1] => [2,1] => 1 = 2 - 1
[2,1,3] => [2,1,3] => [2,1] => 1 = 2 - 1
[2,3,1] => [3,1,2] => [1,2] => 0 = 1 - 1
[3,1,2] => [1,3,2] => [1,2] => 0 = 1 - 1
[3,2,1] => [3,2,1] => [2,1] => 1 = 2 - 1
[1,2,3,4] => [1,2,3,4] => [1,2,3] => 0 = 1 - 1
[1,2,4,3] => [2,3,4,1] => [2,3,1] => 1 = 2 - 1
[1,3,2,4] => [2,3,1,4] => [2,3,1] => 1 = 2 - 1
[1,3,4,2] => [2,4,1,3] => [2,1,3] => 1 = 2 - 1
[1,4,2,3] => [2,1,4,3] => [2,1,3] => 1 = 2 - 1
[1,4,3,2] => [3,4,2,1] => [3,2,1] => 2 = 3 - 1
[2,1,3,4] => [2,1,3,4] => [2,1,3] => 1 = 2 - 1
[2,1,4,3] => [3,2,4,1] => [3,2,1] => 2 = 3 - 1
[2,3,1,4] => [3,1,2,4] => [3,1,2] => 1 = 2 - 1
[2,3,4,1] => [4,1,2,3] => [1,2,3] => 0 = 1 - 1
[2,4,1,3] => [1,3,4,2] => [1,3,2] => 1 = 2 - 1
[2,4,3,1] => [4,2,3,1] => [2,3,1] => 1 = 2 - 1
[3,1,2,4] => [1,3,2,4] => [1,3,2] => 1 = 2 - 1
[3,1,4,2] => [3,4,1,2] => [3,1,2] => 1 = 2 - 1
[3,2,1,4] => [3,2,1,4] => [3,2,1] => 2 = 3 - 1
[3,2,4,1] => [4,2,1,3] => [2,1,3] => 1 = 2 - 1
[3,4,1,2] => [1,4,2,3] => [1,2,3] => 0 = 1 - 1
[3,4,2,1] => [4,3,1,2] => [3,1,2] => 1 = 2 - 1
[4,1,2,3] => [1,2,4,3] => [1,2,3] => 0 = 1 - 1
[4,1,3,2] => [2,4,3,1] => [2,3,1] => 1 = 2 - 1
[4,2,1,3] => [3,1,4,2] => [3,1,2] => 1 = 2 - 1
[4,2,3,1] => [4,1,3,2] => [1,3,2] => 1 = 2 - 1
[4,3,1,2] => [1,4,3,2] => [1,3,2] => 1 = 2 - 1
[4,3,2,1] => [4,3,2,1] => [3,2,1] => 2 = 3 - 1
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4] => 0 = 1 - 1
[1,2,3,5,4] => [2,3,4,5,1] => [2,3,4,1] => 1 = 2 - 1
[1,2,4,3,5] => [2,3,4,1,5] => [2,3,4,1] => 1 = 2 - 1
[1,2,4,5,3] => [2,3,5,1,4] => [2,3,1,4] => 1 = 2 - 1
[1,2,5,3,4] => [2,3,1,5,4] => [2,3,1,4] => 1 = 2 - 1
[1,2,5,4,3] => [3,4,5,2,1] => [3,4,2,1] => 2 = 3 - 1
[1,3,2,4,5] => [2,3,1,4,5] => [2,3,1,4] => 1 = 2 - 1
[1,3,2,5,4] => [3,4,2,5,1] => [3,4,2,1] => 2 = 3 - 1
[1,3,4,2,5] => [2,4,1,3,5] => [2,4,1,3] => 1 = 2 - 1
[1,3,4,5,2] => [2,5,1,3,4] => [2,1,3,4] => 1 = 2 - 1
[1,3,5,2,4] => [2,1,4,5,3] => [2,1,4,3] => 1 = 2 - 1
[1,3,5,4,2] => [3,5,2,4,1] => [3,2,4,1] => 2 = 3 - 1
[1,4,2,3,5] => [2,1,4,3,5] => [2,1,4,3] => 1 = 2 - 1
[1,4,2,5,3] => [3,4,5,1,2] => [3,4,1,2] => 2 = 3 - 1
[1,4,3,2,5] => [3,4,2,1,5] => [3,4,2,1] => 2 = 3 - 1
[1,4,3,5,2] => [3,5,2,1,4] => [3,2,1,4] => 2 = 3 - 1
[1,4,5,2,3] => [2,1,5,3,4] => [2,1,3,4] => 1 = 2 - 1
[1,4,5,3,2] => [3,5,4,1,2] => [3,4,1,2] => 2 = 3 - 1
Description
The staircase size of the code of a permutation. The code $c(\pi)$ of a permutation $\pi$ of length $n$ is given by the sequence $(c_1,\ldots,c_{n})$ with $c_i = |\{j > i : \pi(j) < \pi(i)\}|$. This is a bijection between permutations and all sequences $(c_1,\ldots,c_n)$ with $0 \leq c_i \leq n-i$. The staircase size of the code is the maximal $k$ such that there exists a subsequence $(c_{i_k},\ldots,c_{i_1})$ of $c(\pi)$ with $c_{i_j} \geq j$. This statistic is mapped through [[Mp00062]] to the number of descents, showing that together with the number of inversions [[St000018]] it is Euler-Mahonian.
Matching statistic: St000325
Mp00073: Permutations major-index to inversion-number bijectionPermutations
Mp00252: Permutations restrictionPermutations
Mp00062: Permutations Lehmer-code to major-code bijectionPermutations
St000325: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1,2] => [1,2] => [1] => [1] => 1
[2,1] => [2,1] => [1] => [1] => 1
[1,2,3] => [1,2,3] => [1,2] => [1,2] => 1
[1,3,2] => [2,3,1] => [2,1] => [2,1] => 2
[2,1,3] => [2,1,3] => [2,1] => [2,1] => 2
[2,3,1] => [3,1,2] => [1,2] => [1,2] => 1
[3,1,2] => [1,3,2] => [1,2] => [1,2] => 1
[3,2,1] => [3,2,1] => [2,1] => [2,1] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3] => [1,2,3] => 1
[1,2,4,3] => [2,3,4,1] => [2,3,1] => [1,3,2] => 2
[1,3,2,4] => [2,3,1,4] => [2,3,1] => [1,3,2] => 2
[1,3,4,2] => [2,4,1,3] => [2,1,3] => [2,1,3] => 2
[1,4,2,3] => [2,1,4,3] => [2,1,3] => [2,1,3] => 2
[1,4,3,2] => [3,4,2,1] => [3,2,1] => [3,2,1] => 3
[2,1,3,4] => [2,1,3,4] => [2,1,3] => [2,1,3] => 2
[2,1,4,3] => [3,2,4,1] => [3,2,1] => [3,2,1] => 3
[2,3,1,4] => [3,1,2,4] => [3,1,2] => [2,3,1] => 2
[2,3,4,1] => [4,1,2,3] => [1,2,3] => [1,2,3] => 1
[2,4,1,3] => [1,3,4,2] => [1,3,2] => [3,1,2] => 2
[2,4,3,1] => [4,2,3,1] => [2,3,1] => [1,3,2] => 2
[3,1,2,4] => [1,3,2,4] => [1,3,2] => [3,1,2] => 2
[3,1,4,2] => [3,4,1,2] => [3,1,2] => [2,3,1] => 2
[3,2,1,4] => [3,2,1,4] => [3,2,1] => [3,2,1] => 3
[3,2,4,1] => [4,2,1,3] => [2,1,3] => [2,1,3] => 2
[3,4,1,2] => [1,4,2,3] => [1,2,3] => [1,2,3] => 1
[3,4,2,1] => [4,3,1,2] => [3,1,2] => [2,3,1] => 2
[4,1,2,3] => [1,2,4,3] => [1,2,3] => [1,2,3] => 1
[4,1,3,2] => [2,4,3,1] => [2,3,1] => [1,3,2] => 2
[4,2,1,3] => [3,1,4,2] => [3,1,2] => [2,3,1] => 2
[4,2,3,1] => [4,1,3,2] => [1,3,2] => [3,1,2] => 2
[4,3,1,2] => [1,4,3,2] => [1,3,2] => [3,1,2] => 2
[4,3,2,1] => [4,3,2,1] => [3,2,1] => [3,2,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4] => [1,2,3,4] => 1
[1,2,3,5,4] => [2,3,4,5,1] => [2,3,4,1] => [1,2,4,3] => 2
[1,2,4,3,5] => [2,3,4,1,5] => [2,3,4,1] => [1,2,4,3] => 2
[1,2,4,5,3] => [2,3,5,1,4] => [2,3,1,4] => [1,3,2,4] => 2
[1,2,5,3,4] => [2,3,1,5,4] => [2,3,1,4] => [1,3,2,4] => 2
[1,2,5,4,3] => [3,4,5,2,1] => [3,4,2,1] => [1,4,3,2] => 3
[1,3,2,4,5] => [2,3,1,4,5] => [2,3,1,4] => [1,3,2,4] => 2
[1,3,2,5,4] => [3,4,2,5,1] => [3,4,2,1] => [1,4,3,2] => 3
[1,3,4,2,5] => [2,4,1,3,5] => [2,4,1,3] => [1,3,4,2] => 2
[1,3,4,5,2] => [2,5,1,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[1,3,5,2,4] => [2,1,4,5,3] => [2,1,4,3] => [1,4,2,3] => 2
[1,3,5,4,2] => [3,5,2,4,1] => [3,2,4,1] => [2,1,4,3] => 3
[1,4,2,3,5] => [2,1,4,3,5] => [2,1,4,3] => [1,4,2,3] => 2
[1,4,2,5,3] => [3,4,5,1,2] => [3,4,1,2] => [3,1,4,2] => 3
[1,4,3,2,5] => [3,4,2,1,5] => [3,4,2,1] => [1,4,3,2] => 3
[1,4,3,5,2] => [3,5,2,1,4] => [3,2,1,4] => [3,2,1,4] => 3
[1,4,5,2,3] => [2,1,5,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[1,4,5,3,2] => [3,5,4,1,2] => [3,4,1,2] => [3,1,4,2] => 3
Description
The width of the tree associated to a permutation. A permutation can be mapped to a rooted tree with vertices $\{0,1,2,\ldots,n\}$ and root $0$ in the following way. Entries of the permutations are inserted one after the other, each child is larger than its parent and the children are in strict order from left to right. Details of the construction are found in [1]. The width of the tree is given by the number of leaves of this tree. Note that, due to the construction of this tree, the width of the tree is always one more than the number of descents [[St000021]]. This also matches the number of runs in a permutation [[St000470]]. See also [[St000308]] for the height of this tree.
Matching statistic: St000470
Mp00073: Permutations major-index to inversion-number bijectionPermutations
Mp00252: Permutations restrictionPermutations
Mp00062: Permutations Lehmer-code to major-code bijectionPermutations
St000470: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1,2] => [1,2] => [1] => [1] => 1
[2,1] => [2,1] => [1] => [1] => 1
[1,2,3] => [1,2,3] => [1,2] => [1,2] => 1
[1,3,2] => [2,3,1] => [2,1] => [2,1] => 2
[2,1,3] => [2,1,3] => [2,1] => [2,1] => 2
[2,3,1] => [3,1,2] => [1,2] => [1,2] => 1
[3,1,2] => [1,3,2] => [1,2] => [1,2] => 1
[3,2,1] => [3,2,1] => [2,1] => [2,1] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3] => [1,2,3] => 1
[1,2,4,3] => [2,3,4,1] => [2,3,1] => [1,3,2] => 2
[1,3,2,4] => [2,3,1,4] => [2,3,1] => [1,3,2] => 2
[1,3,4,2] => [2,4,1,3] => [2,1,3] => [2,1,3] => 2
[1,4,2,3] => [2,1,4,3] => [2,1,3] => [2,1,3] => 2
[1,4,3,2] => [3,4,2,1] => [3,2,1] => [3,2,1] => 3
[2,1,3,4] => [2,1,3,4] => [2,1,3] => [2,1,3] => 2
[2,1,4,3] => [3,2,4,1] => [3,2,1] => [3,2,1] => 3
[2,3,1,4] => [3,1,2,4] => [3,1,2] => [2,3,1] => 2
[2,3,4,1] => [4,1,2,3] => [1,2,3] => [1,2,3] => 1
[2,4,1,3] => [1,3,4,2] => [1,3,2] => [3,1,2] => 2
[2,4,3,1] => [4,2,3,1] => [2,3,1] => [1,3,2] => 2
[3,1,2,4] => [1,3,2,4] => [1,3,2] => [3,1,2] => 2
[3,1,4,2] => [3,4,1,2] => [3,1,2] => [2,3,1] => 2
[3,2,1,4] => [3,2,1,4] => [3,2,1] => [3,2,1] => 3
[3,2,4,1] => [4,2,1,3] => [2,1,3] => [2,1,3] => 2
[3,4,1,2] => [1,4,2,3] => [1,2,3] => [1,2,3] => 1
[3,4,2,1] => [4,3,1,2] => [3,1,2] => [2,3,1] => 2
[4,1,2,3] => [1,2,4,3] => [1,2,3] => [1,2,3] => 1
[4,1,3,2] => [2,4,3,1] => [2,3,1] => [1,3,2] => 2
[4,2,1,3] => [3,1,4,2] => [3,1,2] => [2,3,1] => 2
[4,2,3,1] => [4,1,3,2] => [1,3,2] => [3,1,2] => 2
[4,3,1,2] => [1,4,3,2] => [1,3,2] => [3,1,2] => 2
[4,3,2,1] => [4,3,2,1] => [3,2,1] => [3,2,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4] => [1,2,3,4] => 1
[1,2,3,5,4] => [2,3,4,5,1] => [2,3,4,1] => [1,2,4,3] => 2
[1,2,4,3,5] => [2,3,4,1,5] => [2,3,4,1] => [1,2,4,3] => 2
[1,2,4,5,3] => [2,3,5,1,4] => [2,3,1,4] => [1,3,2,4] => 2
[1,2,5,3,4] => [2,3,1,5,4] => [2,3,1,4] => [1,3,2,4] => 2
[1,2,5,4,3] => [3,4,5,2,1] => [3,4,2,1] => [1,4,3,2] => 3
[1,3,2,4,5] => [2,3,1,4,5] => [2,3,1,4] => [1,3,2,4] => 2
[1,3,2,5,4] => [3,4,2,5,1] => [3,4,2,1] => [1,4,3,2] => 3
[1,3,4,2,5] => [2,4,1,3,5] => [2,4,1,3] => [1,3,4,2] => 2
[1,3,4,5,2] => [2,5,1,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[1,3,5,2,4] => [2,1,4,5,3] => [2,1,4,3] => [1,4,2,3] => 2
[1,3,5,4,2] => [3,5,2,4,1] => [3,2,4,1] => [2,1,4,3] => 3
[1,4,2,3,5] => [2,1,4,3,5] => [2,1,4,3] => [1,4,2,3] => 2
[1,4,2,5,3] => [3,4,5,1,2] => [3,4,1,2] => [3,1,4,2] => 3
[1,4,3,2,5] => [3,4,2,1,5] => [3,4,2,1] => [1,4,3,2] => 3
[1,4,3,5,2] => [3,5,2,1,4] => [3,2,1,4] => [3,2,1,4] => 3
[1,4,5,2,3] => [2,1,5,3,4] => [2,1,3,4] => [2,1,3,4] => 2
[1,4,5,3,2] => [3,5,4,1,2] => [3,4,1,2] => [3,1,4,2] => 3
Description
The number of runs in a permutation. A run in a permutation is an inclusion-wise maximal increasing substring, i.e., a contiguous subsequence. This is the same as the number of descents plus 1.
Matching statistic: St000021
Mp00073: Permutations major-index to inversion-number bijectionPermutations
Mp00252: Permutations restrictionPermutations
Mp00062: Permutations Lehmer-code to major-code bijectionPermutations
St000021: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1,2] => [1,2] => [1] => [1] => 0 = 1 - 1
[2,1] => [2,1] => [1] => [1] => 0 = 1 - 1
[1,2,3] => [1,2,3] => [1,2] => [1,2] => 0 = 1 - 1
[1,3,2] => [2,3,1] => [2,1] => [2,1] => 1 = 2 - 1
[2,1,3] => [2,1,3] => [2,1] => [2,1] => 1 = 2 - 1
[2,3,1] => [3,1,2] => [1,2] => [1,2] => 0 = 1 - 1
[3,1,2] => [1,3,2] => [1,2] => [1,2] => 0 = 1 - 1
[3,2,1] => [3,2,1] => [2,1] => [2,1] => 1 = 2 - 1
[1,2,3,4] => [1,2,3,4] => [1,2,3] => [1,2,3] => 0 = 1 - 1
[1,2,4,3] => [2,3,4,1] => [2,3,1] => [1,3,2] => 1 = 2 - 1
[1,3,2,4] => [2,3,1,4] => [2,3,1] => [1,3,2] => 1 = 2 - 1
[1,3,4,2] => [2,4,1,3] => [2,1,3] => [2,1,3] => 1 = 2 - 1
[1,4,2,3] => [2,1,4,3] => [2,1,3] => [2,1,3] => 1 = 2 - 1
[1,4,3,2] => [3,4,2,1] => [3,2,1] => [3,2,1] => 2 = 3 - 1
[2,1,3,4] => [2,1,3,4] => [2,1,3] => [2,1,3] => 1 = 2 - 1
[2,1,4,3] => [3,2,4,1] => [3,2,1] => [3,2,1] => 2 = 3 - 1
[2,3,1,4] => [3,1,2,4] => [3,1,2] => [2,3,1] => 1 = 2 - 1
[2,3,4,1] => [4,1,2,3] => [1,2,3] => [1,2,3] => 0 = 1 - 1
[2,4,1,3] => [1,3,4,2] => [1,3,2] => [3,1,2] => 1 = 2 - 1
[2,4,3,1] => [4,2,3,1] => [2,3,1] => [1,3,2] => 1 = 2 - 1
[3,1,2,4] => [1,3,2,4] => [1,3,2] => [3,1,2] => 1 = 2 - 1
[3,1,4,2] => [3,4,1,2] => [3,1,2] => [2,3,1] => 1 = 2 - 1
[3,2,1,4] => [3,2,1,4] => [3,2,1] => [3,2,1] => 2 = 3 - 1
[3,2,4,1] => [4,2,1,3] => [2,1,3] => [2,1,3] => 1 = 2 - 1
[3,4,1,2] => [1,4,2,3] => [1,2,3] => [1,2,3] => 0 = 1 - 1
[3,4,2,1] => [4,3,1,2] => [3,1,2] => [2,3,1] => 1 = 2 - 1
[4,1,2,3] => [1,2,4,3] => [1,2,3] => [1,2,3] => 0 = 1 - 1
[4,1,3,2] => [2,4,3,1] => [2,3,1] => [1,3,2] => 1 = 2 - 1
[4,2,1,3] => [3,1,4,2] => [3,1,2] => [2,3,1] => 1 = 2 - 1
[4,2,3,1] => [4,1,3,2] => [1,3,2] => [3,1,2] => 1 = 2 - 1
[4,3,1,2] => [1,4,3,2] => [1,3,2] => [3,1,2] => 1 = 2 - 1
[4,3,2,1] => [4,3,2,1] => [3,2,1] => [3,2,1] => 2 = 3 - 1
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4] => [1,2,3,4] => 0 = 1 - 1
[1,2,3,5,4] => [2,3,4,5,1] => [2,3,4,1] => [1,2,4,3] => 1 = 2 - 1
[1,2,4,3,5] => [2,3,4,1,5] => [2,3,4,1] => [1,2,4,3] => 1 = 2 - 1
[1,2,4,5,3] => [2,3,5,1,4] => [2,3,1,4] => [1,3,2,4] => 1 = 2 - 1
[1,2,5,3,4] => [2,3,1,5,4] => [2,3,1,4] => [1,3,2,4] => 1 = 2 - 1
[1,2,5,4,3] => [3,4,5,2,1] => [3,4,2,1] => [1,4,3,2] => 2 = 3 - 1
[1,3,2,4,5] => [2,3,1,4,5] => [2,3,1,4] => [1,3,2,4] => 1 = 2 - 1
[1,3,2,5,4] => [3,4,2,5,1] => [3,4,2,1] => [1,4,3,2] => 2 = 3 - 1
[1,3,4,2,5] => [2,4,1,3,5] => [2,4,1,3] => [1,3,4,2] => 1 = 2 - 1
[1,3,4,5,2] => [2,5,1,3,4] => [2,1,3,4] => [2,1,3,4] => 1 = 2 - 1
[1,3,5,2,4] => [2,1,4,5,3] => [2,1,4,3] => [1,4,2,3] => 1 = 2 - 1
[1,3,5,4,2] => [3,5,2,4,1] => [3,2,4,1] => [2,1,4,3] => 2 = 3 - 1
[1,4,2,3,5] => [2,1,4,3,5] => [2,1,4,3] => [1,4,2,3] => 1 = 2 - 1
[1,4,2,5,3] => [3,4,5,1,2] => [3,4,1,2] => [3,1,4,2] => 2 = 3 - 1
[1,4,3,2,5] => [3,4,2,1,5] => [3,4,2,1] => [1,4,3,2] => 2 = 3 - 1
[1,4,3,5,2] => [3,5,2,1,4] => [3,2,1,4] => [3,2,1,4] => 2 = 3 - 1
[1,4,5,2,3] => [2,1,5,3,4] => [2,1,3,4] => [2,1,3,4] => 1 = 2 - 1
[1,4,5,3,2] => [3,5,4,1,2] => [3,4,1,2] => [3,1,4,2] => 2 = 3 - 1
Description
The number of descents of a permutation. This can be described as an occurrence of the vincular mesh pattern ([2,1], {(1,0),(1,1),(1,2)}), i.e., the middle column is shaded, see [3].