Your data matches 58 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
Matching statistic: St000337
Mp00051: Ordered trees to Dyck pathDyck paths
Mp00199: Dyck paths prime Dyck pathDyck paths
Mp00031: Dyck paths to 312-avoiding permutationPermutations
St000337: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[]
=> []
=> [1,0]
=> [1] => 0
[[]]
=> [1,0]
=> [1,1,0,0]
=> [2,1] => 1
[[],[]]
=> [1,0,1,0]
=> [1,1,0,1,0,0]
=> [2,3,1] => 1
[[[]]]
=> [1,1,0,0]
=> [1,1,1,0,0,0]
=> [3,2,1] => 1
[[],[],[]]
=> [1,0,1,0,1,0]
=> [1,1,0,1,0,1,0,0]
=> [2,3,4,1] => 1
[[],[[]]]
=> [1,0,1,1,0,0]
=> [1,1,0,1,1,0,0,0]
=> [2,4,3,1] => 1
[[[]],[]]
=> [1,1,0,0,1,0]
=> [1,1,1,0,0,1,0,0]
=> [3,2,4,1] => 2
[[[],[]]]
=> [1,1,0,1,0,0]
=> [1,1,1,0,1,0,0,0]
=> [3,4,2,1] => 1
[[[[]]]]
=> [1,1,1,0,0,0]
=> [1,1,1,1,0,0,0,0]
=> [4,3,2,1] => 2
[[],[],[],[]]
=> [1,0,1,0,1,0,1,0]
=> [1,1,0,1,0,1,0,1,0,0]
=> [2,3,4,5,1] => 1
[[],[],[[]]]
=> [1,0,1,0,1,1,0,0]
=> [1,1,0,1,0,1,1,0,0,0]
=> [2,3,5,4,1] => 1
[[],[[]],[]]
=> [1,0,1,1,0,0,1,0]
=> [1,1,0,1,1,0,0,1,0,0]
=> [2,4,3,5,1] => 2
[[],[[],[]]]
=> [1,0,1,1,0,1,0,0]
=> [1,1,0,1,1,0,1,0,0,0]
=> [2,4,5,3,1] => 1
[[],[[[]]]]
=> [1,0,1,1,1,0,0,0]
=> [1,1,0,1,1,1,0,0,0,0]
=> [2,5,4,3,1] => 2
[[[]],[],[]]
=> [1,1,0,0,1,0,1,0]
=> [1,1,1,0,0,1,0,1,0,0]
=> [3,2,4,5,1] => 2
[[[]],[[]]]
=> [1,1,0,0,1,1,0,0]
=> [1,1,1,0,0,1,1,0,0,0]
=> [3,2,5,4,1] => 2
[[[],[]],[]]
=> [1,1,0,1,0,0,1,0]
=> [1,1,1,0,1,0,0,1,0,0]
=> [3,4,2,5,1] => 2
[[[[]]],[]]
=> [1,1,1,0,0,0,1,0]
=> [1,1,1,1,0,0,0,1,0,0]
=> [4,3,2,5,1] => 2
[[[],[],[]]]
=> [1,1,0,1,0,1,0,0]
=> [1,1,1,0,1,0,1,0,0,0]
=> [3,4,5,2,1] => 1
[[[],[[]]]]
=> [1,1,0,1,1,0,0,0]
=> [1,1,1,0,1,1,0,0,0,0]
=> [3,5,4,2,1] => 2
[[[[]],[]]]
=> [1,1,1,0,0,1,0,0]
=> [1,1,1,1,0,0,1,0,0,0]
=> [4,3,5,2,1] => 2
[[[[],[]]]]
=> [1,1,1,0,1,0,0,0]
=> [1,1,1,1,0,1,0,0,0,0]
=> [4,5,3,2,1] => 2
[[[[[]]]]]
=> [1,1,1,1,0,0,0,0]
=> [1,1,1,1,1,0,0,0,0,0]
=> [5,4,3,2,1] => 2
[[],[],[],[],[]]
=> [1,0,1,0,1,0,1,0,1,0]
=> [1,1,0,1,0,1,0,1,0,1,0,0]
=> [2,3,4,5,6,1] => 1
[[],[],[],[[]]]
=> [1,0,1,0,1,0,1,1,0,0]
=> [1,1,0,1,0,1,0,1,1,0,0,0]
=> [2,3,4,6,5,1] => 1
[[],[],[[]],[]]
=> [1,0,1,0,1,1,0,0,1,0]
=> [1,1,0,1,0,1,1,0,0,1,0,0]
=> [2,3,5,4,6,1] => 2
[[],[],[[],[]]]
=> [1,0,1,0,1,1,0,1,0,0]
=> [1,1,0,1,0,1,1,0,1,0,0,0]
=> [2,3,5,6,4,1] => 1
[[],[],[[[]]]]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,1,0,1,0,1,1,1,0,0,0,0]
=> [2,3,6,5,4,1] => 2
[[],[[]],[],[]]
=> [1,0,1,1,0,0,1,0,1,0]
=> [1,1,0,1,1,0,0,1,0,1,0,0]
=> [2,4,3,5,6,1] => 2
[[],[[]],[[]]]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,1,0,1,1,0,0,1,1,0,0,0]
=> [2,4,3,6,5,1] => 2
[[],[[],[]],[]]
=> [1,0,1,1,0,1,0,0,1,0]
=> [1,1,0,1,1,0,1,0,0,1,0,0]
=> [2,4,5,3,6,1] => 2
[[],[[[]]],[]]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,1,0,1,1,1,0,0,0,1,0,0]
=> [2,5,4,3,6,1] => 2
[[],[[],[],[]]]
=> [1,0,1,1,0,1,0,1,0,0]
=> [1,1,0,1,1,0,1,0,1,0,0,0]
=> [2,4,5,6,3,1] => 1
[[],[[],[[]]]]
=> [1,0,1,1,0,1,1,0,0,0]
=> [1,1,0,1,1,0,1,1,0,0,0,0]
=> [2,4,6,5,3,1] => 2
[[],[[[]],[]]]
=> [1,0,1,1,1,0,0,1,0,0]
=> [1,1,0,1,1,1,0,0,1,0,0,0]
=> [2,5,4,6,3,1] => 2
[[],[[[],[]]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [1,1,0,1,1,1,0,1,0,0,0,0]
=> [2,5,6,4,3,1] => 2
[[],[[[[]]]]]
=> [1,0,1,1,1,1,0,0,0,0]
=> [1,1,0,1,1,1,1,0,0,0,0,0]
=> [2,6,5,4,3,1] => 2
[[[]],[],[],[]]
=> [1,1,0,0,1,0,1,0,1,0]
=> [1,1,1,0,0,1,0,1,0,1,0,0]
=> [3,2,4,5,6,1] => 2
[[[]],[],[[]]]
=> [1,1,0,0,1,0,1,1,0,0]
=> [1,1,1,0,0,1,0,1,1,0,0,0]
=> [3,2,4,6,5,1] => 2
[[[]],[[]],[]]
=> [1,1,0,0,1,1,0,0,1,0]
=> [1,1,1,0,0,1,1,0,0,1,0,0]
=> [3,2,5,4,6,1] => 3
[[[]],[[],[]]]
=> [1,1,0,0,1,1,0,1,0,0]
=> [1,1,1,0,0,1,1,0,1,0,0,0]
=> [3,2,5,6,4,1] => 2
[[[]],[[[]]]]
=> [1,1,0,0,1,1,1,0,0,0]
=> [1,1,1,0,0,1,1,1,0,0,0,0]
=> [3,2,6,5,4,1] => 3
[[[],[]],[],[]]
=> [1,1,0,1,0,0,1,0,1,0]
=> [1,1,1,0,1,0,0,1,0,1,0,0]
=> [3,4,2,5,6,1] => 2
[[[[]]],[],[]]
=> [1,1,1,0,0,0,1,0,1,0]
=> [1,1,1,1,0,0,0,1,0,1,0,0]
=> [4,3,2,5,6,1] => 2
[[[],[]],[[]]]
=> [1,1,0,1,0,0,1,1,0,0]
=> [1,1,1,0,1,0,0,1,1,0,0,0]
=> [3,4,2,6,5,1] => 2
[[[[]]],[[]]]
=> [1,1,1,0,0,0,1,1,0,0]
=> [1,1,1,1,0,0,0,1,1,0,0,0]
=> [4,3,2,6,5,1] => 2
[[[],[],[]],[]]
=> [1,1,0,1,0,1,0,0,1,0]
=> [1,1,1,0,1,0,1,0,0,1,0,0]
=> [3,4,5,2,6,1] => 2
[[[],[[]]],[]]
=> [1,1,0,1,1,0,0,0,1,0]
=> [1,1,1,0,1,1,0,0,0,1,0,0]
=> [3,5,4,2,6,1] => 2
[[[[]],[]],[]]
=> [1,1,1,0,0,1,0,0,1,0]
=> [1,1,1,1,0,0,1,0,0,1,0,0]
=> [4,3,5,2,6,1] => 3
[[[[],[]]],[]]
=> [1,1,1,0,1,0,0,0,1,0]
=> [1,1,1,1,0,1,0,0,0,1,0,0]
=> [4,5,3,2,6,1] => 2
Description
The lec statistic, the sum of the inversion numbers of the hook factors of a permutation. For a permutation $\sigma = p \tau_{1} \tau_{2} \cdots \tau_{k}$ in its hook factorization, [1] defines $$ \textrm{lec} \, \sigma = \sum_{1 \leq i \leq k} \textrm{inv} \, \tau_{i} \, ,$$ where $\textrm{inv} \, \tau_{i}$ is the number of inversions of $\tau_{i}$.
Matching statistic: St000985
Mp00047: Ordered trees to posetPosets
Mp00198: Posets incomparability graphGraphs
Mp00111: Graphs complementGraphs
St000985: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[]
=> ([],1)
=> ([],1)
=> ([],1)
=> 0
[[]]
=> ([(0,1)],2)
=> ([],2)
=> ([(0,1)],2)
=> 1
[[],[]]
=> ([(0,2),(1,2)],3)
=> ([(1,2)],3)
=> ([(0,2),(1,2)],3)
=> 1
[[[]]]
=> ([(0,2),(2,1)],3)
=> ([],3)
=> ([(0,1),(0,2),(1,2)],3)
=> 1
[[],[],[]]
=> ([(0,3),(1,3),(2,3)],4)
=> ([(1,2),(1,3),(2,3)],4)
=> ([(0,3),(1,3),(2,3)],4)
=> 1
[[],[[]]]
=> ([(0,3),(1,2),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[[[]],[]]
=> ([(0,3),(1,2),(2,3)],4)
=> ([(1,3),(2,3)],4)
=> ([(0,3),(1,2),(1,3),(2,3)],4)
=> 2
[[[],[]]]
=> ([(0,3),(1,3),(3,2)],4)
=> ([(2,3)],4)
=> ([(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 1
[[[[]]]]
=> ([(0,3),(2,1),(3,2)],4)
=> ([],4)
=> ([(0,1),(0,2),(0,3),(1,2),(1,3),(2,3)],4)
=> 1
[[],[],[],[]]
=> ([(0,4),(1,4),(2,4),(3,4)],5)
=> ([(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,4),(2,4),(3,4)],5)
=> 1
[[],[],[[]]]
=> ([(0,4),(1,4),(2,3),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[],[[]],[]]
=> ([(0,4),(1,4),(2,3),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[],[[],[]]]
=> ([(0,4),(1,3),(2,3),(3,4)],5)
=> ([(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[],[[[]]]]
=> ([(0,4),(1,2),(2,3),(3,4)],5)
=> ([(1,4),(2,4),(3,4)],5)
=> ([(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[]],[],[]]
=> ([(0,4),(1,4),(2,3),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[]],[[]]]
=> ([(0,3),(1,2),(2,4),(3,4)],5)
=> ([(1,3),(1,4),(2,3),(2,4)],5)
=> ([(0,3),(0,4),(1,2),(1,4),(2,4),(3,4)],5)
=> 2
[[[],[]],[]]
=> ([(0,4),(1,3),(2,3),(3,4)],5)
=> ([(1,4),(2,3),(2,4),(3,4)],5)
=> ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[[]]],[]]
=> ([(0,4),(1,2),(2,3),(3,4)],5)
=> ([(1,4),(2,4),(3,4)],5)
=> ([(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[],[],[]]]
=> ([(0,4),(1,4),(2,4),(4,3)],5)
=> ([(2,3),(2,4),(3,4)],5)
=> ([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 1
[[[],[[]]]]
=> ([(0,4),(1,2),(2,4),(4,3)],5)
=> ([(2,4),(3,4)],5)
=> ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[[]],[]]]
=> ([(0,4),(1,2),(2,4),(4,3)],5)
=> ([(2,4),(3,4)],5)
=> ([(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 2
[[[[],[]]]]
=> ([(0,4),(1,4),(2,3),(4,2)],5)
=> ([(3,4)],5)
=> ([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 1
[[[[[]]]]]
=> ([(0,4),(2,3),(3,1),(4,2)],5)
=> ([],5)
=> ([(0,1),(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> 1
[[],[],[],[],[]]
=> ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> ([(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 1
[[],[],[],[[]]]
=> ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[],[[]],[]]
=> ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[],[[],[]]]
=> ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[],[[[]]]]
=> ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[]],[],[]]
=> ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[]],[[]]]
=> ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6)
=> 3
[[],[[],[]],[]]
=> ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[[]]],[]]
=> ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[],[],[]]]
=> ([(0,5),(1,5),(2,5),(3,4),(5,4)],6)
=> ([(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[],[[]]]]
=> ([(0,5),(1,4),(2,3),(3,5),(5,4)],6)
=> ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 3
[[],[[[]],[]]]
=> ([(0,5),(1,4),(2,3),(3,5),(5,4)],6)
=> ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 3
[[],[[[],[]]]]
=> ([(0,5),(1,4),(2,4),(3,5),(4,3)],6)
=> ([(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[],[[[[]]]]]
=> ([(0,5),(1,4),(2,5),(3,2),(4,3)],6)
=> ([(1,5),(2,5),(3,5),(4,5)],6)
=> ([(0,5),(1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[]],[],[],[]]
=> ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[]],[],[[]]]
=> ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6)
=> 3
[[[]],[[]],[]]
=> ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> ([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,5),(3,5),(4,5)],6)
=> 3
[[[]],[[],[]]]
=> ([(0,4),(1,4),(2,3),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6)
=> ([(0,1),(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[]],[[[]]]]
=> ([(0,3),(1,4),(2,5),(3,5),(4,2)],6)
=> ([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)
=> ([(0,1),(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[],[]],[],[]]
=> ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[[]]],[],[]]
=> ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> ([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[],[]],[[]]]
=> ([(0,4),(1,4),(2,3),(3,5),(4,5)],6)
=> ([(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5)],6)
=> ([(0,1),(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[[]]],[[]]]
=> ([(0,3),(1,4),(2,5),(3,5),(4,2)],6)
=> ([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)
=> ([(0,1),(0,5),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[],[],[]],[]]
=> ([(0,5),(1,5),(2,5),(3,4),(5,4)],6)
=> ([(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
[[[],[[]]],[]]
=> ([(0,5),(1,4),(2,3),(3,5),(5,4)],6)
=> ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 3
[[[[]],[]],[]]
=> ([(0,5),(1,4),(2,3),(3,5),(5,4)],6)
=> ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 3
[[[[],[]]],[]]
=> ([(0,5),(1,4),(2,4),(3,5),(4,3)],6)
=> ([(1,5),(2,5),(3,4),(3,5),(4,5)],6)
=> ([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> 2
Description
The number of positive eigenvalues of the adjacency matrix of the graph.
Mp00051: Ordered trees to Dyck pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00236: Permutations Clarke-Steingrimsson-Zeng inversePermutations
St001928: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[]
=> []
=> [1] => [1] => 0
[[]]
=> [1,0]
=> [2,1] => [2,1] => 1
[[],[]]
=> [1,0,1,0]
=> [3,1,2] => [3,1,2] => 1
[[[]]]
=> [1,1,0,0]
=> [2,3,1] => [3,2,1] => 1
[[],[],[]]
=> [1,0,1,0,1,0]
=> [4,1,2,3] => [4,1,2,3] => 1
[[],[[]]]
=> [1,0,1,1,0,0]
=> [3,1,4,2] => [4,3,1,2] => 1
[[[]],[]]
=> [1,1,0,0,1,0]
=> [2,4,1,3] => [4,2,1,3] => 1
[[[],[]]]
=> [1,1,0,1,0,0]
=> [4,3,1,2] => [3,1,4,2] => 2
[[[[]]]]
=> [1,1,1,0,0,0]
=> [2,3,4,1] => [4,3,2,1] => 2
[[],[],[],[]]
=> [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => [5,1,2,3,4] => 1
[[],[],[[]]]
=> [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => [5,4,1,2,3] => 1
[[],[[]],[]]
=> [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => [5,3,1,2,4] => 1
[[],[[],[]]]
=> [1,0,1,1,0,1,0,0]
=> [5,1,4,2,3] => [4,1,2,5,3] => 2
[[],[[[]]]]
=> [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => [5,4,3,1,2] => 2
[[[]],[],[]]
=> [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => [5,2,1,3,4] => 1
[[[]],[[]]]
=> [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => [5,4,2,1,3] => 2
[[[],[]],[]]
=> [1,1,0,1,0,0,1,0]
=> [5,3,1,2,4] => [3,1,5,2,4] => 2
[[[[]]],[]]
=> [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => [5,3,2,1,4] => 2
[[[],[],[]]]
=> [1,1,0,1,0,1,0,0]
=> [5,4,1,2,3] => [4,1,5,2,3] => 2
[[[],[[]]]]
=> [1,1,0,1,1,0,0,0]
=> [4,3,1,5,2] => [3,1,5,4,2] => 2
[[[[]],[]]]
=> [1,1,1,0,0,1,0,0]
=> [2,5,4,1,3] => [4,2,1,5,3] => 2
[[[[],[]]]]
=> [1,1,1,0,1,0,0,0]
=> [5,3,4,1,2] => [4,3,1,5,2] => 2
[[[[[]]]]]
=> [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => [5,4,3,2,1] => 2
[[],[],[],[],[]]
=> [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => [6,1,2,3,4,5] => 1
[[],[],[],[[]]]
=> [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => [6,5,1,2,3,4] => 1
[[],[],[[]],[]]
=> [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => [6,4,1,2,3,5] => 1
[[],[],[[],[]]]
=> [1,0,1,0,1,1,0,1,0,0]
=> [6,1,2,5,3,4] => [5,1,2,3,6,4] => 2
[[],[],[[[]]]]
=> [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => [6,5,4,1,2,3] => 2
[[],[[]],[],[]]
=> [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => [6,3,1,2,4,5] => 1
[[],[[]],[[]]]
=> [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => [6,5,3,1,2,4] => 2
[[],[[],[]],[]]
=> [1,0,1,1,0,1,0,0,1,0]
=> [6,1,4,2,3,5] => [4,1,2,6,3,5] => 2
[[],[[[]]],[]]
=> [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => [6,4,3,1,2,5] => 2
[[],[[],[],[]]]
=> [1,0,1,1,0,1,0,1,0,0]
=> [6,1,5,2,3,4] => [5,1,2,6,3,4] => 2
[[],[[],[[]]]]
=> [1,0,1,1,0,1,1,0,0,0]
=> [5,1,4,2,6,3] => [4,1,2,6,5,3] => 2
[[],[[[]],[]]]
=> [1,0,1,1,1,0,0,1,0,0]
=> [3,1,6,5,2,4] => [5,3,1,2,6,4] => 2
[[],[[[],[]]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [6,1,4,5,2,3] => [5,4,1,2,6,3] => 2
[[],[[[[]]]]]
=> [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => [6,5,4,3,1,2] => 2
[[[]],[],[],[]]
=> [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => [6,2,1,3,4,5] => 1
[[[]],[],[[]]]
=> [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => [6,5,2,1,3,4] => 2
[[[]],[[]],[]]
=> [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => [6,4,2,1,3,5] => 2
[[[]],[[],[]]]
=> [1,1,0,0,1,1,0,1,0,0]
=> [2,6,1,5,3,4] => [5,2,1,3,6,4] => 2
[[[]],[[[]]]]
=> [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => [6,5,4,2,1,3] => 2
[[[],[]],[],[]]
=> [1,1,0,1,0,0,1,0,1,0]
=> [6,3,1,2,4,5] => [3,1,6,2,4,5] => 2
[[[[]]],[],[]]
=> [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => [6,3,2,1,4,5] => 2
[[[],[]],[[]]]
=> [1,1,0,1,0,0,1,1,0,0]
=> [5,3,1,2,6,4] => [3,1,6,5,2,4] => 2
[[[[]]],[[]]]
=> [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => [6,5,3,2,1,4] => 2
[[[],[],[]],[]]
=> [1,1,0,1,0,1,0,0,1,0]
=> [6,4,1,2,3,5] => [4,1,6,2,3,5] => 2
[[[],[[]]],[]]
=> [1,1,0,1,1,0,0,0,1,0]
=> [4,3,1,6,2,5] => [3,1,6,4,2,5] => 2
[[[[]],[]],[]]
=> [1,1,1,0,0,1,0,0,1,0]
=> [2,6,4,1,3,5] => [4,2,1,6,3,5] => 2
[[[[],[]]],[]]
=> [1,1,1,0,1,0,0,0,1,0]
=> [6,3,4,1,2,5] => [4,3,1,6,2,5] => 2
Description
The number of non-overlapping descents in a permutation. In other words, any maximal descending subsequence $\pi_i,\pi_{i+1},\dots,\pi_k$ contributes $\lfloor\frac{k-i+1}{2}\rfloor$ to the total count.
St000522: Ordered trees ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> ? = 0
[[]]
=> 1
[[],[]]
=> 1
[[[]]]
=> 1
[[],[],[]]
=> 1
[[],[[]]]
=> 2
[[[]],[]]
=> 2
[[[],[]]]
=> 1
[[[[]]]]
=> 1
[[],[],[],[]]
=> 1
[[],[],[[]]]
=> 2
[[],[[]],[]]
=> 2
[[],[[],[]]]
=> 2
[[],[[[]]]]
=> 2
[[[]],[],[]]
=> 2
[[[]],[[]]]
=> 2
[[[],[]],[]]
=> 2
[[[[]]],[]]
=> 2
[[[],[],[]]]
=> 1
[[[],[[]]]]
=> 2
[[[[]],[]]]
=> 2
[[[[],[]]]]
=> 1
[[[[[]]]]]
=> 1
[[],[],[],[],[]]
=> 1
[[],[],[],[[]]]
=> 2
[[],[],[[]],[]]
=> 2
[[],[],[[],[]]]
=> 2
[[],[],[[[]]]]
=> 2
[[],[[]],[],[]]
=> 2
[[],[[]],[[]]]
=> 3
[[],[[],[]],[]]
=> 2
[[],[[[]]],[]]
=> 2
[[],[[],[],[]]]
=> 2
[[],[[],[[]]]]
=> 3
[[],[[[]],[]]]
=> 3
[[],[[[],[]]]]
=> 2
[[],[[[[]]]]]
=> 2
[[[]],[],[],[]]
=> 2
[[[]],[],[[]]]
=> 3
[[[]],[[]],[]]
=> 3
[[[]],[[],[]]]
=> 2
[[[]],[[[]]]]
=> 2
[[[],[]],[],[]]
=> 2
[[[[]]],[],[]]
=> 2
[[[],[]],[[]]]
=> 2
[[[[]]],[[]]]
=> 2
[[[],[],[]],[]]
=> 2
[[[],[[]]],[]]
=> 3
[[[[]],[]],[]]
=> 3
[[[[],[]]],[]]
=> 2
[[[[[]]]],[]]
=> 2
Description
The number of 1-protected nodes of a rooted tree. This is the number of nodes with minimal distance one to a leaf.
Matching statistic: St000092
Mp00051: Ordered trees to Dyck pathDyck paths
Mp00119: Dyck paths to 321-avoiding permutation (Krattenthaler)Permutations
Mp00067: Permutations Foata bijectionPermutations
St000092: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> []
=> [] => [] => ? = 0
[[]]
=> [1,0]
=> [1] => [1] => 1
[[],[]]
=> [1,0,1,0]
=> [1,2] => [1,2] => 1
[[[]]]
=> [1,1,0,0]
=> [2,1] => [2,1] => 1
[[],[],[]]
=> [1,0,1,0,1,0]
=> [1,2,3] => [1,2,3] => 1
[[],[[]]]
=> [1,0,1,1,0,0]
=> [1,3,2] => [3,1,2] => 2
[[[]],[]]
=> [1,1,0,0,1,0]
=> [2,1,3] => [2,1,3] => 2
[[[],[]]]
=> [1,1,0,1,0,0]
=> [2,3,1] => [2,3,1] => 1
[[[[]]]]
=> [1,1,1,0,0,0]
=> [3,1,2] => [1,3,2] => 1
[[],[],[],[]]
=> [1,0,1,0,1,0,1,0]
=> [1,2,3,4] => [1,2,3,4] => 1
[[],[],[[]]]
=> [1,0,1,0,1,1,0,0]
=> [1,2,4,3] => [4,1,2,3] => 2
[[],[[]],[]]
=> [1,0,1,1,0,0,1,0]
=> [1,3,2,4] => [3,1,2,4] => 2
[[],[[],[]]]
=> [1,0,1,1,0,1,0,0]
=> [1,3,4,2] => [3,1,4,2] => 2
[[],[[[]]]]
=> [1,0,1,1,1,0,0,0]
=> [1,4,2,3] => [1,4,2,3] => 2
[[[]],[],[]]
=> [1,1,0,0,1,0,1,0]
=> [2,1,3,4] => [2,1,3,4] => 2
[[[]],[[]]]
=> [1,1,0,0,1,1,0,0]
=> [2,1,4,3] => [4,2,1,3] => 2
[[[],[]],[]]
=> [1,1,0,1,0,0,1,0]
=> [2,3,1,4] => [2,3,1,4] => 2
[[[[]]],[]]
=> [1,1,1,0,0,0,1,0]
=> [3,1,2,4] => [1,3,2,4] => 2
[[[],[],[]]]
=> [1,1,0,1,0,1,0,0]
=> [2,3,4,1] => [2,3,4,1] => 1
[[[],[[]]]]
=> [1,1,0,1,1,0,0,0]
=> [2,4,1,3] => [2,1,4,3] => 2
[[[[]],[]]]
=> [1,1,1,0,0,1,0,0]
=> [3,1,4,2] => [3,4,1,2] => 2
[[[[],[]]]]
=> [1,1,1,0,1,0,0,0]
=> [3,4,1,2] => [1,3,4,2] => 1
[[[[[]]]]]
=> [1,1,1,1,0,0,0,0]
=> [4,1,2,3] => [1,2,4,3] => 1
[[],[],[],[],[]]
=> [1,0,1,0,1,0,1,0,1,0]
=> [1,2,3,4,5] => [1,2,3,4,5] => 1
[[],[],[],[[]]]
=> [1,0,1,0,1,0,1,1,0,0]
=> [1,2,3,5,4] => [5,1,2,3,4] => 2
[[],[],[[]],[]]
=> [1,0,1,0,1,1,0,0,1,0]
=> [1,2,4,3,5] => [4,1,2,3,5] => 2
[[],[],[[],[]]]
=> [1,0,1,0,1,1,0,1,0,0]
=> [1,2,4,5,3] => [4,1,2,5,3] => 2
[[],[],[[[]]]]
=> [1,0,1,0,1,1,1,0,0,0]
=> [1,2,5,3,4] => [1,5,2,3,4] => 2
[[],[[]],[],[]]
=> [1,0,1,1,0,0,1,0,1,0]
=> [1,3,2,4,5] => [3,1,2,4,5] => 2
[[],[[]],[[]]]
=> [1,0,1,1,0,0,1,1,0,0]
=> [1,3,2,5,4] => [5,3,1,2,4] => 2
[[],[[],[]],[]]
=> [1,0,1,1,0,1,0,0,1,0]
=> [1,3,4,2,5] => [3,1,4,2,5] => 3
[[],[[[]]],[]]
=> [1,0,1,1,1,0,0,0,1,0]
=> [1,4,2,3,5] => [1,4,2,3,5] => 2
[[],[[],[],[]]]
=> [1,0,1,1,0,1,0,1,0,0]
=> [1,3,4,5,2] => [3,1,4,5,2] => 2
[[],[[],[[]]]]
=> [1,0,1,1,0,1,1,0,0,0]
=> [1,3,5,2,4] => [3,1,2,5,4] => 2
[[],[[[]],[]]]
=> [1,0,1,1,1,0,0,1,0,0]
=> [1,4,2,5,3] => [4,5,1,2,3] => 2
[[],[[[],[]]]]
=> [1,0,1,1,1,0,1,0,0,0]
=> [1,4,5,2,3] => [1,4,2,5,3] => 2
[[],[[[[]]]]]
=> [1,0,1,1,1,1,0,0,0,0]
=> [1,5,2,3,4] => [1,2,5,3,4] => 2
[[[]],[],[],[]]
=> [1,1,0,0,1,0,1,0,1,0]
=> [2,1,3,4,5] => [2,1,3,4,5] => 2
[[[]],[],[[]]]
=> [1,1,0,0,1,0,1,1,0,0]
=> [2,1,3,5,4] => [5,2,1,3,4] => 2
[[[]],[[]],[]]
=> [1,1,0,0,1,1,0,0,1,0]
=> [2,1,4,3,5] => [4,2,1,3,5] => 2
[[[]],[[],[]]]
=> [1,1,0,0,1,1,0,1,0,0]
=> [2,1,4,5,3] => [4,2,1,5,3] => 2
[[[]],[[[]]]]
=> [1,1,0,0,1,1,1,0,0,0]
=> [2,1,5,3,4] => [2,5,1,3,4] => 2
[[[],[]],[],[]]
=> [1,1,0,1,0,0,1,0,1,0]
=> [2,3,1,4,5] => [2,3,1,4,5] => 2
[[[[]]],[],[]]
=> [1,1,1,0,0,0,1,0,1,0]
=> [3,1,2,4,5] => [1,3,2,4,5] => 2
[[[],[]],[[]]]
=> [1,1,0,1,0,0,1,1,0,0]
=> [2,3,1,5,4] => [5,2,3,1,4] => 3
[[[[]]],[[]]]
=> [1,1,1,0,0,0,1,1,0,0]
=> [3,1,2,5,4] => [5,1,3,2,4] => 3
[[[],[],[]],[]]
=> [1,1,0,1,0,1,0,0,1,0]
=> [2,3,4,1,5] => [2,3,4,1,5] => 2
[[[],[[]]],[]]
=> [1,1,0,1,1,0,0,0,1,0]
=> [2,4,1,3,5] => [2,1,4,3,5] => 3
[[[[]],[]],[]]
=> [1,1,1,0,0,1,0,0,1,0]
=> [3,1,4,2,5] => [3,4,1,2,5] => 2
[[[[],[]]],[]]
=> [1,1,1,0,1,0,0,0,1,0]
=> [3,4,1,2,5] => [1,3,4,2,5] => 2
[[[[[]]]],[]]
=> [1,1,1,1,0,0,0,0,1,0]
=> [4,1,2,3,5] => [1,2,4,3,5] => 2
Description
The number of outer peaks of a permutation. An outer peak in a permutation $w = [w_1,..., w_n]$ is either a position $i$ such that $w_{i-1} < w_i > w_{i+1}$ or $1$ if $w_1 > w_2$ or $n$ if $w_{n} > w_{n-1}$. In other words, it is a peak in the word $[0,w_1,..., w_n,0]$.
Mp00049: Ordered trees to binary tree: left brother = left childBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
Mp00239: Permutations CorteelPermutations
St000099: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> .
=> ? => ? => ? = 0
[[]]
=> [.,.]
=> [1] => [1] => 1
[[],[]]
=> [[.,.],.]
=> [1,2] => [1,2] => 1
[[[]]]
=> [.,[.,.]]
=> [2,1] => [2,1] => 1
[[],[],[]]
=> [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 1
[[],[[]]]
=> [[.,.],[.,.]]
=> [1,3,2] => [1,3,2] => 2
[[[]],[]]
=> [[.,[.,.]],.]
=> [2,1,3] => [2,1,3] => 1
[[[],[]]]
=> [.,[[.,.],.]]
=> [2,3,1] => [3,2,1] => 1
[[[[]]]]
=> [.,[.,[.,.]]]
=> [3,2,1] => [2,3,1] => 2
[[],[],[],[]]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 1
[[],[],[[]]]
=> [[[.,.],.],[.,.]]
=> [1,2,4,3] => [1,2,4,3] => 2
[[],[[]],[]]
=> [[[.,.],[.,.]],.]
=> [1,3,2,4] => [1,3,2,4] => 2
[[],[[],[]]]
=> [[.,.],[[.,.],.]]
=> [1,3,4,2] => [1,4,3,2] => 2
[[],[[[]]]]
=> [[.,.],[.,[.,.]]]
=> [1,4,3,2] => [1,3,4,2] => 2
[[[]],[],[]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => [2,1,3,4] => 1
[[[]],[[]]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => [2,1,4,3] => 2
[[[],[]],[]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => [3,2,1,4] => 1
[[[[]]],[]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [2,3,1,4] => 2
[[[],[],[]]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => [4,2,3,1] => 2
[[[],[[]]]]
=> [.,[[.,.],[.,.]]]
=> [2,4,3,1] => [3,2,4,1] => 2
[[[[]],[]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [2,4,3,1] => 2
[[[[],[]]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [4,3,1,2] => 1
[[[[[]]]]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [3,4,1,2] => 2
[[],[],[],[],[]]
=> [[[[[.,.],.],.],.],.]
=> [1,2,3,4,5] => [1,2,3,4,5] => 1
[[],[],[],[[]]]
=> [[[[.,.],.],.],[.,.]]
=> [1,2,3,5,4] => [1,2,3,5,4] => 2
[[],[],[[]],[]]
=> [[[[.,.],.],[.,.]],.]
=> [1,2,4,3,5] => [1,2,4,3,5] => 2
[[],[],[[],[]]]
=> [[[.,.],.],[[.,.],.]]
=> [1,2,4,5,3] => [1,2,5,4,3] => 2
[[],[],[[[]]]]
=> [[[.,.],.],[.,[.,.]]]
=> [1,2,5,4,3] => [1,2,4,5,3] => 2
[[],[[]],[],[]]
=> [[[[.,.],[.,.]],.],.]
=> [1,3,2,4,5] => [1,3,2,4,5] => 2
[[],[[]],[[]]]
=> [[[.,.],[.,.]],[.,.]]
=> [1,3,2,5,4] => [1,3,2,5,4] => 3
[[],[[],[]],[]]
=> [[[.,.],[[.,.],.]],.]
=> [1,3,4,2,5] => [1,4,3,2,5] => 2
[[],[[[]]],[]]
=> [[[.,.],[.,[.,.]]],.]
=> [1,4,3,2,5] => [1,3,4,2,5] => 2
[[],[[],[],[]]]
=> [[.,.],[[[.,.],.],.]]
=> [1,3,4,5,2] => [1,5,3,4,2] => 3
[[],[[],[[]]]]
=> [[.,.],[[.,.],[.,.]]]
=> [1,3,5,4,2] => [1,4,3,5,2] => 3
[[],[[[]],[]]]
=> [[.,.],[[.,[.,.]],.]]
=> [1,4,3,5,2] => [1,3,5,4,2] => 2
[[],[[[],[]]]]
=> [[.,.],[.,[[.,.],.]]]
=> [1,4,5,3,2] => [1,5,4,2,3] => 2
[[],[[[[]]]]]
=> [[.,.],[.,[.,[.,.]]]]
=> [1,5,4,3,2] => [1,4,5,2,3] => 2
[[[]],[],[],[]]
=> [[[[.,[.,.]],.],.],.]
=> [2,1,3,4,5] => [2,1,3,4,5] => 1
[[[]],[],[[]]]
=> [[[.,[.,.]],.],[.,.]]
=> [2,1,3,5,4] => [2,1,3,5,4] => 2
[[[]],[[]],[]]
=> [[[.,[.,.]],[.,.]],.]
=> [2,1,4,3,5] => [2,1,4,3,5] => 2
[[[]],[[],[]]]
=> [[.,[.,.]],[[.,.],.]]
=> [2,1,4,5,3] => [2,1,5,4,3] => 2
[[[]],[[[]]]]
=> [[.,[.,.]],[.,[.,.]]]
=> [2,1,5,4,3] => [2,1,4,5,3] => 2
[[[],[]],[],[]]
=> [[[.,[[.,.],.]],.],.]
=> [2,3,1,4,5] => [3,2,1,4,5] => 1
[[[[]]],[],[]]
=> [[[.,[.,[.,.]]],.],.]
=> [3,2,1,4,5] => [2,3,1,4,5] => 2
[[[],[]],[[]]]
=> [[.,[[.,.],.]],[.,.]]
=> [2,3,1,5,4] => [3,2,1,5,4] => 2
[[[[]]],[[]]]
=> [[.,[.,[.,.]]],[.,.]]
=> [3,2,1,5,4] => [2,3,1,5,4] => 3
[[[],[],[]],[]]
=> [[.,[[[.,.],.],.]],.]
=> [2,3,4,1,5] => [4,2,3,1,5] => 2
[[[],[[]]],[]]
=> [[.,[[.,.],[.,.]]],.]
=> [2,4,3,1,5] => [3,2,4,1,5] => 2
[[[[]],[]],[]]
=> [[.,[[.,[.,.]],.]],.]
=> [3,2,4,1,5] => [2,4,3,1,5] => 2
[[[[],[]]],[]]
=> [[.,[.,[[.,.],.]]],.]
=> [3,4,2,1,5] => [4,3,1,2,5] => 1
[[[[[]]]],[]]
=> [[.,[.,[.,[.,.]]]],.]
=> [4,3,2,1,5] => [3,4,1,2,5] => 2
Description
The number of valleys of a permutation, including the boundary. The number of valleys excluding the boundary is [[St000353]].
Mp00049: Ordered trees to binary tree: left brother = left childBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
Mp00239: Permutations CorteelPermutations
St000023: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> .
=> ? => ? => ? = 0 - 1
[[]]
=> [.,.]
=> [1] => [1] => 0 = 1 - 1
[[],[]]
=> [[.,.],.]
=> [1,2] => [1,2] => 0 = 1 - 1
[[[]]]
=> [.,[.,.]]
=> [2,1] => [2,1] => 0 = 1 - 1
[[],[],[]]
=> [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 0 = 1 - 1
[[],[[]]]
=> [[.,.],[.,.]]
=> [1,3,2] => [1,3,2] => 1 = 2 - 1
[[[]],[]]
=> [[.,[.,.]],.]
=> [2,1,3] => [2,1,3] => 0 = 1 - 1
[[[],[]]]
=> [.,[[.,.],.]]
=> [2,3,1] => [3,2,1] => 0 = 1 - 1
[[[[]]]]
=> [.,[.,[.,.]]]
=> [3,2,1] => [2,3,1] => 1 = 2 - 1
[[],[],[],[]]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 0 = 1 - 1
[[],[],[[]]]
=> [[[.,.],.],[.,.]]
=> [1,2,4,3] => [1,2,4,3] => 1 = 2 - 1
[[],[[]],[]]
=> [[[.,.],[.,.]],.]
=> [1,3,2,4] => [1,3,2,4] => 1 = 2 - 1
[[],[[],[]]]
=> [[.,.],[[.,.],.]]
=> [1,3,4,2] => [1,4,3,2] => 1 = 2 - 1
[[],[[[]]]]
=> [[.,.],[.,[.,.]]]
=> [1,4,3,2] => [1,3,4,2] => 1 = 2 - 1
[[[]],[],[]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => [2,1,3,4] => 0 = 1 - 1
[[[]],[[]]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => [2,1,4,3] => 1 = 2 - 1
[[[],[]],[]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => [3,2,1,4] => 0 = 1 - 1
[[[[]]],[]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [2,3,1,4] => 1 = 2 - 1
[[[],[],[]]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => [4,2,3,1] => 1 = 2 - 1
[[[],[[]]]]
=> [.,[[.,.],[.,.]]]
=> [2,4,3,1] => [3,2,4,1] => 1 = 2 - 1
[[[[]],[]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [2,4,3,1] => 1 = 2 - 1
[[[[],[]]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [4,3,1,2] => 0 = 1 - 1
[[[[[]]]]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [3,4,1,2] => 1 = 2 - 1
[[],[],[],[],[]]
=> [[[[[.,.],.],.],.],.]
=> [1,2,3,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[],[],[],[[]]]
=> [[[[.,.],.],.],[.,.]]
=> [1,2,3,5,4] => [1,2,3,5,4] => 1 = 2 - 1
[[],[],[[]],[]]
=> [[[[.,.],.],[.,.]],.]
=> [1,2,4,3,5] => [1,2,4,3,5] => 1 = 2 - 1
[[],[],[[],[]]]
=> [[[.,.],.],[[.,.],.]]
=> [1,2,4,5,3] => [1,2,5,4,3] => 1 = 2 - 1
[[],[],[[[]]]]
=> [[[.,.],.],[.,[.,.]]]
=> [1,2,5,4,3] => [1,2,4,5,3] => 1 = 2 - 1
[[],[[]],[],[]]
=> [[[[.,.],[.,.]],.],.]
=> [1,3,2,4,5] => [1,3,2,4,5] => 1 = 2 - 1
[[],[[]],[[]]]
=> [[[.,.],[.,.]],[.,.]]
=> [1,3,2,5,4] => [1,3,2,5,4] => 2 = 3 - 1
[[],[[],[]],[]]
=> [[[.,.],[[.,.],.]],.]
=> [1,3,4,2,5] => [1,4,3,2,5] => 1 = 2 - 1
[[],[[[]]],[]]
=> [[[.,.],[.,[.,.]]],.]
=> [1,4,3,2,5] => [1,3,4,2,5] => 1 = 2 - 1
[[],[[],[],[]]]
=> [[.,.],[[[.,.],.],.]]
=> [1,3,4,5,2] => [1,5,3,4,2] => 2 = 3 - 1
[[],[[],[[]]]]
=> [[.,.],[[.,.],[.,.]]]
=> [1,3,5,4,2] => [1,4,3,5,2] => 2 = 3 - 1
[[],[[[]],[]]]
=> [[.,.],[[.,[.,.]],.]]
=> [1,4,3,5,2] => [1,3,5,4,2] => 1 = 2 - 1
[[],[[[],[]]]]
=> [[.,.],[.,[[.,.],.]]]
=> [1,4,5,3,2] => [1,5,4,2,3] => 1 = 2 - 1
[[],[[[[]]]]]
=> [[.,.],[.,[.,[.,.]]]]
=> [1,5,4,3,2] => [1,4,5,2,3] => 1 = 2 - 1
[[[]],[],[],[]]
=> [[[[.,[.,.]],.],.],.]
=> [2,1,3,4,5] => [2,1,3,4,5] => 0 = 1 - 1
[[[]],[],[[]]]
=> [[[.,[.,.]],.],[.,.]]
=> [2,1,3,5,4] => [2,1,3,5,4] => 1 = 2 - 1
[[[]],[[]],[]]
=> [[[.,[.,.]],[.,.]],.]
=> [2,1,4,3,5] => [2,1,4,3,5] => 1 = 2 - 1
[[[]],[[],[]]]
=> [[.,[.,.]],[[.,.],.]]
=> [2,1,4,5,3] => [2,1,5,4,3] => 1 = 2 - 1
[[[]],[[[]]]]
=> [[.,[.,.]],[.,[.,.]]]
=> [2,1,5,4,3] => [2,1,4,5,3] => 1 = 2 - 1
[[[],[]],[],[]]
=> [[[.,[[.,.],.]],.],.]
=> [2,3,1,4,5] => [3,2,1,4,5] => 0 = 1 - 1
[[[[]]],[],[]]
=> [[[.,[.,[.,.]]],.],.]
=> [3,2,1,4,5] => [2,3,1,4,5] => 1 = 2 - 1
[[[],[]],[[]]]
=> [[.,[[.,.],.]],[.,.]]
=> [2,3,1,5,4] => [3,2,1,5,4] => 1 = 2 - 1
[[[[]]],[[]]]
=> [[.,[.,[.,.]]],[.,.]]
=> [3,2,1,5,4] => [2,3,1,5,4] => 2 = 3 - 1
[[[],[],[]],[]]
=> [[.,[[[.,.],.],.]],.]
=> [2,3,4,1,5] => [4,2,3,1,5] => 1 = 2 - 1
[[[],[[]]],[]]
=> [[.,[[.,.],[.,.]]],.]
=> [2,4,3,1,5] => [3,2,4,1,5] => 1 = 2 - 1
[[[[]],[]],[]]
=> [[.,[[.,[.,.]],.]],.]
=> [3,2,4,1,5] => [2,4,3,1,5] => 1 = 2 - 1
[[[[],[]]],[]]
=> [[.,[.,[[.,.],.]]],.]
=> [3,4,2,1,5] => [4,3,1,2,5] => 0 = 1 - 1
[[[[[]]]],[]]
=> [[.,[.,[.,[.,.]]]],.]
=> [4,3,2,1,5] => [3,4,1,2,5] => 1 = 2 - 1
Description
The number of inner peaks of a permutation. The number of peaks including the boundary is [[St000092]].
Matching statistic: St000035
Mp00049: Ordered trees to binary tree: left brother = left childBinary trees
Mp00014: Binary trees to 132-avoiding permutationPermutations
Mp00090: Permutations cycle-as-one-line notationPermutations
St000035: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> .
=> ? => ? => ? = 0 - 1
[[]]
=> [.,.]
=> [1] => [1] => 0 = 1 - 1
[[],[]]
=> [[.,.],.]
=> [1,2] => [1,2] => 0 = 1 - 1
[[[]]]
=> [.,[.,.]]
=> [2,1] => [1,2] => 0 = 1 - 1
[[],[],[]]
=> [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 0 = 1 - 1
[[],[[]]]
=> [[.,.],[.,.]]
=> [3,1,2] => [1,3,2] => 1 = 2 - 1
[[[]],[]]
=> [[.,[.,.]],.]
=> [2,1,3] => [1,2,3] => 0 = 1 - 1
[[[],[]]]
=> [.,[[.,.],.]]
=> [2,3,1] => [1,2,3] => 0 = 1 - 1
[[[[]]]]
=> [.,[.,[.,.]]]
=> [3,2,1] => [1,3,2] => 1 = 2 - 1
[[],[],[],[]]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 0 = 1 - 1
[[],[],[[]]]
=> [[[.,.],.],[.,.]]
=> [4,1,2,3] => [1,4,3,2] => 1 = 2 - 1
[[],[[]],[]]
=> [[[.,.],[.,.]],.]
=> [3,1,2,4] => [1,3,2,4] => 1 = 2 - 1
[[],[[],[]]]
=> [[.,.],[[.,.],.]]
=> [3,4,1,2] => [1,3,2,4] => 1 = 2 - 1
[[],[[[]]]]
=> [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [1,4,2,3] => 1 = 2 - 1
[[[]],[],[]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => [1,2,3,4] => 0 = 1 - 1
[[[]],[[]]]
=> [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [1,4,3,2] => 1 = 2 - 1
[[[],[]],[]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => [1,2,3,4] => 0 = 1 - 1
[[[[]]],[]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [1,3,2,4] => 1 = 2 - 1
[[[],[],[]]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => [1,2,3,4] => 0 = 1 - 1
[[[],[[]]]]
=> [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [1,4,2,3] => 1 = 2 - 1
[[[[]],[]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [1,3,4,2] => 1 = 2 - 1
[[[[],[]]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [1,3,2,4] => 1 = 2 - 1
[[[[[]]]]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [1,4,2,3] => 1 = 2 - 1
[[],[],[],[],[]]
=> [[[[[.,.],.],.],.],.]
=> [1,2,3,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[],[],[],[[]]]
=> [[[[.,.],.],.],[.,.]]
=> [5,1,2,3,4] => [1,5,4,3,2] => 1 = 2 - 1
[[],[],[[]],[]]
=> [[[[.,.],.],[.,.]],.]
=> [4,1,2,3,5] => [1,4,3,2,5] => 1 = 2 - 1
[[],[],[[],[]]]
=> [[[.,.],.],[[.,.],.]]
=> [4,5,1,2,3] => [1,4,2,5,3] => 2 = 3 - 1
[[],[],[[[]]]]
=> [[[.,.],.],[.,[.,.]]]
=> [5,4,1,2,3] => [1,5,3,2,4] => 1 = 2 - 1
[[],[[]],[],[]]
=> [[[[.,.],[.,.]],.],.]
=> [3,1,2,4,5] => [1,3,2,4,5] => 1 = 2 - 1
[[],[[]],[[]]]
=> [[[.,.],[.,.]],[.,.]]
=> [5,3,1,2,4] => [1,5,4,2,3] => 1 = 2 - 1
[[],[[],[]],[]]
=> [[[.,.],[[.,.],.]],.]
=> [3,4,1,2,5] => [1,3,2,4,5] => 1 = 2 - 1
[[],[[[]]],[]]
=> [[[.,.],[.,[.,.]]],.]
=> [4,3,1,2,5] => [1,4,2,3,5] => 1 = 2 - 1
[[],[[],[],[]]]
=> [[.,.],[[[.,.],.],.]]
=> [3,4,5,1,2] => [1,3,5,2,4] => 1 = 2 - 1
[[],[[],[[]]]]
=> [[.,.],[[.,.],[.,.]]]
=> [5,3,4,1,2] => [1,5,2,3,4] => 1 = 2 - 1
[[],[[[]],[]]]
=> [[.,.],[[.,[.,.]],.]]
=> [4,3,5,1,2] => [1,4,2,3,5] => 1 = 2 - 1
[[],[[[],[]]]]
=> [[.,.],[.,[[.,.],.]]]
=> [4,5,3,1,2] => [1,4,2,5,3] => 2 = 3 - 1
[[],[[[[]]]]]
=> [[.,.],[.,[.,[.,.]]]]
=> [5,4,3,1,2] => [1,5,2,4,3] => 2 = 3 - 1
[[[]],[],[],[]]
=> [[[[.,[.,.]],.],.],.]
=> [2,1,3,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[]],[],[[]]]
=> [[[.,[.,.]],.],[.,.]]
=> [5,2,1,3,4] => [1,5,4,3,2] => 1 = 2 - 1
[[[]],[[]],[]]
=> [[[.,[.,.]],[.,.]],.]
=> [4,2,1,3,5] => [1,4,3,2,5] => 1 = 2 - 1
[[[]],[[],[]]]
=> [[.,[.,.]],[[.,.],.]]
=> [4,5,2,1,3] => [1,4,2,5,3] => 2 = 3 - 1
[[[]],[[[]]]]
=> [[.,[.,.]],[.,[.,.]]]
=> [5,4,2,1,3] => [1,5,3,2,4] => 1 = 2 - 1
[[[],[]],[],[]]
=> [[[.,[[.,.],.]],.],.]
=> [2,3,1,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[[]]],[],[]]
=> [[[.,[.,[.,.]]],.],.]
=> [3,2,1,4,5] => [1,3,2,4,5] => 1 = 2 - 1
[[[],[]],[[]]]
=> [[.,[[.,.],.]],[.,.]]
=> [5,2,3,1,4] => [1,5,4,2,3] => 1 = 2 - 1
[[[[]]],[[]]]
=> [[.,[.,[.,.]]],[.,.]]
=> [5,3,2,1,4] => [1,5,4,2,3] => 1 = 2 - 1
[[[],[],[]],[]]
=> [[.,[[[.,.],.],.]],.]
=> [2,3,4,1,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[],[[]]],[]]
=> [[.,[[.,.],[.,.]]],.]
=> [4,2,3,1,5] => [1,4,2,3,5] => 1 = 2 - 1
[[[[]],[]],[]]
=> [[.,[[.,[.,.]],.]],.]
=> [3,2,4,1,5] => [1,3,4,2,5] => 1 = 2 - 1
[[[[],[]]],[]]
=> [[.,[.,[[.,.],.]]],.]
=> [3,4,2,1,5] => [1,3,2,4,5] => 1 = 2 - 1
[[[[[]]]],[]]
=> [[.,[.,[.,[.,.]]]],.]
=> [4,3,2,1,5] => [1,4,2,3,5] => 1 = 2 - 1
Description
The number of left outer peaks of a permutation. A left outer peak in a permutation $w = [w_1,..., w_n]$ is either a position $i$ such that $w_{i-1} < w_i > w_{i+1}$ or $1$ if $w_1 > w_2$. In other words, it is a peak in the word $[0,w_1,..., w_n]$. This appears in [1, def.3.1]. The joint distribution with [[St000366]] is studied in [3], where left outer peaks are called ''exterior peaks''.
Matching statistic: St000662
Mp00050: Ordered trees to binary tree: right brother = right childBinary trees
Mp00017: Binary trees to 312-avoiding permutationPermutations
Mp00223: Permutations runsortPermutations
St000662: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> .
=> ? => ? => ? = 0 - 1
[[]]
=> [.,.]
=> [1] => [1] => 0 = 1 - 1
[[],[]]
=> [.,[.,.]]
=> [2,1] => [1,2] => 0 = 1 - 1
[[[]]]
=> [[.,.],.]
=> [1,2] => [1,2] => 0 = 1 - 1
[[],[],[]]
=> [.,[.,[.,.]]]
=> [3,2,1] => [1,2,3] => 0 = 1 - 1
[[],[[]]]
=> [.,[[.,.],.]]
=> [2,3,1] => [1,2,3] => 0 = 1 - 1
[[[]],[]]
=> [[.,.],[.,.]]
=> [1,3,2] => [1,3,2] => 1 = 2 - 1
[[[],[]]]
=> [[.,[.,.]],.]
=> [2,1,3] => [1,3,2] => 1 = 2 - 1
[[[[]]]]
=> [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 0 = 1 - 1
[[],[],[],[]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [1,2,3,4] => 0 = 1 - 1
[[],[],[[]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [1,2,3,4] => 0 = 1 - 1
[[],[[]],[]]
=> [.,[[.,.],[.,.]]]
=> [2,4,3,1] => [1,2,4,3] => 1 = 2 - 1
[[],[[],[]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [1,2,4,3] => 1 = 2 - 1
[[],[[[]]]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => [1,2,3,4] => 0 = 1 - 1
[[[]],[],[]]
=> [[.,.],[.,[.,.]]]
=> [1,4,3,2] => [1,4,2,3] => 1 = 2 - 1
[[[]],[[]]]
=> [[.,.],[[.,.],.]]
=> [1,3,4,2] => [1,3,4,2] => 1 = 2 - 1
[[[],[]],[]]
=> [[.,[.,.]],[.,.]]
=> [2,1,4,3] => [1,4,2,3] => 1 = 2 - 1
[[[[]]],[]]
=> [[[.,.],.],[.,.]]
=> [1,2,4,3] => [1,2,4,3] => 1 = 2 - 1
[[[],[],[]]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [1,4,2,3] => 1 = 2 - 1
[[[],[[]]]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => [1,4,2,3] => 1 = 2 - 1
[[[[]],[]]]
=> [[[.,.],[.,.]],.]
=> [1,3,2,4] => [1,3,2,4] => 1 = 2 - 1
[[[[],[]]]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => [1,3,4,2] => 1 = 2 - 1
[[[[[]]]]]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 0 = 1 - 1
[[],[],[],[],[]]
=> [.,[.,[.,[.,[.,.]]]]]
=> [5,4,3,2,1] => [1,2,3,4,5] => 0 = 1 - 1
[[],[],[],[[]]]
=> [.,[.,[.,[[.,.],.]]]]
=> [4,5,3,2,1] => [1,2,3,4,5] => 0 = 1 - 1
[[],[],[[]],[]]
=> [.,[.,[[.,.],[.,.]]]]
=> [3,5,4,2,1] => [1,2,3,5,4] => 1 = 2 - 1
[[],[],[[],[]]]
=> [.,[.,[[.,[.,.]],.]]]
=> [4,3,5,2,1] => [1,2,3,5,4] => 1 = 2 - 1
[[],[],[[[]]]]
=> [.,[.,[[[.,.],.],.]]]
=> [3,4,5,2,1] => [1,2,3,4,5] => 0 = 1 - 1
[[],[[]],[],[]]
=> [.,[[.,.],[.,[.,.]]]]
=> [2,5,4,3,1] => [1,2,5,3,4] => 1 = 2 - 1
[[],[[]],[[]]]
=> [.,[[.,.],[[.,.],.]]]
=> [2,4,5,3,1] => [1,2,4,5,3] => 1 = 2 - 1
[[],[[],[]],[]]
=> [.,[[.,[.,.]],[.,.]]]
=> [3,2,5,4,1] => [1,2,5,3,4] => 1 = 2 - 1
[[],[[[]]],[]]
=> [.,[[[.,.],.],[.,.]]]
=> [2,3,5,4,1] => [1,2,3,5,4] => 1 = 2 - 1
[[],[[],[],[]]]
=> [.,[[.,[.,[.,.]]],.]]
=> [4,3,2,5,1] => [1,2,5,3,4] => 1 = 2 - 1
[[],[[],[[]]]]
=> [.,[[.,[[.,.],.]],.]]
=> [3,4,2,5,1] => [1,2,5,3,4] => 1 = 2 - 1
[[],[[[]],[]]]
=> [.,[[[.,.],[.,.]],.]]
=> [2,4,3,5,1] => [1,2,4,3,5] => 1 = 2 - 1
[[],[[[],[]]]]
=> [.,[[[.,[.,.]],.],.]]
=> [3,2,4,5,1] => [1,2,4,5,3] => 1 = 2 - 1
[[],[[[[]]]]]
=> [.,[[[[.,.],.],.],.]]
=> [2,3,4,5,1] => [1,2,3,4,5] => 0 = 1 - 1
[[[]],[],[],[]]
=> [[.,.],[.,[.,[.,.]]]]
=> [1,5,4,3,2] => [1,5,2,3,4] => 1 = 2 - 1
[[[]],[],[[]]]
=> [[.,.],[.,[[.,.],.]]]
=> [1,4,5,3,2] => [1,4,5,2,3] => 2 = 3 - 1
[[[]],[[]],[]]
=> [[.,.],[[.,.],[.,.]]]
=> [1,3,5,4,2] => [1,3,5,2,4] => 1 = 2 - 1
[[[]],[[],[]]]
=> [[.,.],[[.,[.,.]],.]]
=> [1,4,3,5,2] => [1,4,2,3,5] => 1 = 2 - 1
[[[]],[[[]]]]
=> [[.,.],[[[.,.],.],.]]
=> [1,3,4,5,2] => [1,3,4,5,2] => 1 = 2 - 1
[[[],[]],[],[]]
=> [[.,[.,.]],[.,[.,.]]]
=> [2,1,5,4,3] => [1,5,2,3,4] => 1 = 2 - 1
[[[[]]],[],[]]
=> [[[.,.],.],[.,[.,.]]]
=> [1,2,5,4,3] => [1,2,5,3,4] => 1 = 2 - 1
[[[],[]],[[]]]
=> [[.,[.,.]],[[.,.],.]]
=> [2,1,4,5,3] => [1,4,5,2,3] => 2 = 3 - 1
[[[[]]],[[]]]
=> [[[.,.],.],[[.,.],.]]
=> [1,2,4,5,3] => [1,2,4,5,3] => 1 = 2 - 1
[[[],[],[]],[]]
=> [[.,[.,[.,.]]],[.,.]]
=> [3,2,1,5,4] => [1,5,2,3,4] => 1 = 2 - 1
[[[],[[]]],[]]
=> [[.,[[.,.],.]],[.,.]]
=> [2,3,1,5,4] => [1,5,2,3,4] => 1 = 2 - 1
[[[[]],[]],[]]
=> [[[.,.],[.,.]],[.,.]]
=> [1,3,2,5,4] => [1,3,2,5,4] => 1 = 2 - 1
[[[[],[]]],[]]
=> [[[.,[.,.]],.],[.,.]]
=> [2,1,3,5,4] => [1,3,5,2,4] => 1 = 2 - 1
[[[[[]]]],[]]
=> [[[[.,.],.],.],[.,.]]
=> [1,2,3,5,4] => [1,2,3,5,4] => 1 = 2 - 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: St000994
Mp00049: Ordered trees to binary tree: left brother = left childBinary trees
Mp00014: Binary trees to 132-avoiding permutationPermutations
Mp00090: Permutations cycle-as-one-line notationPermutations
St000994: Permutations ⟶ ℤResult quality: 75% values known / values provided: 98%distinct values known / distinct values provided: 75%
Values
[]
=> .
=> ? => ? => ? = 0 - 1
[[]]
=> [.,.]
=> [1] => [1] => 0 = 1 - 1
[[],[]]
=> [[.,.],.]
=> [1,2] => [1,2] => 0 = 1 - 1
[[[]]]
=> [.,[.,.]]
=> [2,1] => [1,2] => 0 = 1 - 1
[[],[],[]]
=> [[[.,.],.],.]
=> [1,2,3] => [1,2,3] => 0 = 1 - 1
[[],[[]]]
=> [[.,.],[.,.]]
=> [3,1,2] => [1,3,2] => 1 = 2 - 1
[[[]],[]]
=> [[.,[.,.]],.]
=> [2,1,3] => [1,2,3] => 0 = 1 - 1
[[[],[]]]
=> [.,[[.,.],.]]
=> [2,3,1] => [1,2,3] => 0 = 1 - 1
[[[[]]]]
=> [.,[.,[.,.]]]
=> [3,2,1] => [1,3,2] => 1 = 2 - 1
[[],[],[],[]]
=> [[[[.,.],.],.],.]
=> [1,2,3,4] => [1,2,3,4] => 0 = 1 - 1
[[],[],[[]]]
=> [[[.,.],.],[.,.]]
=> [4,1,2,3] => [1,4,3,2] => 1 = 2 - 1
[[],[[]],[]]
=> [[[.,.],[.,.]],.]
=> [3,1,2,4] => [1,3,2,4] => 1 = 2 - 1
[[],[[],[]]]
=> [[.,.],[[.,.],.]]
=> [3,4,1,2] => [1,3,2,4] => 1 = 2 - 1
[[],[[[]]]]
=> [[.,.],[.,[.,.]]]
=> [4,3,1,2] => [1,4,2,3] => 1 = 2 - 1
[[[]],[],[]]
=> [[[.,[.,.]],.],.]
=> [2,1,3,4] => [1,2,3,4] => 0 = 1 - 1
[[[]],[[]]]
=> [[.,[.,.]],[.,.]]
=> [4,2,1,3] => [1,4,3,2] => 1 = 2 - 1
[[[],[]],[]]
=> [[.,[[.,.],.]],.]
=> [2,3,1,4] => [1,2,3,4] => 0 = 1 - 1
[[[[]]],[]]
=> [[.,[.,[.,.]]],.]
=> [3,2,1,4] => [1,3,2,4] => 1 = 2 - 1
[[[],[],[]]]
=> [.,[[[.,.],.],.]]
=> [2,3,4,1] => [1,2,3,4] => 0 = 1 - 1
[[[],[[]]]]
=> [.,[[.,.],[.,.]]]
=> [4,2,3,1] => [1,4,2,3] => 1 = 2 - 1
[[[[]],[]]]
=> [.,[[.,[.,.]],.]]
=> [3,2,4,1] => [1,3,4,2] => 1 = 2 - 1
[[[[],[]]]]
=> [.,[.,[[.,.],.]]]
=> [3,4,2,1] => [1,3,2,4] => 1 = 2 - 1
[[[[[]]]]]
=> [.,[.,[.,[.,.]]]]
=> [4,3,2,1] => [1,4,2,3] => 1 = 2 - 1
[[],[],[],[],[]]
=> [[[[[.,.],.],.],.],.]
=> [1,2,3,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[],[],[],[[]]]
=> [[[[.,.],.],.],[.,.]]
=> [5,1,2,3,4] => [1,5,4,3,2] => 2 = 3 - 1
[[],[],[[]],[]]
=> [[[[.,.],.],[.,.]],.]
=> [4,1,2,3,5] => [1,4,3,2,5] => 1 = 2 - 1
[[],[],[[],[]]]
=> [[[.,.],.],[[.,.],.]]
=> [4,5,1,2,3] => [1,4,2,5,3] => 1 = 2 - 1
[[],[],[[[]]]]
=> [[[.,.],.],[.,[.,.]]]
=> [5,4,1,2,3] => [1,5,3,2,4] => 1 = 2 - 1
[[],[[]],[],[]]
=> [[[[.,.],[.,.]],.],.]
=> [3,1,2,4,5] => [1,3,2,4,5] => 1 = 2 - 1
[[],[[]],[[]]]
=> [[[.,.],[.,.]],[.,.]]
=> [5,3,1,2,4] => [1,5,4,2,3] => 2 = 3 - 1
[[],[[],[]],[]]
=> [[[.,.],[[.,.],.]],.]
=> [3,4,1,2,5] => [1,3,2,4,5] => 1 = 2 - 1
[[],[[[]]],[]]
=> [[[.,.],[.,[.,.]]],.]
=> [4,3,1,2,5] => [1,4,2,3,5] => 1 = 2 - 1
[[],[[],[],[]]]
=> [[.,.],[[[.,.],.],.]]
=> [3,4,5,1,2] => [1,3,5,2,4] => 1 = 2 - 1
[[],[[],[[]]]]
=> [[.,.],[[.,.],[.,.]]]
=> [5,3,4,1,2] => [1,5,2,3,4] => 1 = 2 - 1
[[],[[[]],[]]]
=> [[.,.],[[.,[.,.]],.]]
=> [4,3,5,1,2] => [1,4,2,3,5] => 1 = 2 - 1
[[],[[[],[]]]]
=> [[.,.],[.,[[.,.],.]]]
=> [4,5,3,1,2] => [1,4,2,5,3] => 1 = 2 - 1
[[],[[[[]]]]]
=> [[.,.],[.,[.,[.,.]]]]
=> [5,4,3,1,2] => [1,5,2,4,3] => 1 = 2 - 1
[[[]],[],[],[]]
=> [[[[.,[.,.]],.],.],.]
=> [2,1,3,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[]],[],[[]]]
=> [[[.,[.,.]],.],[.,.]]
=> [5,2,1,3,4] => [1,5,4,3,2] => 2 = 3 - 1
[[[]],[[]],[]]
=> [[[.,[.,.]],[.,.]],.]
=> [4,2,1,3,5] => [1,4,3,2,5] => 1 = 2 - 1
[[[]],[[],[]]]
=> [[.,[.,.]],[[.,.],.]]
=> [4,5,2,1,3] => [1,4,2,5,3] => 1 = 2 - 1
[[[]],[[[]]]]
=> [[.,[.,.]],[.,[.,.]]]
=> [5,4,2,1,3] => [1,5,3,2,4] => 1 = 2 - 1
[[[],[]],[],[]]
=> [[[.,[[.,.],.]],.],.]
=> [2,3,1,4,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[[]]],[],[]]
=> [[[.,[.,[.,.]]],.],.]
=> [3,2,1,4,5] => [1,3,2,4,5] => 1 = 2 - 1
[[[],[]],[[]]]
=> [[.,[[.,.],.]],[.,.]]
=> [5,2,3,1,4] => [1,5,4,2,3] => 2 = 3 - 1
[[[[]]],[[]]]
=> [[.,[.,[.,.]]],[.,.]]
=> [5,3,2,1,4] => [1,5,4,2,3] => 2 = 3 - 1
[[[],[],[]],[]]
=> [[.,[[[.,.],.],.]],.]
=> [2,3,4,1,5] => [1,2,3,4,5] => 0 = 1 - 1
[[[],[[]]],[]]
=> [[.,[[.,.],[.,.]]],.]
=> [4,2,3,1,5] => [1,4,2,3,5] => 1 = 2 - 1
[[[[]],[]],[]]
=> [[.,[[.,[.,.]],.]],.]
=> [3,2,4,1,5] => [1,3,4,2,5] => 1 = 2 - 1
[[[[],[]]],[]]
=> [[.,[.,[[.,.],.]]],.]
=> [3,4,2,1,5] => [1,3,2,4,5] => 1 = 2 - 1
[[[[[]]]],[]]
=> [[.,[.,[.,[.,.]]]],.]
=> [4,3,2,1,5] => [1,4,2,3,5] => 1 = 2 - 1
Description
The number of cycle peaks and the number of cycle valleys of a permutation. A '''cycle peak''' of a permutation $\pi$ is an index $i$ such that $\pi^{-1}(i) < i > \pi(i)$. Analogously, a '''cycle valley''' is an index $i$ such that $\pi^{-1}(i) > i < \pi(i)$. Clearly, every cycle of $\pi$ contains as many peaks as valleys.
The following 48 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St001269The sum of the minimum of the number of exceedances and deficiencies in each cycle of a permutation. St001840The number of descents of a set partition. St000568The hook number of a binary tree. St000353The number of inner valleys of a permutation. St000711The number of big exceedences of a permutation. St001489The maximum of the number of descents and the number of inverse descents. St000454The largest eigenvalue of a graph if it is integral. St000456The monochromatic index of a connected graph. St001060The distinguishing index of a graph. St000455The second largest eigenvalue of a graph if it is integral. St001553The number of indecomposable summands of the square of the Jacobson radical as a bimodule in the Nakayama algebra corresponding to the Dyck path. St000758The length of the longest staircase fitting into an integer composition. St000628The balance of a binary word. St001569The maximal modular displacement of a 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$. St001423The number of distinct cubes in a binary word. St001960The number of descents of a permutation minus one if its first entry is not one. St001638The book thickness of a graph. St000741The Colin de Verdière graph invariant. St000661The number of rises of length 3 of a Dyck path. St000260The radius of a connected graph. St001198The number of simple modules in the algebra $eAe$ with projective dimension at most 1 in the corresponding Nakayama algebra $A$ with minimal faithful projective-injective module $eA$. St001206The maximal dimension of an indecomposable projective $eAe$-module (that is the height of the corresponding Dyck path) of the corresponding Nakayama algebra with minimal faithful projective-injective module $eA$. St001896The number of right descents of a signed permutations. St001946The number of descents in a parking function. St000243The number of cyclic valleys and cyclic peaks of a permutation. St000091The descent variation of a composition. St000118The number of occurrences of the contiguous pattern [.,[.,[.,.]]] in a binary tree. St000122The number of occurrences of the contiguous pattern [.,[.,[[.,.],.]]] in a binary tree. St000130The number of occurrences of the contiguous pattern [.,[[.,.],[[.,.],.]]] in a binary tree. St000233The number of nestings of a set partition. St000236The number of cyclical small weak excedances. St000241The number of cyclical small excedances. St000248The number of anti-singletons of a set partition. St000249The number of singletons (St000247) plus the number of antisingletons (St000248) of a set partition. St000252The number of nodes of degree 3 of a binary tree. St000365The number of double ascents of a permutation. St000650The number of 3-rises of a permutation. St001292The injective dimension of the tensor product of two copies of the dual of the Nakayama algebra associated to a Dyck path. St001470The cyclic holeyness of a permutation. St001488The number of corners of a skew partition. St001551The number of restricted non-inversions between exceedances where the rightmost exceedance is linked. St001594The number of indecomposable projective modules in the Nakayama algebra corresponding to the Dyck path such that the UC-condition is satisfied. St001624The breadth of a lattice. St001630The global dimension of the incidence algebra of the lattice over the rational numbers. St001651The Frankl number of a lattice. St001878The projective dimension of the simple modules corresponding to the minimum of L in the incidence algebra of the lattice L. St000259The diameter of a connected graph.