Your data matches 38 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St000209: 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] => 1
[2,3,1] => 2
[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] => 2
[1,4,2,3] => 2
[1,4,3,2] => 2
[2,1,3,4] => 1
[2,1,4,3] => 1
[2,3,1,4] => 2
[2,3,4,1] => 3
[2,4,1,3] => 3
[2,4,3,1] => 3
[3,1,2,4] => 2
[3,1,4,2] => 3
[3,2,1,4] => 2
[3,2,4,1] => 3
[3,4,1,2] => 2
[3,4,2,1] => 3
[4,1,2,3] => 3
[4,1,3,2] => 3
[4,2,1,3] => 3
[4,2,3,1] => 3
[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] => 2
[1,2,5,3,4] => 2
[1,2,5,4,3] => 2
[1,3,2,4,5] => 1
[1,3,2,5,4] => 1
[1,3,4,2,5] => 2
[1,3,4,5,2] => 3
[1,3,5,2,4] => 3
[1,3,5,4,2] => 3
[1,4,2,3,5] => 2
[1,4,2,5,3] => 3
[1,4,3,2,5] => 2
[1,4,3,5,2] => 3
[1,4,5,2,3] => 2
Description
Maximum difference of elements in cycles. Given a cycle $C$ in a permutation, we can compute the maximum distance between elements in the cycle, that is $\max \{ a_i-a_j | a_i, a_j \in C \}$. The statistic is then the maximum of this value over all cycles in the permutation.
Mp00159: Permutations Demazure product with inversePermutations
St000141: Permutations ⟶ ℤ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] => [2,1] => 1
[1,2,3] => [1,2,3] => 0
[1,3,2] => [1,3,2] => 1
[2,1,3] => [2,1,3] => 1
[2,3,1] => [3,2,1] => 2
[3,1,2] => [3,2,1] => 2
[3,2,1] => [3,2,1] => 2
[1,2,3,4] => [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => 1
[1,3,2,4] => [1,3,2,4] => 1
[1,3,4,2] => [1,4,3,2] => 2
[1,4,2,3] => [1,4,3,2] => 2
[1,4,3,2] => [1,4,3,2] => 2
[2,1,3,4] => [2,1,3,4] => 1
[2,1,4,3] => [2,1,4,3] => 1
[2,3,1,4] => [3,2,1,4] => 2
[2,3,4,1] => [4,2,3,1] => 3
[2,4,1,3] => [3,4,1,2] => 2
[2,4,3,1] => [4,3,2,1] => 3
[3,1,2,4] => [3,2,1,4] => 2
[3,1,4,2] => [4,2,3,1] => 3
[3,2,1,4] => [3,2,1,4] => 2
[3,2,4,1] => [4,2,3,1] => 3
[3,4,1,2] => [4,3,2,1] => 3
[3,4,2,1] => [4,3,2,1] => 3
[4,1,2,3] => [4,2,3,1] => 3
[4,1,3,2] => [4,2,3,1] => 3
[4,2,1,3] => [4,3,2,1] => 3
[4,2,3,1] => [4,3,2,1] => 3
[4,3,1,2] => [4,3,2,1] => 3
[4,3,2,1] => [4,3,2,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => 1
[1,2,4,5,3] => [1,2,5,4,3] => 2
[1,2,5,3,4] => [1,2,5,4,3] => 2
[1,2,5,4,3] => [1,2,5,4,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => 1
[1,3,2,5,4] => [1,3,2,5,4] => 1
[1,3,4,2,5] => [1,4,3,2,5] => 2
[1,3,4,5,2] => [1,5,3,4,2] => 3
[1,3,5,2,4] => [1,4,5,2,3] => 2
[1,3,5,4,2] => [1,5,4,3,2] => 3
[1,4,2,3,5] => [1,4,3,2,5] => 2
[1,4,2,5,3] => [1,5,3,4,2] => 3
[1,4,3,2,5] => [1,4,3,2,5] => 2
[1,4,3,5,2] => [1,5,3,4,2] => 3
[1,4,5,2,3] => [1,5,4,3,2] => 3
Description
The maximum drop size of a permutation. The maximum drop size of a permutation $\pi$ of $[n]=\{1,2,\ldots, n\}$ is defined to be the maximum value of $i-\pi(i)$.
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
St000013: Dyck paths ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> 1 = 0 + 1
[1,2] => [1,2] => [1,0,1,0]
=> 1 = 0 + 1
[2,1] => [2,1] => [1,1,0,0]
=> 2 = 1 + 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> 1 = 0 + 1
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> 2 = 1 + 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> 2 = 1 + 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> 3 = 2 + 1
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> 3 = 2 + 1
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> 3 = 2 + 1
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> 1 = 0 + 1
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> 2 = 1 + 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> 2 = 1 + 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> 2 = 1 + 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> 2 = 1 + 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> 3 = 2 + 1
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> 1 = 0 + 1
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> 2 = 1 + 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> 2 = 1 + 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> 3 = 2 + 1
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> 2 = 1 + 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> 2 = 1 + 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> 3 = 2 + 1
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> 3 = 2 + 1
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> 4 = 3 + 1
Description
The height of a Dyck path. The height of a Dyck path $D$ of semilength $n$ is defined as the maximal height of a peak of $D$. The height of $D$ at position $i$ is the number of up-steps minus the number of down-steps before position $i$.
Matching statistic: St000028
Mp00159: Permutations Demazure product with inversePermutations
Mp00087: Permutations inverse first fundamental transformationPermutations
Mp00067: Permutations Foata bijectionPermutations
St000028: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => [1,2] => 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] => [1,3,2] => [3,1,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => [2,1,3] => 1
[2,3,1] => [3,2,1] => [2,3,1] => [2,3,1] => 2
[3,1,2] => [3,2,1] => [2,3,1] => [2,3,1] => 2
[3,2,1] => [3,2,1] => [2,3,1] => [2,3,1] => 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] => [1,2,4,3] => [4,1,2,3] => 1
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => [3,1,2,4] => 1
[1,3,4,2] => [1,4,3,2] => [1,3,4,2] => [3,1,4,2] => 2
[1,4,2,3] => [1,4,3,2] => [1,3,4,2] => [3,1,4,2] => 2
[1,4,3,2] => [1,4,3,2] => [1,3,4,2] => [3,1,4,2] => 2
[2,1,3,4] => [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] => [4,2,1,3] => 1
[2,3,1,4] => [3,2,1,4] => [2,3,1,4] => [2,3,1,4] => 2
[2,3,4,1] => [4,2,3,1] => [2,3,4,1] => [2,3,4,1] => 3
[2,4,1,3] => [3,4,1,2] => [3,1,4,2] => [3,4,1,2] => 2
[2,4,3,1] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[3,1,2,4] => [3,2,1,4] => [2,3,1,4] => [2,3,1,4] => 2
[3,1,4,2] => [4,2,3,1] => [2,3,4,1] => [2,3,4,1] => 3
[3,2,1,4] => [3,2,1,4] => [2,3,1,4] => [2,3,1,4] => 2
[3,2,4,1] => [4,2,3,1] => [2,3,4,1] => [2,3,4,1] => 3
[3,4,1,2] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[3,4,2,1] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[4,1,2,3] => [4,2,3,1] => [2,3,4,1] => [2,3,4,1] => 3
[4,1,3,2] => [4,2,3,1] => [2,3,4,1] => [2,3,4,1] => 3
[4,2,1,3] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[4,2,3,1] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[4,3,1,2] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 3
[4,3,2,1] => [4,3,2,1] => [3,2,4,1] => [3,2,4,1] => 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] => [1,2,3,5,4] => [5,1,2,3,4] => 1
[1,2,4,3,5] => [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] => [1,2,4,5,3] => [4,1,2,5,3] => 2
[1,2,5,3,4] => [1,2,5,4,3] => [1,2,4,5,3] => [4,1,2,5,3] => 2
[1,2,5,4,3] => [1,2,5,4,3] => [1,2,4,5,3] => [4,1,2,5,3] => 2
[1,3,2,4,5] => [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] => [1,3,2,5,4] => [5,3,1,2,4] => 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,3,4,2,5] => [3,1,4,2,5] => 2
[1,3,4,5,2] => [1,5,3,4,2] => [1,3,4,5,2] => [3,1,4,5,2] => 3
[1,3,5,2,4] => [1,4,5,2,3] => [1,4,2,5,3] => [4,5,1,2,3] => 2
[1,3,5,4,2] => [1,5,4,3,2] => [1,4,3,5,2] => [4,3,1,5,2] => 3
[1,4,2,3,5] => [1,4,3,2,5] => [1,3,4,2,5] => [3,1,4,2,5] => 2
[1,4,2,5,3] => [1,5,3,4,2] => [1,3,4,5,2] => [3,1,4,5,2] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,3,4,2,5] => [3,1,4,2,5] => 2
[1,4,3,5,2] => [1,5,3,4,2] => [1,3,4,5,2] => [3,1,4,5,2] => 3
[1,4,5,2,3] => [1,5,4,3,2] => [1,4,3,5,2] => [4,3,1,5,2] => 3
Description
The number of stack-sorts needed to sort a permutation. A permutation is (West) $t$-stack sortable if it is sortable using $t$ stacks in series. Let $W_t(n,k)$ be the number of permutations of size $n$ with $k$ descents which are $t$-stack sortable. Then the polynomials $W_{n,t}(x) = \sum_{k=0}^n W_t(n,k)x^k$ are symmetric and unimodal. We have $W_{n,1}(x) = A_n(x)$, the Eulerian polynomials. One can show that $W_{n,1}(x)$ and $W_{n,2}(x)$ are real-rooted. Precisely the permutations that avoid the pattern $231$ have statistic at most $1$, see [3]. These are counted by $\frac{1}{n+1}\binom{2n}{n}$ ([[OEIS:A000108]]). Precisely the permutations that avoid the pattern $2341$ and the barred pattern $3\bar 5241$ have statistic at most $2$, see [4]. These are counted by $\frac{2(3n)!}{(n+1)!(2n+1)!}$ ([[OEIS:A000139]]).
Matching statistic: St000306
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
Mp00030: Dyck paths zeta mapDyck paths
St000306: Dyck paths ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> [1,0]
=> 0
[1,2] => [1,2] => [1,0,1,0]
=> [1,1,0,0]
=> 0
[2,1] => [2,1] => [1,1,0,0]
=> [1,0,1,0]
=> 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> 0
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> [1,0,1,1,0,0]
=> 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> [1,1,0,1,0,0]
=> 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> 2
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> 2
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> [1,0,1,0,1,0]
=> 2
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> 0
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,0,0,0]
=> 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,0]
=> 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> 2
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> 2
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,0,0]
=> 2
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,0,0,0]
=> 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [1,1,0,1,0,1,0,0]
=> 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,0]
=> 2
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,0,0]
=> 2
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,0]
=> 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,1,1,1,1,0,0,0,0,0]
=> 0
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,1,0,0,0,0]
=> 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 2
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 2
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,0,1,0,1,1,1,0,0,0]
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,1,1,0,1,1,0,0,0,0]
=> 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [1,1,0,1,0,1,1,0,0,0]
=> 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,1,0,0,0]
=> 2
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 3
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,1,0,0,1,0,1,1,0,0]
=> 2
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 3
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,1,0,0,0]
=> 2
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,0,1,1,0,1,1,0,0,0]
=> 2
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 3
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,0,1,0,1,0,1,1,0,0]
=> 3
Description
The bounce count of a Dyck path. For a Dyck path $D$ of length $2n$, this is the number of points $(i,i)$ for $1 \leq i < n$ that are touching points of the [[Mp00099|bounce path]] of $D$.
Mp00159: Permutations Demazure product with inversePermutations
Mp00087: Permutations inverse first fundamental transformationPermutations
Mp00069: Permutations complementPermutations
St000651: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1] => [1] => 0
[1,2] => [1,2] => [1,2] => [2,1] => 0
[2,1] => [2,1] => [2,1] => [1,2] => 1
[1,2,3] => [1,2,3] => [1,2,3] => [3,2,1] => 0
[1,3,2] => [1,3,2] => [1,3,2] => [3,1,2] => 1
[2,1,3] => [2,1,3] => [2,1,3] => [2,3,1] => 1
[2,3,1] => [3,2,1] => [2,3,1] => [2,1,3] => 2
[3,1,2] => [3,2,1] => [2,3,1] => [2,1,3] => 2
[3,2,1] => [3,2,1] => [2,3,1] => [2,1,3] => 2
[1,2,3,4] => [1,2,3,4] => [1,2,3,4] => [4,3,2,1] => 0
[1,2,4,3] => [1,2,4,3] => [1,2,4,3] => [4,3,1,2] => 1
[1,3,2,4] => [1,3,2,4] => [1,3,2,4] => [4,2,3,1] => 1
[1,3,4,2] => [1,4,3,2] => [1,3,4,2] => [4,2,1,3] => 2
[1,4,2,3] => [1,4,3,2] => [1,3,4,2] => [4,2,1,3] => 2
[1,4,3,2] => [1,4,3,2] => [1,3,4,2] => [4,2,1,3] => 2
[2,1,3,4] => [2,1,3,4] => [2,1,3,4] => [3,4,2,1] => 1
[2,1,4,3] => [2,1,4,3] => [2,1,4,3] => [3,4,1,2] => 1
[2,3,1,4] => [3,2,1,4] => [2,3,1,4] => [3,2,4,1] => 2
[2,3,4,1] => [4,2,3,1] => [2,3,4,1] => [3,2,1,4] => 3
[2,4,1,3] => [3,4,1,2] => [3,1,4,2] => [2,4,1,3] => 2
[2,4,3,1] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[3,1,2,4] => [3,2,1,4] => [2,3,1,4] => [3,2,4,1] => 2
[3,1,4,2] => [4,2,3,1] => [2,3,4,1] => [3,2,1,4] => 3
[3,2,1,4] => [3,2,1,4] => [2,3,1,4] => [3,2,4,1] => 2
[3,2,4,1] => [4,2,3,1] => [2,3,4,1] => [3,2,1,4] => 3
[3,4,1,2] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[3,4,2,1] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[4,1,2,3] => [4,2,3,1] => [2,3,4,1] => [3,2,1,4] => 3
[4,1,3,2] => [4,2,3,1] => [2,3,4,1] => [3,2,1,4] => 3
[4,2,1,3] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[4,2,3,1] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[4,3,1,2] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[4,3,2,1] => [4,3,2,1] => [3,2,4,1] => [2,3,1,4] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,2,3,4,5] => [5,4,3,2,1] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [1,2,3,5,4] => [5,4,3,1,2] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,2,4,3,5] => [5,4,2,3,1] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,2,4,5,3] => [5,4,2,1,3] => 2
[1,2,5,3,4] => [1,2,5,4,3] => [1,2,4,5,3] => [5,4,2,1,3] => 2
[1,2,5,4,3] => [1,2,5,4,3] => [1,2,4,5,3] => [5,4,2,1,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,3,2,4,5] => [5,3,4,2,1] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,3,2,5,4] => [5,3,4,1,2] => 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,3,4,2,5] => [5,3,2,4,1] => 2
[1,3,4,5,2] => [1,5,3,4,2] => [1,3,4,5,2] => [5,3,2,1,4] => 3
[1,3,5,2,4] => [1,4,5,2,3] => [1,4,2,5,3] => [5,2,4,1,3] => 2
[1,3,5,4,2] => [1,5,4,3,2] => [1,4,3,5,2] => [5,2,3,1,4] => 3
[1,4,2,3,5] => [1,4,3,2,5] => [1,3,4,2,5] => [5,3,2,4,1] => 2
[1,4,2,5,3] => [1,5,3,4,2] => [1,3,4,5,2] => [5,3,2,1,4] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,3,4,2,5] => [5,3,2,4,1] => 2
[1,4,3,5,2] => [1,5,3,4,2] => [1,3,4,5,2] => [5,3,2,1,4] => 3
[1,4,5,2,3] => [1,5,4,3,2] => [1,4,3,5,2] => [5,2,3,1,4] => 3
Description
The maximal size of a rise in a permutation. This is $\max_i \sigma_{i+1}-\sigma_i$, except for the permutations without rises, where it is $0$.
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
Mp00023: Dyck paths to non-crossing permutationPermutations
St000662: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> [1] => 0
[1,2] => [1,2] => [1,0,1,0]
=> [1,2] => 0
[2,1] => [2,1] => [1,1,0,0]
=> [2,1] => 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> [1,2,3] => 0
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> [1,3,2] => 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> [2,1,3] => 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> [3,2,1] => 2
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> [3,2,1] => 2
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> [3,2,1] => 2
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => 0
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [1,2,4,3] => 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [1,3,2,4] => 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,4,3,2] => 2
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,4,3,2] => 2
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [1,4,3,2] => 2
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [2,1,3,4] => 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [2,1,4,3] => 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [3,2,1,4] => 2
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [4,2,3,1] => 2
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [3,2,1,4] => 2
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [3,2,1,4] => 2
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [1,2,3,4,5] => 0
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [1,2,3,5,4] => 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [1,2,4,3,5] => 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,4,3] => 2
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,4,3] => 2
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,4,3] => 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [1,3,2,4,5] => 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [1,3,2,5,4] => 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,4,3,2,5] => 2
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 3
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [1,5,3,4,2] => 2
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 3
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,4,3,2,5] => 2
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [1,4,3,2,5] => 2
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 3
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [1,5,4,3,2] => 3
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: St001046
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
Mp00146: Dyck paths to tunnel matchingPerfect matchings
St001046: Perfect matchings ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> [(1,2)]
=> 0
[1,2] => [1,2] => [1,0,1,0]
=> [(1,2),(3,4)]
=> 0
[2,1] => [2,1] => [1,1,0,0]
=> [(1,4),(2,3)]
=> 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6)]
=> 0
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> [(1,2),(3,6),(4,5)]
=> 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> [(1,4),(2,3),(5,6)]
=> 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> [(1,6),(2,5),(3,4)]
=> 2
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> [(1,6),(2,5),(3,4)]
=> 2
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> [(1,6),(2,5),(3,4)]
=> 2
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8)]
=> 0
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [(1,2),(3,4),(5,8),(6,7)]
=> 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [(1,2),(3,6),(4,5),(7,8)]
=> 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [(1,2),(3,8),(4,7),(5,6)]
=> 2
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [(1,2),(3,8),(4,7),(5,6)]
=> 2
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [(1,2),(3,8),(4,7),(5,6)]
=> 2
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [(1,4),(2,3),(5,6),(7,8)]
=> 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [(1,4),(2,3),(5,8),(6,7)]
=> 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [(1,6),(2,5),(3,4),(7,8)]
=> 2
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [(1,8),(2,7),(3,4),(5,6)]
=> 2
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [(1,6),(2,5),(3,4),(7,8)]
=> 2
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [(1,6),(2,5),(3,4),(7,8)]
=> 2
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [(1,8),(2,7),(3,6),(4,5)]
=> 3
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [(1,2),(3,4),(5,6),(7,8),(9,10)]
=> 0
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [(1,2),(3,4),(5,6),(7,10),(8,9)]
=> 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [(1,2),(3,4),(5,8),(6,7),(9,10)]
=> 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [(1,2),(3,4),(5,10),(6,9),(7,8)]
=> 2
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [(1,2),(3,4),(5,10),(6,9),(7,8)]
=> 2
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [(1,2),(3,4),(5,10),(6,9),(7,8)]
=> 2
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [(1,2),(3,6),(4,5),(7,8),(9,10)]
=> 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [(1,2),(3,6),(4,5),(7,10),(8,9)]
=> 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [(1,2),(3,8),(4,7),(5,6),(9,10)]
=> 2
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 3
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [(1,2),(3,10),(4,9),(5,6),(7,8)]
=> 2
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 3
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [(1,2),(3,8),(4,7),(5,6),(9,10)]
=> 2
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 3
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [(1,2),(3,8),(4,7),(5,6),(9,10)]
=> 2
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 3
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [(1,2),(3,10),(4,9),(5,8),(6,7)]
=> 3
Description
The maximal number of arcs nesting a given arc of a perfect matching. This is also the largest weight of a down step in the histoire d'Hermite corresponding to the perfect matching.
Matching statistic: St000062
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
Mp00025: Dyck paths to 132-avoiding permutationPermutations
St000062: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> [1] => 1 = 0 + 1
[1,2] => [1,2] => [1,0,1,0]
=> [2,1] => 1 = 0 + 1
[2,1] => [2,1] => [1,1,0,0]
=> [1,2] => 2 = 1 + 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> [3,2,1] => 1 = 0 + 1
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> [2,3,1] => 2 = 1 + 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> [3,1,2] => 2 = 1 + 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> [1,2,3] => 3 = 2 + 1
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> [1,2,3] => 3 = 2 + 1
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> [1,2,3] => 3 = 2 + 1
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [4,3,2,1] => 1 = 0 + 1
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [3,4,2,1] => 2 = 1 + 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [4,2,3,1] => 2 = 1 + 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [2,3,4,1] => 3 = 2 + 1
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [2,3,4,1] => 3 = 2 + 1
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [2,3,4,1] => 3 = 2 + 1
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [4,3,1,2] => 2 = 1 + 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [3,4,1,2] => 2 = 1 + 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [4,1,2,3] => 3 = 2 + 1
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [2,1,3,4] => 3 = 2 + 1
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [4,1,2,3] => 3 = 2 + 1
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [4,1,2,3] => 3 = 2 + 1
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 4 = 3 + 1
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [5,4,3,2,1] => 1 = 0 + 1
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [4,5,3,2,1] => 2 = 1 + 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [5,3,4,2,1] => 2 = 1 + 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [3,4,5,2,1] => 3 = 2 + 1
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [3,4,5,2,1] => 3 = 2 + 1
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [3,4,5,2,1] => 3 = 2 + 1
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [5,4,2,3,1] => 2 = 1 + 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [4,5,2,3,1] => 2 = 1 + 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [5,2,3,4,1] => 3 = 2 + 1
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 4 = 3 + 1
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [3,2,4,5,1] => 3 = 2 + 1
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 4 = 3 + 1
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [5,2,3,4,1] => 3 = 2 + 1
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 4 = 3 + 1
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [5,2,3,4,1] => 3 = 2 + 1
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 4 = 3 + 1
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 4 = 3 + 1
Description
The length of the longest increasing subsequence of the permutation.
Matching statistic: St000166
Mp00159: Permutations Demazure product with inversePermutations
Mp00127: Permutations left-to-right-maxima to Dyck pathDyck paths
Mp00026: Dyck paths to ordered treeOrdered trees
St000166: Ordered trees ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1] => [1,0]
=> [[]]
=> 1 = 0 + 1
[1,2] => [1,2] => [1,0,1,0]
=> [[],[]]
=> 1 = 0 + 1
[2,1] => [2,1] => [1,1,0,0]
=> [[[]]]
=> 2 = 1 + 1
[1,2,3] => [1,2,3] => [1,0,1,0,1,0]
=> [[],[],[]]
=> 1 = 0 + 1
[1,3,2] => [1,3,2] => [1,0,1,1,0,0]
=> [[],[[]]]
=> 2 = 1 + 1
[2,1,3] => [2,1,3] => [1,1,0,0,1,0]
=> [[[]],[]]
=> 2 = 1 + 1
[2,3,1] => [3,2,1] => [1,1,1,0,0,0]
=> [[[[]]]]
=> 3 = 2 + 1
[3,1,2] => [3,2,1] => [1,1,1,0,0,0]
=> [[[[]]]]
=> 3 = 2 + 1
[3,2,1] => [3,2,1] => [1,1,1,0,0,0]
=> [[[[]]]]
=> 3 = 2 + 1
[1,2,3,4] => [1,2,3,4] => [1,0,1,0,1,0,1,0]
=> [[],[],[],[]]
=> 1 = 0 + 1
[1,2,4,3] => [1,2,4,3] => [1,0,1,0,1,1,0,0]
=> [[],[],[[]]]
=> 2 = 1 + 1
[1,3,2,4] => [1,3,2,4] => [1,0,1,1,0,0,1,0]
=> [[],[[]],[]]
=> 2 = 1 + 1
[1,3,4,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [[],[[[]]]]
=> 3 = 2 + 1
[1,4,2,3] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [[],[[[]]]]
=> 3 = 2 + 1
[1,4,3,2] => [1,4,3,2] => [1,0,1,1,1,0,0,0]
=> [[],[[[]]]]
=> 3 = 2 + 1
[2,1,3,4] => [2,1,3,4] => [1,1,0,0,1,0,1,0]
=> [[[]],[],[]]
=> 2 = 1 + 1
[2,1,4,3] => [2,1,4,3] => [1,1,0,0,1,1,0,0]
=> [[[]],[[]]]
=> 2 = 1 + 1
[2,3,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [[[[]]],[]]
=> 3 = 2 + 1
[2,3,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[2,4,1,3] => [3,4,1,2] => [1,1,1,0,1,0,0,0]
=> [[[[],[]]]]
=> 3 = 2 + 1
[2,4,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[3,1,2,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [[[[]]],[]]
=> 3 = 2 + 1
[3,1,4,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[3,2,1,4] => [3,2,1,4] => [1,1,1,0,0,0,1,0]
=> [[[[]]],[]]
=> 3 = 2 + 1
[3,2,4,1] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[3,4,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[3,4,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,1,2,3] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,1,3,2] => [4,2,3,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,2,1,3] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,2,3,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,3,1,2] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[4,3,2,1] => [4,3,2,1] => [1,1,1,1,0,0,0,0]
=> [[[[[]]]]]
=> 4 = 3 + 1
[1,2,3,4,5] => [1,2,3,4,5] => [1,0,1,0,1,0,1,0,1,0]
=> [[],[],[],[],[]]
=> 1 = 0 + 1
[1,2,3,5,4] => [1,2,3,5,4] => [1,0,1,0,1,0,1,1,0,0]
=> [[],[],[],[[]]]
=> 2 = 1 + 1
[1,2,4,3,5] => [1,2,4,3,5] => [1,0,1,0,1,1,0,0,1,0]
=> [[],[],[[]],[]]
=> 2 = 1 + 1
[1,2,4,5,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [[],[],[[[]]]]
=> 3 = 2 + 1
[1,2,5,3,4] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [[],[],[[[]]]]
=> 3 = 2 + 1
[1,2,5,4,3] => [1,2,5,4,3] => [1,0,1,0,1,1,1,0,0,0]
=> [[],[],[[[]]]]
=> 3 = 2 + 1
[1,3,2,4,5] => [1,3,2,4,5] => [1,0,1,1,0,0,1,0,1,0]
=> [[],[[]],[],[]]
=> 2 = 1 + 1
[1,3,2,5,4] => [1,3,2,5,4] => [1,0,1,1,0,0,1,1,0,0]
=> [[],[[]],[[]]]
=> 2 = 1 + 1
[1,3,4,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [[],[[[]]],[]]
=> 3 = 2 + 1
[1,3,4,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [[],[[[[]]]]]
=> 4 = 3 + 1
[1,3,5,2,4] => [1,4,5,2,3] => [1,0,1,1,1,0,1,0,0,0]
=> [[],[[[],[]]]]
=> 3 = 2 + 1
[1,3,5,4,2] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [[],[[[[]]]]]
=> 4 = 3 + 1
[1,4,2,3,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [[],[[[]]],[]]
=> 3 = 2 + 1
[1,4,2,5,3] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [[],[[[[]]]]]
=> 4 = 3 + 1
[1,4,3,2,5] => [1,4,3,2,5] => [1,0,1,1,1,0,0,0,1,0]
=> [[],[[[]]],[]]
=> 3 = 2 + 1
[1,4,3,5,2] => [1,5,3,4,2] => [1,0,1,1,1,1,0,0,0,0]
=> [[],[[[[]]]]]
=> 4 = 3 + 1
[1,4,5,2,3] => [1,5,4,3,2] => [1,0,1,1,1,1,0,0,0,0]
=> [[],[[[[]]]]]
=> 4 = 3 + 1
Description
The depth minus 1 of an ordered tree. The ordered trees of size $n$ are bijection with the Dyck paths of size $n-1$, and this statistic then corresponds to [[St000013]].
The following 28 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000442The maximal area to the right of an up step of a Dyck path. St000720The size of the largest partition in the oscillating tableau corresponding to the perfect matching. St001203We associate to a CNakayama algebra (a Nakayama algebra with a cyclic quiver) with Kupisch series $L=[c_0,c_1,...,c_{n-1}]$ such that $n=c_0 < c_i$ for all $i > 0$ a Dyck path as follows: St000094The depth of an ordered tree. St000503The maximal difference between two elements in a common block. St000956The maximal displacement of a permutation. St000730The maximal arc length of a set partition. St001039The maximal height of a column in the parallelogram polyomino associated with a Dyck path. St001232The number of indecomposable modules with projective dimension 2 for Nakayama algebras with global dimension at most 2. St000454The largest eigenvalue of a graph if it is integral. St001330The hat guessing number of a graph. St000777The number of distinct eigenvalues of the distance Laplacian of a connected graph. St001645The pebbling number of a connected graph. St000264The girth of a graph, which is not a tree. St000259The diameter of a connected graph. St001589The nesting number of a perfect matching. St001879The number of indecomposable summands of the top of the first syzygy of the dual of the regular module in the incidence algebra of the lattice. St001875The number of simple modules with projective dimension at most 1. St001060The distinguishing index of a graph. St000455The second largest eigenvalue of a graph if it is integral. St001876The number of 2-regular simple modules in the incidence algebra of the lattice. St001880The number of 2-Gorenstein indecomposable injective modules in the incidence algebra of the lattice. St001630The global dimension of the incidence algebra of the lattice over the rational numbers. St001878The projective dimension of the simple modules corresponding to the minimum of L in the incidence algebra of the lattice L. St001207The Lowey length of the algebra $A/T$ when $T$ is the 1-tilting module corresponding to the permutation in the Auslander algebra of $K[x]/(x^n)$. St001596The number of two-by-two squares inside a skew partition. St001633The number of simple modules with projective dimension two in the incidence algebra of the poset. St001877Number of indecomposable injective modules with projective dimension 2.