Identifier
Values
[1] => [1,0] => [2,1] => 1
[1,1] => [1,0,1,0] => [3,1,2] => 1
[2] => [1,1,0,0] => [2,3,1] => 1
[1,1,1] => [1,0,1,0,1,0] => [4,1,2,3] => 1
[1,2] => [1,0,1,1,0,0] => [3,1,4,2] => 2
[2,1] => [1,1,0,0,1,0] => [2,4,1,3] => 1
[3] => [1,1,1,0,0,0] => [2,3,4,1] => 1
[1,1,1,1] => [1,0,1,0,1,0,1,0] => [5,1,2,3,4] => 1
[1,1,2] => [1,0,1,0,1,1,0,0] => [4,1,2,5,3] => 2
[1,2,1] => [1,0,1,1,0,0,1,0] => [3,1,5,2,4] => 2
[1,3] => [1,0,1,1,1,0,0,0] => [3,1,4,5,2] => 2
[2,1,1] => [1,1,0,0,1,0,1,0] => [2,5,1,3,4] => 1
[2,2] => [1,1,0,0,1,1,0,0] => [2,4,1,5,3] => 2
[3,1] => [1,1,1,0,0,0,1,0] => [2,3,5,1,4] => 1
[4] => [1,1,1,1,0,0,0,0] => [2,3,4,5,1] => 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0] => [6,1,2,3,4,5] => 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0] => [5,1,2,3,6,4] => 2
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0] => [4,1,2,6,3,5] => 2
[1,1,3] => [1,0,1,0,1,1,1,0,0,0] => [4,1,2,5,6,3] => 2
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0] => [3,1,6,2,4,5] => 2
[1,2,2] => [1,0,1,1,0,0,1,1,0,0] => [3,1,5,2,6,4] => 2
[1,3,1] => [1,0,1,1,1,0,0,0,1,0] => [3,1,4,6,2,5] => 2
[1,4] => [1,0,1,1,1,1,0,0,0,0] => [3,1,4,5,6,2] => 2
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0] => [2,6,1,3,4,5] => 1
[2,1,2] => [1,1,0,0,1,0,1,1,0,0] => [2,5,1,3,6,4] => 2
[2,2,1] => [1,1,0,0,1,1,0,0,1,0] => [2,4,1,6,3,5] => 2
[2,3] => [1,1,0,0,1,1,1,0,0,0] => [2,4,1,5,6,3] => 2
[3,1,1] => [1,1,1,0,0,0,1,0,1,0] => [2,3,6,1,4,5] => 1
[3,2] => [1,1,1,0,0,0,1,1,0,0] => [2,3,5,1,6,4] => 2
[4,1] => [1,1,1,1,0,0,0,0,1,0] => [2,3,4,6,1,5] => 1
[5] => [1,1,1,1,1,0,0,0,0,0] => [2,3,4,5,6,1] => 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0] => [7,1,2,3,4,5,6] => 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0] => [6,1,2,3,4,7,5] => 2
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0] => [5,1,2,3,7,4,6] => 2
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0] => [5,1,2,3,6,7,4] => 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0] => [2,7,1,3,4,5,6] => 1
[4,1,1] => [1,1,1,1,0,0,0,0,1,0,1,0] => [2,3,4,7,1,5,6] => 1
[4,2] => [1,1,1,1,0,0,0,0,1,1,0,0] => [2,3,4,6,1,7,5] => 2
[5,1] => [1,1,1,1,1,0,0,0,0,0,1,0] => [2,3,4,5,7,1,6] => 1
[6] => [1,1,1,1,1,1,0,0,0,0,0,0] => [2,3,4,5,6,7,1] => 1
[1,1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0,1,0] => [8,1,2,3,4,5,6,7] => 1
[1,1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,0,1,1,0,0] => [7,1,2,3,4,5,8,6] => 2
[1,2,2,2] => [1,0,1,1,0,0,1,1,0,0,1,1,0,0] => [3,1,5,2,7,4,8,6] => 2
[2,1,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0,1,0] => [2,8,1,3,4,5,6,7] => 1
[6,1] => [1,1,1,1,1,1,0,0,0,0,0,0,1,0] => [2,3,4,5,6,8,1,7] => 1
[7] => [1,1,1,1,1,1,1,0,0,0,0,0,0,0] => [2,3,4,5,6,7,8,1] => 1
[1,1,1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0] => [9,1,2,3,4,5,6,7,8] => 1
[1,1,1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0] => [8,1,2,3,4,5,6,9,7] => 2
[2,1,1,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0] => [2,9,1,3,4,5,6,7,8] => 1
[7,1] => [1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0] => [2,3,4,5,6,7,9,1,8] => 1
[8] => [1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0] => [2,3,4,5,6,7,8,9,1] => 1
[1,1,1,1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0] => [10,1,2,3,4,5,6,7,8,9] => 1
[1,1,1,1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0] => [9,1,2,3,4,5,6,7,10,8] => 2
[2,1,1,1,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0] => [2,10,1,3,4,5,6,7,8,9] => 1
[9] => [1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0] => [2,3,4,5,6,7,8,9,10,1] => 1
[1,1,1,1,1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0] => [11,1,2,3,4,5,6,7,8,9,10] => 1
[10] => [1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0] => [2,3,4,5,6,7,8,9,10,11,1] => 1
search for individual values
searching the database for the individual values of this statistic
/ search for generating function
searching the database for statistics with the same generating function
click to show known generating functions       
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 Mp00062Lehmer-code to major-code bijection to the number of descents, showing that together with the number of inversions St000018The number of inversions of a permutation. it is Euler-Mahonian.
Map
bounce path
Description
The bounce path determined by an integer composition.
Map
Ringel
Description
The Ringel permutation of the LNakayama algebra corresponding to a Dyck path.