Your data matches 175 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St000317: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 0
[1,2] => 0
[2,1] => 0
[1,2,3] => 0
[1,3,2] => 0
[2,1,3] => 0
[2,3,1] => 0
[3,1,2] => 1
[3,2,1] => 0
[1,2,3,4] => 0
[1,2,4,3] => 0
[1,3,2,4] => 0
[1,3,4,2] => 0
[1,4,2,3] => 1
[1,4,3,2] => 0
[2,1,3,4] => 0
[2,1,4,3] => 0
[2,3,1,4] => 0
[2,3,4,1] => 0
[2,4,1,3] => 1
[2,4,3,1] => 0
[3,1,2,4] => 1
[3,1,4,2] => 1
[3,2,1,4] => 0
[3,2,4,1] => 0
[3,4,1,2] => 0
[3,4,2,1] => 1
[4,1,2,3] => 2
[4,1,3,2] => 1
[4,2,1,3] => 1
[4,2,3,1] => 0
[4,3,1,2] => 1
[4,3,2,1] => 0
[1,2,3,4,5] => 0
[1,2,3,5,4] => 0
[1,2,4,3,5] => 0
[1,2,4,5,3] => 0
[1,2,5,3,4] => 1
[1,2,5,4,3] => 0
[1,3,2,4,5] => 0
[1,3,2,5,4] => 0
[1,3,4,2,5] => 0
[1,3,4,5,2] => 0
[1,3,5,2,4] => 1
[1,3,5,4,2] => 0
[1,4,2,3,5] => 1
[1,4,2,5,3] => 1
[1,4,3,2,5] => 0
[1,4,3,5,2] => 0
[1,4,5,2,3] => 0
Description
The cycle descent number of a permutation. Let $(i_1,\ldots,i_k)$ be a cycle of a permutation $\pi$ such that $i_1$ is its smallest element. A **cycle descent** of $(i_1,\ldots,i_k)$ is an $i_a$ for $1 \leq a < k$ such that $i_a > i_{a+1}$. The **cycle descent set** of $\pi$ is then the set of descents in all the cycles of $\pi$, and the **cycle descent number** is its cardinality.
St000373: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 0
[1,2] => 0
[2,1] => 0
[1,2,3] => 0
[1,3,2] => 0
[2,1,3] => 0
[2,3,1] => 0
[3,1,2] => 0
[3,2,1] => 1
[1,2,3,4] => 0
[1,2,4,3] => 0
[1,3,2,4] => 0
[1,3,4,2] => 0
[1,4,2,3] => 0
[1,4,3,2] => 1
[2,1,3,4] => 0
[2,1,4,3] => 0
[2,3,1,4] => 0
[2,3,4,1] => 0
[2,4,1,3] => 0
[2,4,3,1] => 1
[3,1,2,4] => 0
[3,1,4,2] => 0
[3,2,1,4] => 1
[3,2,4,1] => 1
[3,4,1,2] => 0
[3,4,2,1] => 0
[4,1,2,3] => 0
[4,1,3,2] => 1
[4,2,1,3] => 1
[4,2,3,1] => 2
[4,3,1,2] => 1
[4,3,2,1] => 1
[1,2,3,4,5] => 0
[1,2,3,5,4] => 0
[1,2,4,3,5] => 0
[1,2,4,5,3] => 0
[1,2,5,3,4] => 0
[1,2,5,4,3] => 1
[1,3,2,4,5] => 0
[1,3,2,5,4] => 0
[1,3,4,2,5] => 0
[1,3,4,5,2] => 0
[1,3,5,2,4] => 0
[1,3,5,4,2] => 1
[1,4,2,3,5] => 0
[1,4,2,5,3] => 0
[1,4,3,2,5] => 1
[1,4,3,5,2] => 1
[1,4,5,2,3] => 0
Description
The number of weak exceedences of a permutation that are also mid-points of a decreasing subsequence of length $3$. Given a permutation $\pi = [\pi_1,\ldots,\pi_n]$, this statistic counts the number of position $j$ such that $\pi_j \geq j$ and there exist indices $i,k$ with $i < j < k$ and $\pi_i > \pi_j > \pi_k$. See also [[St000213]] and [[St000119]].
St001744: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 0
[1,2] => 0
[2,1] => 0
[1,2,3] => 0
[1,3,2] => 0
[2,1,3] => 0
[2,3,1] => 0
[3,1,2] => 1
[3,2,1] => 0
[1,2,3,4] => 0
[1,2,4,3] => 0
[1,3,2,4] => 0
[1,3,4,2] => 0
[1,4,2,3] => 1
[1,4,3,2] => 0
[2,1,3,4] => 0
[2,1,4,3] => 0
[2,3,1,4] => 0
[2,3,4,1] => 0
[2,4,1,3] => 1
[2,4,3,1] => 0
[3,1,2,4] => 1
[3,1,4,2] => 0
[3,2,1,4] => 0
[3,2,4,1] => 0
[3,4,1,2] => 1
[3,4,2,1] => 0
[4,1,2,3] => 2
[4,1,3,2] => 1
[4,2,1,3] => 1
[4,2,3,1] => 1
[4,3,1,2] => 1
[4,3,2,1] => 0
[1,2,3,4,5] => 0
[1,2,3,5,4] => 0
[1,2,4,3,5] => 0
[1,2,4,5,3] => 0
[1,2,5,3,4] => 1
[1,2,5,4,3] => 0
[1,3,2,4,5] => 0
[1,3,2,5,4] => 0
[1,3,4,2,5] => 0
[1,3,4,5,2] => 0
[1,3,5,2,4] => 1
[1,3,5,4,2] => 0
[1,4,2,3,5] => 1
[1,4,2,5,3] => 0
[1,4,3,2,5] => 0
[1,4,3,5,2] => 0
[1,4,5,2,3] => 1
Description
The number of occurrences of the arrow pattern 1-2 with an arrow from 1 to 2 in a permutation. Let $\nu$ be a (partial) permutation of $[k]$ with $m$ letters together with dashes between some of its letters. An occurrence of $\nu$ in a permutation $\tau$ is a subsequence $\tau_{a_1},\dots,\tau_{a_m}$ such that $a_i + 1 = a_{i+1}$ whenever there is a dash between the $i$-th and the $(i+1)$-st letter of $\nu$, which is order isomorphic to $\nu$. Thus, $\nu$ is a vincular pattern, except that it is not required to be a permutation. An arrow pattern of size $k$ consists of such a generalized vincular pattern $\nu$ and arrows $b_1\to c_1, b_2\to c_2,\dots$, such that precisely the numbers $1,\dots,k$ appear in the vincular pattern and the arrows. Let $\Phi$ be the map [[Mp00087]]. Let $\tau$ be a permutation and $\sigma = \Phi(\tau)$. Then a subsequence $w = (x_{a_1},\dots,x_{a_m})$ of $\tau$ is an occurrence of the arrow pattern if $w$ is an occurrence of $\nu$, for each arrow $b\to c$ we have $\sigma(x_b) = x_c$ and $x_1 < x_2 < \dots < x_k$.
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00020: Binary trees to Tamari-corresponding Dyck pathDyck paths
St000052: Dyck paths ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1,0]
=> 0
[1,2] => [.,[.,.]]
=> [1,1,0,0]
=> 0
[2,1] => [[.,.],.]
=> [1,0,1,0]
=> 0
[1,2,3] => [.,[.,[.,.]]]
=> [1,1,1,0,0,0]
=> 0
[1,3,2] => [.,[[.,.],.]]
=> [1,1,0,1,0,0]
=> 1
[2,1,3] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> 0
[2,3,1] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> 0
[3,1,2] => [[.,[.,.]],.]
=> [1,1,0,0,1,0]
=> 0
[3,2,1] => [[[.,.],.],.]
=> [1,0,1,0,1,0]
=> 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [1,1,1,1,0,0,0,0]
=> 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [1,1,1,0,1,0,0,0]
=> 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> 1
[1,3,4,2] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> 1
[1,4,2,3] => [.,[[.,[.,.]],.]]
=> [1,1,1,0,0,1,0,0]
=> 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [1,1,0,1,0,1,0,0]
=> 2
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> 1
[2,3,1,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> 0
[2,3,4,1] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> 0
[2,4,1,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> 1
[2,4,3,1] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> 1
[3,1,2,4] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> 0
[3,1,4,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> 0
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> 0
[3,2,4,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> 0
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> 0
[3,4,2,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> 0
[4,1,2,3] => [[.,[.,[.,.]]],.]
=> [1,1,1,0,0,0,1,0]
=> 0
[4,1,3,2] => [[.,[[.,.],.]],.]
=> [1,1,0,1,0,0,1,0]
=> 1
[4,2,1,3] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> 0
[4,3,1,2] => [[[.,[.,.]],.],.]
=> [1,1,0,0,1,0,1,0]
=> 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,0,1,0,1,0,1,0]
=> 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [1,1,1,1,1,0,0,0,0,0]
=> 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [1,1,1,1,0,1,0,0,0,0]
=> 1
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> 1
[1,2,4,5,3] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> 1
[1,2,5,3,4] => [.,[.,[[.,[.,.]],.]]]
=> [1,1,1,1,0,0,1,0,0,0]
=> 1
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [1,1,1,0,1,0,1,0,0,0]
=> 2
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> 1
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> 2
[1,3,4,2,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> 1
[1,3,4,5,2] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> 1
[1,3,5,2,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> 2
[1,3,5,4,2] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> 2
[1,4,2,3,5] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> 1
[1,4,2,5,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> 1
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> 2
[1,4,3,5,2] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> 2
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> 1
Description
The number of valleys of a Dyck path not on the x-axis. That is, the number of valleys of nonminimal height. This corresponds to the number of -1's in an inclusion of Dyck paths into alternating sign matrices.
Mp00061: Permutations to increasing treeBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
St000371: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1] => 0
[1,2] => [.,[.,.]]
=> [2,1] => 0
[2,1] => [[.,.],.]
=> [1,2] => 0
[1,2,3] => [.,[.,[.,.]]]
=> [3,2,1] => 1
[1,3,2] => [.,[[.,.],.]]
=> [2,3,1] => 0
[2,1,3] => [[.,.],[.,.]]
=> [1,3,2] => 0
[2,3,1] => [[.,[.,.]],.]
=> [2,1,3] => 0
[3,1,2] => [[.,.],[.,.]]
=> [1,3,2] => 0
[3,2,1] => [[[.,.],.],.]
=> [1,2,3] => 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => 2
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [3,4,2,1] => 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [2,4,3,1] => 1
[1,3,4,2] => [.,[[.,[.,.]],.]]
=> [3,2,4,1] => 1
[1,4,2,3] => [.,[[.,.],[.,.]]]
=> [2,4,3,1] => 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [2,3,4,1] => 0
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 1
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 0
[2,3,1,4] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 0
[2,3,4,1] => [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 1
[2,4,1,3] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 0
[2,4,3,1] => [[.,[[.,.],.]],.]
=> [2,3,1,4] => 0
[3,1,2,4] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 1
[3,1,4,2] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 0
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 0
[3,2,4,1] => [[[.,.],[.,.]],.]
=> [1,3,2,4] => 0
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 0
[3,4,2,1] => [[[.,[.,.]],.],.]
=> [2,1,3,4] => 0
[4,1,2,3] => [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 1
[4,1,3,2] => [[.,.],[[.,.],.]]
=> [1,3,4,2] => 0
[4,2,1,3] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,3,2,4] => 0
[4,3,1,2] => [[[.,.],.],[.,.]]
=> [1,2,4,3] => 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,2,3,4] => 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => 3
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => 2
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [3,5,4,2,1] => 2
[1,2,4,5,3] => [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => 2
[1,2,5,3,4] => [.,[.,[[.,.],[.,.]]]]
=> [3,5,4,2,1] => 2
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => 1
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [2,5,4,3,1] => 2
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [2,4,5,3,1] => 1
[1,3,4,2,5] => [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 2
[1,3,4,5,2] => [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => 2
[1,3,5,2,4] => [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 2
[1,3,5,4,2] => [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => 1
[1,4,2,3,5] => [.,[[.,.],[.,[.,.]]]]
=> [2,5,4,3,1] => 2
[1,4,2,5,3] => [.,[[.,.],[[.,.],.]]]
=> [2,4,5,3,1] => 1
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [2,3,5,4,1] => 1
[1,4,3,5,2] => [.,[[[.,.],[.,.]],.]]
=> [2,4,3,5,1] => 1
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 2
Description
The number of mid points of decreasing subsequences of length 3 in a permutation. For a permutation $\pi$ of $\{1,\ldots,n\}$, this is the number of indices $j$ such that there exist indices $i,k$ with $i < j < k$ and $\pi(i) > \pi(j) > \pi(k)$. In other words, this is the number of indices that are neither left-to-right maxima nor right-to-left minima. This statistic can also be expressed as the number of occurrences of the mesh pattern ([3,2,1], {(0,2),(0,3),(2,0),(3,0)}): the shading fixes the first and the last element of the decreasing subsequence. See also [[St000119]].
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00014: Binary trees to 132-avoiding permutationPermutations
St000372: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1] => 0
[1,2] => [.,[.,.]]
=> [2,1] => 0
[2,1] => [[.,.],.]
=> [1,2] => 0
[1,2,3] => [.,[.,[.,.]]]
=> [3,2,1] => 0
[1,3,2] => [.,[[.,.],.]]
=> [2,3,1] => 0
[2,1,3] => [[.,.],[.,.]]
=> [3,1,2] => 0
[2,3,1] => [[.,.],[.,.]]
=> [3,1,2] => 0
[3,1,2] => [[.,[.,.]],.]
=> [2,1,3] => 0
[3,2,1] => [[[.,.],.],.]
=> [1,2,3] => 1
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [3,4,2,1] => 0
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => 0
[1,3,4,2] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => 0
[1,4,2,3] => [.,[[.,[.,.]],.]]
=> [3,2,4,1] => 0
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [2,3,4,1] => 1
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => 0
[2,3,1,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => 0
[2,3,4,1] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => 0
[2,4,1,3] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => 0
[2,4,3,1] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => 0
[3,1,2,4] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => 0
[3,1,4,2] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => 0
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => 1
[3,2,4,1] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => 1
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => 0
[3,4,2,1] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => 1
[4,1,2,3] => [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 0
[4,1,3,2] => [[.,[[.,.],.]],.]
=> [2,3,1,4] => 1
[4,2,1,3] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => 1
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => 1
[4,3,1,2] => [[[.,[.,.]],.],.]
=> [2,1,3,4] => 1
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,2,3,4] => 2
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => 0
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => 0
[1,2,4,5,3] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => 0
[1,2,5,3,4] => [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => 0
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => 1
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => 0
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => 0
[1,3,4,2,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => 0
[1,3,4,5,2] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => 0
[1,3,5,2,4] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => 0
[1,3,5,4,2] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => 0
[1,4,2,3,5] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => 0
[1,4,2,5,3] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => 0
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [5,2,3,4,1] => 1
[1,4,3,5,2] => [.,[[[.,.],.],[.,.]]]
=> [5,2,3,4,1] => 1
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => 0
Description
The number of mid points of increasing subsequences of length 3 in a permutation. For a permutation $\pi$ of $\{1,\ldots,n\}$, this is the number of indices $j$ such that there exist indices $i,k$ with $i < j < k$ and $\pi(i) < \pi(j) < \pi(k)$. The generating function is given by [1].
Mp00072: Permutations binary search tree: left to rightBinary trees
Mp00020: Binary trees to Tamari-corresponding Dyck pathDyck paths
Mp00035: Dyck paths to alternating sign matrixAlternating sign matrices
St000065: Alternating sign matrices ⟶ ℤ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]
=> [[0,1],[1,0]]
=> 0
[2,1] => [[.,.],.]
=> [1,0,1,0]
=> [[1,0],[0,1]]
=> 0
[1,2,3] => [.,[.,[.,.]]]
=> [1,1,1,0,0,0]
=> [[0,0,1],[1,0,0],[0,1,0]]
=> 0
[1,3,2] => [.,[[.,.],.]]
=> [1,1,0,1,0,0]
=> [[0,1,0],[1,-1,1],[0,1,0]]
=> 1
[2,1,3] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> [[1,0,0],[0,0,1],[0,1,0]]
=> 0
[2,3,1] => [[.,.],[.,.]]
=> [1,0,1,1,0,0]
=> [[1,0,0],[0,0,1],[0,1,0]]
=> 0
[3,1,2] => [[.,[.,.]],.]
=> [1,1,0,0,1,0]
=> [[0,1,0],[1,0,0],[0,0,1]]
=> 0
[3,2,1] => [[[.,.],.],.]
=> [1,0,1,0,1,0]
=> [[1,0,0],[0,1,0],[0,0,1]]
=> 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [1,1,1,1,0,0,0,0]
=> [[0,0,0,1],[1,0,0,0],[0,1,0,0],[0,0,1,0]]
=> 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [1,1,1,0,1,0,0,0]
=> [[0,0,1,0],[1,0,-1,1],[0,1,0,0],[0,0,1,0]]
=> 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> [[0,1,0,0],[1,-1,0,1],[0,1,0,0],[0,0,1,0]]
=> 1
[1,3,4,2] => [.,[[.,.],[.,.]]]
=> [1,1,0,1,1,0,0,0]
=> [[0,1,0,0],[1,-1,0,1],[0,1,0,0],[0,0,1,0]]
=> 1
[1,4,2,3] => [.,[[.,[.,.]],.]]
=> [1,1,1,0,0,1,0,0]
=> [[0,0,1,0],[1,0,0,0],[0,1,-1,1],[0,0,1,0]]
=> 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [1,1,0,1,0,1,0,0]
=> [[0,1,0,0],[1,-1,1,0],[0,1,-1,1],[0,0,1,0]]
=> 2
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> [[1,0,0,0],[0,0,0,1],[0,1,0,0],[0,0,1,0]]
=> 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> [[1,0,0,0],[0,0,1,0],[0,1,-1,1],[0,0,1,0]]
=> 1
[2,3,1,4] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> [[1,0,0,0],[0,0,0,1],[0,1,0,0],[0,0,1,0]]
=> 0
[2,3,4,1] => [[.,.],[.,[.,.]]]
=> [1,0,1,1,1,0,0,0]
=> [[1,0,0,0],[0,0,0,1],[0,1,0,0],[0,0,1,0]]
=> 0
[2,4,1,3] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> [[1,0,0,0],[0,0,1,0],[0,1,-1,1],[0,0,1,0]]
=> 1
[2,4,3,1] => [[.,.],[[.,.],.]]
=> [1,0,1,1,0,1,0,0]
=> [[1,0,0,0],[0,0,1,0],[0,1,-1,1],[0,0,1,0]]
=> 1
[3,1,2,4] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> [[0,1,0,0],[1,0,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[3,1,4,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> [[0,1,0,0],[1,0,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[3,2,4,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [1,1,0,0,1,1,0,0]
=> [[0,1,0,0],[1,0,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[3,4,2,1] => [[[.,.],.],[.,.]]
=> [1,0,1,0,1,1,0,0]
=> [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]
=> 0
[4,1,2,3] => [[.,[.,[.,.]]],.]
=> [1,1,1,0,0,0,1,0]
=> [[0,0,1,0],[1,0,0,0],[0,1,0,0],[0,0,0,1]]
=> 0
[4,1,3,2] => [[.,[[.,.],.]],.]
=> [1,1,0,1,0,0,1,0]
=> [[0,1,0,0],[1,-1,1,0],[0,1,0,0],[0,0,0,1]]
=> 1
[4,2,1,3] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> [[1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]]
=> 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [1,0,1,1,0,0,1,0]
=> [[1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]]
=> 0
[4,3,1,2] => [[[.,[.,.]],.],.]
=> [1,1,0,0,1,0,1,0]
=> [[0,1,0,0],[1,0,0,0],[0,0,1,0],[0,0,0,1]]
=> 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,0,1,0,1,0,1,0]
=> [[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]
=> 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [1,1,1,1,1,0,0,0,0,0]
=> [[0,0,0,0,1],[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [1,1,1,1,0,1,0,0,0,0]
=> [[0,0,0,1,0],[1,0,0,-1,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> [[0,0,1,0,0],[1,0,-1,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,2,4,5,3] => [.,[.,[[.,.],[.,.]]]]
=> [1,1,1,0,1,1,0,0,0,0]
=> [[0,0,1,0,0],[1,0,-1,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,2,5,3,4] => [.,[.,[[.,[.,.]],.]]]
=> [1,1,1,1,0,0,1,0,0,0]
=> [[0,0,0,1,0],[1,0,0,0,0],[0,1,0,-1,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [1,1,1,0,1,0,1,0,0,0]
=> [[0,0,1,0,0],[1,0,-1,1,0],[0,1,0,-1,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,1,0],[0,1,0,-1,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,3,4,2,5] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,3,4,5,2] => [.,[[.,.],[.,[.,.]]]]
=> [1,1,0,1,1,1,0,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,0,1],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,3,5,2,4] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,1,0],[0,1,0,-1,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,3,5,4,2] => [.,[[.,.],[[.,.],.]]]
=> [1,1,0,1,1,0,1,0,0,0]
=> [[0,1,0,0,0],[1,-1,0,1,0],[0,1,0,-1,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,4,2,3,5] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> [[0,0,1,0,0],[1,0,0,0,0],[0,1,-1,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,4,2,5,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> [[0,0,1,0,0],[1,0,0,0,0],[0,1,-1,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> [[0,1,0,0,0],[1,-1,1,0,0],[0,1,-1,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,4,3,5,2] => [.,[[[.,.],.],[.,.]]]
=> [1,1,0,1,0,1,1,0,0,0]
=> [[0,1,0,0,0],[1,-1,1,0,0],[0,1,-1,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 2
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [1,1,1,0,0,1,1,0,0,0]
=> [[0,0,1,0,0],[1,0,0,0,0],[0,1,-1,0,1],[0,0,1,0,0],[0,0,0,1,0]]
=> 1
Description
The number of entries equal to -1 in an alternating sign matrix. The number of nonzero entries, [[St000890]] is twice this number plus the dimension of the matrix.
Matching statistic: St000204
Mp00061: Permutations to increasing treeBinary trees
Mp00014: Binary trees to 132-avoiding permutationPermutations
Mp00061: Permutations to increasing treeBinary trees
St000204: Binary trees ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1] => [.,.]
=> 0
[1,2] => [.,[.,.]]
=> [2,1] => [[.,.],.]
=> 0
[2,1] => [[.,.],.]
=> [1,2] => [.,[.,.]]
=> 0
[1,2,3] => [.,[.,[.,.]]]
=> [3,2,1] => [[[.,.],.],.]
=> 0
[1,3,2] => [.,[[.,.],.]]
=> [2,3,1] => [[.,[.,.]],.]
=> 1
[2,1,3] => [[.,.],[.,.]]
=> [3,1,2] => [[.,.],[.,.]]
=> 0
[2,3,1] => [[.,[.,.]],.]
=> [2,1,3] => [[.,.],[.,.]]
=> 0
[3,1,2] => [[.,.],[.,.]]
=> [3,1,2] => [[.,.],[.,.]]
=> 0
[3,2,1] => [[[.,.],.],.]
=> [1,2,3] => [.,[.,[.,.]]]
=> 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [[[[.,.],.],.],.]
=> 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [[[.,[.,.]],.],.]
=> 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [[[.,.],[.,.]],.]
=> 1
[1,3,4,2] => [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [[[.,.],[.,.]],.]
=> 1
[1,4,2,3] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [[[.,.],[.,.]],.]
=> 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [2,3,4,1] => [[.,[.,[.,.]]],.]
=> 2
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [[[.,.],.],[.,.]]
=> 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [[.,[.,.]],[.,.]]
=> 1
[2,3,1,4] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [[[.,.],.],[.,.]]
=> 0
[2,3,4,1] => [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [[[.,.],.],[.,.]]
=> 0
[2,4,1,3] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [[[.,.],.],[.,.]]
=> 0
[2,4,3,1] => [[.,[[.,.],.]],.]
=> [2,3,1,4] => [[.,[.,.]],[.,.]]
=> 1
[3,1,2,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [[[.,.],.],[.,.]]
=> 0
[3,1,4,2] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [[.,[.,.]],[.,.]]
=> 1
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [[.,.],[.,[.,.]]]
=> 0
[3,2,4,1] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => [[.,.],[.,[.,.]]]
=> 0
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [[[.,.],.],[.,.]]
=> 0
[3,4,2,1] => [[[.,[.,.]],.],.]
=> [2,1,3,4] => [[.,.],[.,[.,.]]]
=> 0
[4,1,2,3] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [[[.,.],.],[.,.]]
=> 0
[4,1,3,2] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [[.,[.,.]],[.,.]]
=> 1
[4,2,1,3] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [[.,.],[.,[.,.]]]
=> 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => [[.,.],[.,[.,.]]]
=> 0
[4,3,1,2] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [[.,.],[.,[.,.]]]
=> 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,2,3,4] => [.,[.,[.,[.,.]]]]
=> 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => [[[[[.,.],.],.],.],.]
=> 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => [[[[.,[.,.]],.],.],.]
=> 1
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => [[[[.,.],[.,.]],.],.]
=> 1
[1,2,4,5,3] => [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => [[[[.,.],[.,.]],.],.]
=> 1
[1,2,5,3,4] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => [[[[.,.],[.,.]],.],.]
=> 1
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => [[[.,[.,[.,.]]],.],.]
=> 2
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => [[[[.,.],.],[.,.]],.]
=> 1
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => [[[.,[.,.]],[.,.]],.]
=> 2
[1,3,4,2,5] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [[[[.,.],.],[.,.]],.]
=> 1
[1,3,4,5,2] => [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => [[[[.,.],.],[.,.]],.]
=> 1
[1,3,5,2,4] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [[[[.,.],.],[.,.]],.]
=> 1
[1,3,5,4,2] => [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => [[[.,[.,.]],[.,.]],.]
=> 2
[1,4,2,3,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => [[[[.,.],.],[.,.]],.]
=> 1
[1,4,2,5,3] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => [[[.,[.,.]],[.,.]],.]
=> 2
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [5,2,3,4,1] => [[[.,.],[.,[.,.]]],.]
=> 2
[1,4,3,5,2] => [.,[[[.,.],[.,.]],.]]
=> [4,2,3,5,1] => [[[.,.],[.,[.,.]]],.]
=> 2
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [[[[.,.],.],[.,.]],.]
=> 1
Description
The number of internal nodes of a binary tree. That is, the total number of nodes of the tree minus [[St000203]]. A counting formula for the total number of internal nodes across all binary trees of size $n$ is given in [1]. This is equivalent to the number of internal triangles in all triangulations of an $(n+1)$-gon.
Matching statistic: St000356
Mp00061: Permutations to increasing treeBinary trees
Mp00018: Binary trees left border symmetryBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
St000356: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [.,.]
=> [1] => 0
[1,2] => [.,[.,.]]
=> [.,[.,.]]
=> [2,1] => 0
[2,1] => [[.,.],.]
=> [[.,.],.]
=> [1,2] => 0
[1,2,3] => [.,[.,[.,.]]]
=> [.,[.,[.,.]]]
=> [3,2,1] => 0
[1,3,2] => [.,[[.,.],.]]
=> [.,[[.,.],.]]
=> [2,3,1] => 0
[2,1,3] => [[.,.],[.,.]]
=> [[.,[.,.]],.]
=> [2,1,3] => 0
[2,3,1] => [[.,[.,.]],.]
=> [[.,.],[.,.]]
=> [1,3,2] => 1
[3,1,2] => [[.,.],[.,.]]
=> [[.,[.,.]],.]
=> [2,1,3] => 0
[3,2,1] => [[[.,.],.],.]
=> [[[.,.],.],.]
=> [1,2,3] => 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => 0
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => 0
[1,3,4,2] => [.,[[.,[.,.]],.]]
=> [.,[[.,.],[.,.]]]
=> [2,4,3,1] => 1
[1,4,2,3] => [.,[[.,.],[.,.]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => 0
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => 0
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => 0
[2,3,1,4] => [[.,[.,.]],[.,.]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 1
[2,3,4,1] => [[.,[.,[.,.]]],.]
=> [[.,.],[.,[.,.]]]
=> [1,4,3,2] => 2
[2,4,1,3] => [[.,[.,.]],[.,.]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 1
[2,4,3,1] => [[.,[[.,.],.]],.]
=> [[.,.],[[.,.],.]]
=> [1,3,4,2] => 1
[3,1,2,4] => [[.,.],[.,[.,.]]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 0
[3,1,4,2] => [[.,.],[[.,.],.]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => 0
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => 0
[3,2,4,1] => [[[.,.],[.,.]],.]
=> [[[.,.],[.,.]],.]
=> [1,3,2,4] => 1
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => 1
[3,4,2,1] => [[[.,[.,.]],.],.]
=> [[[.,.],.],[.,.]]
=> [1,2,4,3] => 1
[4,1,2,3] => [[.,.],[.,[.,.]]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => 0
[4,1,3,2] => [[.,.],[[.,.],.]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => 0
[4,2,1,3] => [[[.,.],.],[.,.]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [[[.,.],[.,.]],.]
=> [1,3,2,4] => 1
[4,3,1,2] => [[[.,.],.],[.,.]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => 0
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => 0
[1,2,4,5,3] => [.,[.,[[.,[.,.]],.]]]
=> [.,[.,[[.,.],[.,.]]]]
=> [3,5,4,2,1] => 1
[1,2,5,3,4] => [.,[.,[[.,.],[.,.]]]]
=> [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => 0
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => 0
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => 0
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => 0
[1,3,4,2,5] => [.,[[.,[.,.]],[.,.]]]
=> [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 1
[1,3,4,5,2] => [.,[[.,[.,[.,.]]],.]]
=> [.,[[.,.],[.,[.,.]]]]
=> [2,5,4,3,1] => 2
[1,3,5,2,4] => [.,[[.,[.,.]],[.,.]]]
=> [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 1
[1,3,5,4,2] => [.,[[.,[[.,.],.]],.]]
=> [.,[[.,.],[[.,.],.]]]
=> [2,4,5,3,1] => 1
[1,4,2,3,5] => [.,[[.,.],[.,[.,.]]]]
=> [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => 0
[1,4,2,5,3] => [.,[[.,.],[[.,.],.]]]
=> [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => 0
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [.,[[[.,[.,.]],.],.]]
=> [3,2,4,5,1] => 0
[1,4,3,5,2] => [.,[[[.,.],[.,.]],.]]
=> [.,[[[.,.],[.,.]],.]]
=> [2,4,3,5,1] => 1
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => 1
Description
The number of occurrences of the pattern 13-2. See [[Permutations/#Pattern-avoiding_permutations]] for the definition of the pattern $13\!\!-\!\!2$.
Matching statistic: St000358
Mp00061: Permutations to increasing treeBinary trees
Mp00014: Binary trees to 132-avoiding permutationPermutations
Mp00066: Permutations inversePermutations
St000358: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [.,.]
=> [1] => [1] => 0
[1,2] => [.,[.,.]]
=> [2,1] => [2,1] => 0
[2,1] => [[.,.],.]
=> [1,2] => [1,2] => 0
[1,2,3] => [.,[.,[.,.]]]
=> [3,2,1] => [3,2,1] => 0
[1,3,2] => [.,[[.,.],.]]
=> [2,3,1] => [3,1,2] => 1
[2,1,3] => [[.,.],[.,.]]
=> [3,1,2] => [2,3,1] => 0
[2,3,1] => [[.,[.,.]],.]
=> [2,1,3] => [2,1,3] => 0
[3,1,2] => [[.,.],[.,.]]
=> [3,1,2] => [2,3,1] => 0
[3,2,1] => [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 0
[1,2,3,4] => [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [4,3,2,1] => 0
[1,2,4,3] => [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [4,3,1,2] => 1
[1,3,2,4] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [4,2,3,1] => 1
[1,3,4,2] => [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [4,2,1,3] => 1
[1,4,2,3] => [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [4,2,3,1] => 1
[1,4,3,2] => [.,[[[.,.],.],.]]
=> [2,3,4,1] => [4,1,2,3] => 2
[2,1,3,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [3,4,2,1] => 0
[2,1,4,3] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [3,4,1,2] => 1
[2,3,1,4] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [3,2,4,1] => 0
[2,3,4,1] => [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [3,2,1,4] => 0
[2,4,1,3] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [3,2,4,1] => 0
[2,4,3,1] => [[.,[[.,.],.]],.]
=> [2,3,1,4] => [3,1,2,4] => 1
[3,1,2,4] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [3,4,2,1] => 0
[3,1,4,2] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [3,4,1,2] => 1
[3,2,1,4] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [2,3,4,1] => 0
[3,2,4,1] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => [2,3,1,4] => 0
[3,4,1,2] => [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [3,2,4,1] => 0
[3,4,2,1] => [[[.,[.,.]],.],.]
=> [2,1,3,4] => [2,1,3,4] => 0
[4,1,2,3] => [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [3,4,2,1] => 0
[4,1,3,2] => [[.,.],[[.,.],.]]
=> [3,4,1,2] => [3,4,1,2] => 1
[4,2,1,3] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [2,3,4,1] => 0
[4,2,3,1] => [[[.,.],[.,.]],.]
=> [3,1,2,4] => [2,3,1,4] => 0
[4,3,1,2] => [[[.,.],.],[.,.]]
=> [4,1,2,3] => [2,3,4,1] => 0
[4,3,2,1] => [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 0
[1,2,3,4,5] => [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => [5,4,3,2,1] => 0
[1,2,3,5,4] => [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => [5,4,3,1,2] => 1
[1,2,4,3,5] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => [5,4,2,3,1] => 1
[1,2,4,5,3] => [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => [5,4,2,1,3] => 1
[1,2,5,3,4] => [.,[.,[[.,.],[.,.]]]]
=> [5,3,4,2,1] => [5,4,2,3,1] => 1
[1,2,5,4,3] => [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => [5,4,1,2,3] => 2
[1,3,2,4,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => [5,3,4,2,1] => 1
[1,3,2,5,4] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => [5,3,4,1,2] => 2
[1,3,4,2,5] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [5,3,2,4,1] => 1
[1,3,4,5,2] => [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => [5,3,2,1,4] => 1
[1,3,5,2,4] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [5,3,2,4,1] => 1
[1,3,5,4,2] => [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => [5,3,1,2,4] => 2
[1,4,2,3,5] => [.,[[.,.],[.,[.,.]]]]
=> [5,4,2,3,1] => [5,3,4,2,1] => 1
[1,4,2,5,3] => [.,[[.,.],[[.,.],.]]]
=> [4,5,2,3,1] => [5,3,4,1,2] => 2
[1,4,3,2,5] => [.,[[[.,.],.],[.,.]]]
=> [5,2,3,4,1] => [5,2,3,4,1] => 2
[1,4,3,5,2] => [.,[[[.,.],[.,.]],.]]
=> [4,2,3,5,1] => [5,2,3,1,4] => 2
[1,4,5,2,3] => [.,[[.,[.,.]],[.,.]]]
=> [5,3,2,4,1] => [5,3,2,4,1] => 1
Description
The number of occurrences of the pattern 31-2. See [[Permutations/#Pattern-avoiding_permutations]] for the definition of the pattern $31\!\!-\!\!2$.
The following 165 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St001083The number of boxed occurrences of 132 in a permutation. St001087The number of occurrences of the vincular pattern |12-3 in a permutation. St001091The number of parts in an integer partition whose next smaller part has the same size. St001167The number of simple modules that appear as the top of an indecomposable non-projective modules that is reflexive in the corresponding Nakayama algebra. St001323The independence gap of a graph. St001683The number of distinct positions of the pattern letter 3 in occurrences of 132 in a permutation. St001685The number of distinct positions of the pattern letter 1 in occurrences of 132 in a permutation. St001687The number of distinct positions of the pattern letter 2 in occurrences of 213 in a permutation. St000711The number of big exceedences of a permutation. St001524The degree of symmetry of a binary word. St000142The number of even parts of a partition. St000771The largest multiplicity of a distance Laplacian eigenvalue in a connected graph. St001022Number of simple modules with projective dimension 3 in the Nakayama algebra corresponding to the Dyck path. St000698The number of 2-rim hooks removed from an integer partition to obtain its associated 2-core. St000567The sum of the products of all pairs of parts. St001099The coefficient times the product of the factorials of the parts of the monomial symmetric function indexed by the partition in the formal group law for leaf labelled binary trees. St001101The coefficient times the product of the factorials of the parts of the monomial symmetric function indexed by the partition in the formal group law for increasing trees. St000512The number of invariant subsets of size 3 when acting with a permutation of given cycle type. St000620The number of standard tableaux of shape equal to the given partition such that the minimal cyclic descent is odd. St000934The 2-degree of an integer partition. St000938The number of zeros of the symmetric group character corresponding to the partition. St000260The radius of a connected graph. St001604The multiplicity of the irreducible representation corresponding to a partition in the relabelling action on polygons. St000621The number of standard tableaux of shape equal to the given partition such that the minimal cyclic descent is even. St000442The maximal area to the right of an up step of a Dyck path. St000476The sum of the semi-lengths of tunnels before a valley of a Dyck path. St000478Another weight of a partition according to Alladi. St000658The number of rises of length 2 of a Dyck path. St000693The modular (standard) major index of a standard tableau. St000932The number of occurrences of the pattern UDU in a Dyck path. St000946The sum of the skew hook positions in a Dyck path. St000984The number of boxes below precisely one peak. St001204Call 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 special CNakayama algebra. St001418Half of the global dimension of the stable Auslander algebra of the Nakayama algebra corresponding to the Dyck path. St001431Half of the Loewy length minus one of a modified stable Auslander algebra of the Nakayama algebra corresponding to the Dyck path. St001480The number of simple summands of the module J^2/J^3. St001878The projective dimension of the simple modules corresponding to the minimum of L in the incidence algebra of the lattice L. St001964The interval resolution global dimension of a poset. St001876The number of 2-regular simple modules in the incidence algebra of the lattice. St001877Number of indecomposable injective modules with projective dimension 2. St001176The size of a partition minus its first part. St000137The Grundy value of an integer partition. St000667The greatest common divisor of the parts of the partition. St000755The number of real roots of the characteristic polynomial of a linear recurrence associated with an integer partition. St001122The multiplicity of the sign representation in the Kronecker square corresponding to a partition. St001247The number of parts of a partition that are not congruent 2 modulo 3. St001250The number of parts of a partition that are not congruent 0 modulo 3. St001283The number of finite solvable groups that are realised by the given partition over the complex numbers. St001284The number of finite groups that are realised by the given partition over the complex numbers. St001384The number of boxes in the diagram of a partition that do not lie in the largest triangle it contains. St001442The number of standard Young tableaux whose major index is divisible by the size of a given integer partition. St001525The number of symmetric hooks on the diagonal of a partition. St001571The Cartan determinant of the integer partition. St001593This is the number of standard Young tableaux of the given shifted shape. St001767The largest minimal number of arrows pointing to a cell in the Ferrers diagram in any assignment. St001785The number of ways to obtain a partition as the multiset of antidiagonal lengths of the Ferrers diagram of a partition. St001933The largest multiplicity of a part in an integer partition. St001939The number of parts that are equal to their multiplicity in the integer partition. St001940The number of distinct parts that are equal to their multiplicity in the integer partition. St000566The number of ways to select a row of a Ferrers shape and two cells in this row. St000681The Grundy value of Chomp on Ferrers diagrams. St000704The number of semistandard tableaux on a given integer partition with minimal maximal entry. St001128The exponens consonantiae of a partition. St000772The multiplicity of the largest distance Laplacian eigenvalue in a connected graph. St000706The product of the factorials of the multiplicities of an integer partition. St000939The number of characters of the symmetric group whose value on the partition is positive. St000993The multiplicity of the largest part of an integer partition. St001568The smallest positive integer that does not appear twice in the partition. St000668The least common multiple of the parts of the partition. St000708The product of the parts of an integer partition. St000929The constant term of the character polynomial of an integer partition. St000933The number of multipartitions of sizes given by an integer partition. St000941The number of characters of the symmetric group whose value on the partition is even. St001123The multiplicity of the dual of the standard representation in the Kronecker square corresponding to a partition. St001199The dominant dimension of $eAe$ for the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$. St001498The normalised height of a Nakayama algebra with magnitude 1. St000714The number of semistandard Young tableau of given shape, with entries at most 2. St000937The number of positive values of the symmetric group character corresponding to the partition. St000207Number of integral Gelfand-Tsetlin polytopes with prescribed top row and integer composition weight. St000208Number of integral Gelfand-Tsetlin polytopes with prescribed top row and integer partition weight. St000460The hook length of the last cell along the main diagonal of an integer partition. St000870The product of the hook lengths of the diagonal cells in an integer partition. St001249Sum of the odd parts of a partition. St001360The number of covering relations in Young's lattice below a partition. St001383The BG-rank of an integer partition. St001389The number of partitions of the same length below the given integer partition. St001527The cyclic permutation representation number of an integer partition. St001600The multiplicity of the irreducible representation corresponding to a partition in the relabelling action on simple graphs. St001601The multiplicity of the irreducible representation corresponding to a partition in the relabelling action on trees. St001606The multiplicity of the irreducible representation corresponding to a partition in the relabelling action on set partitions. St001628The multiplicity of the irreducible representation corresponding to a partition in the relabelling action on simple connected graphs. St001629The coefficient of the integer composition in the quasisymmetric expansion of the relabelling action of the symmetric group on cycles. St001913The number of preimages of an integer partition in Bulgarian solitaire. St000940The number of characters of the symmetric group whose value on the partition is zero. St001124The multiplicity of the standard representation in the Kronecker square corresponding to a partition. St001570The minimal number of edges to add to make a graph Hamiltonian. St000319The spin of an integer partition. St000320The dinv adjustment of an integer partition. St000506The number of standard desarrangement tableaux of shape equal to the given partition. St001279The sum of the parts of an integer partition that are at least two. St001280The number of parts of an integer partition that are at least two. St001440The number of standard Young tableaux whose major index is congruent one modulo the size of a given integer partition. St001541The Gini index of an integer partition. St001714The number of subpartitions of an integer partition that do not dominate the conjugate subpartition. St001918The degree of the cyclic sieving polynomial corresponding to an integer partition. St001651The Frankl number of a lattice. St001195The global dimension of the algebra $A/AfA$ of the corresponding Nakayama algebra $A$ with minimal left faithful projective-injective module $Af$. St001603The number of colourings of a polygon such that the multiplicities of a colour are given by a partition. St001605The number of colourings of a cycle such that the multiplicities of colours are given by a partition. St000454The largest eigenvalue of a graph if it is integral. St001630The global dimension of the incidence algebra of the lattice over the rational numbers. St000284The Plancherel distribution on integer partitions. St000707The product of the factorials of the parts. St000770The major index of an integer partition when read from bottom to top. St000815The number of semistandard Young tableaux of partition weight of given shape. St000901The cube of the number of standard Young tableaux with shape given by the partition. St000205Number of non-integral Gelfand-Tsetlin polytopes with prescribed top row and partition weight. St001960The number of descents of a permutation minus one if its first entry is not one. St000936The number of even values of the symmetric group character corresponding to the partition. St000455The second largest eigenvalue of a graph if it is integral. St001487The number of inner corners of a skew partition. St001820The size of the image of the pop stack sorting operator. St001845The number of join irreducibles minus the rank of a lattice. St001435The number of missing boxes in the first row. St001912The length of the preperiod in Bulgarian solitaire corresponding to an integer partition. St001862The number of crossings of a signed permutation. St001866The nesting alignments of a signed permutation. St001200The number of simple modules in $eAe$ with projective dimension at most 2 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$. St001632The number of indecomposable injective modules $I$ with $dim Ext^1(I,A)=1$ for the incidence algebra A of a poset. St001846The number of elements which do not have a complement in the lattice. St001882The number of occurrences of a type-B 231 pattern in a signed permutation. St001429The number of negative entries in a signed permutation. St001875The number of simple modules with projective dimension at most 1. St000527The width of the poset. St000259The diameter of a connected graph. St000302The determinant of the distance matrix of a connected graph. St000466The Gutman (or modified Schultz) index of a connected graph. St000467The hyper-Wiener index of a connected graph. St000777The number of distinct eigenvalues of the distance Laplacian of a connected graph. St001645The pebbling number of a connected graph. St001330The hat guessing number of a graph. St001633The number of simple modules with projective dimension two in the incidence algebra of the poset. St000632The jump number of the poset. St001301The first Betti number of the order complex associated with the poset. St001396Number of triples of incomparable elements in a finite poset. St001397Number of pairs of incomparable elements in a finite poset. St001398Number of subsets of size 3 of elements in a poset that form a "v". St001902The number of potential covers of a poset. St000181The number of connected components of the Hasse diagram for the poset. St000298The order dimension or Dushnik-Miller dimension of a poset. St000307The number of rowmotion orbits of a poset. St000908The length of the shortest maximal antichain in a poset. St001268The size of the largest ordinal summand in the poset. St001399The distinguishing number of a poset. St001472The permanent of the Coxeter matrix of the poset. St001510The number of self-evacuating linear extensions of a finite poset. St001532The leading coefficient of the Poincare polynomial of the poset cone. St001533The largest coefficient of the Poincare polynomial of the poset cone. St001634The trace of the Coxeter matrix of the incidence algebra of a poset. St001779The order of promotion on the set of linear extensions of a poset. St000848The balance constant multiplied with the number of linear extensions of a poset. St000849The number of 1/3-balanced pairs in a poset. St000850The number of 1/2-balanced pairs in a poset. St001095The number of non-isomorphic posets with precisely one further covering relation. St001438The number of missing boxes of a skew partition.