Identifier
Mp00099:
Dyck paths
—bounce path⟶
Dyck paths
Mp00023: Dyck paths —to non-crossing permutation⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Mp00023: Dyck paths —to non-crossing permutation⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Images
=>
Cc0005;cc-rep-0Cc0005;cc-rep-1
[1,0]=>[1,0]=>[1]=>
[1,0,1,0]=>[1,0,1,0]=>[1,2]=>0
[1,1,0,0]=>[1,1,0,0]=>[2,1]=>1
[1,0,1,0,1,0]=>[1,0,1,0,1,0]=>[1,2,3]=>00
[1,0,1,1,0,0]=>[1,0,1,1,0,0]=>[1,3,2]=>01
[1,1,0,0,1,0]=>[1,1,0,0,1,0]=>[2,1,3]=>10
[1,1,0,1,0,0]=>[1,0,1,1,0,0]=>[1,3,2]=>01
[1,1,1,0,0,0]=>[1,1,1,0,0,0]=>[3,2,1]=>11
[1,0,1,0,1,0,1,0]=>[1,0,1,0,1,0,1,0]=>[1,2,3,4]=>000
[1,0,1,0,1,1,0,0]=>[1,0,1,0,1,1,0,0]=>[1,2,4,3]=>001
[1,0,1,1,0,0,1,0]=>[1,0,1,1,0,0,1,0]=>[1,3,2,4]=>010
[1,0,1,1,0,1,0,0]=>[1,0,1,0,1,1,0,0]=>[1,2,4,3]=>001
[1,0,1,1,1,0,0,0]=>[1,0,1,1,1,0,0,0]=>[1,4,3,2]=>011
[1,1,0,0,1,0,1,0]=>[1,1,0,0,1,0,1,0]=>[2,1,3,4]=>100
[1,1,0,0,1,1,0,0]=>[1,1,0,0,1,1,0,0]=>[2,1,4,3]=>101
[1,1,0,1,0,0,1,0]=>[1,0,1,1,0,0,1,0]=>[1,3,2,4]=>010
[1,1,0,1,0,1,0,0]=>[1,1,0,0,1,1,0,0]=>[2,1,4,3]=>101
[1,1,0,1,1,0,0,0]=>[1,0,1,1,1,0,0,0]=>[1,4,3,2]=>011
[1,1,1,0,0,0,1,0]=>[1,1,1,0,0,0,1,0]=>[3,2,1,4]=>110
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,1,1,1,1,0,0,0,1,0,0,0,0,0]=>[1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0]=>[3,2,1,8,7,6,5,4]=>1101111
[1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0]=>[1,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0]=>[2,1,8,7,6,5,4,3]=>1011111
[1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0]=>[1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0]=>[1,8,7,6,5,4,3,2]=>0111111
[1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]=>[1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]=>[8,7,6,5,4,3,2,1]=>1111111
[1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,0]=>[1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,0]=>[1,2,3,4,5,10,9,8,7,6]=>000001111
Map
bounce path
Description
Sends a Dyck path $D$ of length $2n$ to its bounce path.
This path is formed by starting at the endpoint $(n,n)$ of $D$ and travelling west until encountering the first vertical step of $D$, then south until hitting the diagonal, then west again to hit $D$, etc. until the point $(0,0)$ is reached.
This map is the first part of the zeta map Mp00030zeta map.
This path is formed by starting at the endpoint $(n,n)$ of $D$ and travelling west until encountering the first vertical step of $D$, then south until hitting the diagonal, then west again to hit $D$, etc. until the point $(0,0)$ is reached.
This map is the first part of the zeta map Mp00030zeta map.
Map
to non-crossing permutation
Description
Sends a Dyck path $D$ with valley at positions $\{(i_1,j_1),\ldots,(i_k,j_k)\}$ to the unique non-crossing permutation $\pi$ having descents $\{i_1,\ldots,i_k\}$ and whose inverse has descents $\{j_1,\ldots,j_k\}$.
It sends the area St000012The area of a Dyck path. to the number of inversions St000018The number of inversions of a permutation. and the major index St000027The major index of a Dyck path. to $n(n-1)$ minus the sum of the major index St000004The major index of a permutation. and the inverse major index St000305The inverse major index of a permutation..
It sends the area St000012The area of a Dyck path. to the number of inversions St000018The number of inversions of a permutation. and the major index St000027The major index of a Dyck path. to $n(n-1)$ minus the sum of the major index St000004The major index of a permutation. and the inverse major index St000305The inverse major index of a permutation..
Map
descent word
Description
The descent positions of a permutation as a binary word.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
searching the database
Sorry, this map was not found in the database.