Identifier
Mp00101:
Dyck paths
—decomposition reverse⟶
Dyck paths
Mp00031: Dyck paths —to 312-avoiding permutation⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Mp00031: Dyck paths —to 312-avoiding permutation⟶ Permutations
Mp00064: Permutations —reverse⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Images
=>
Cc0005;cc-rep-0Cc0005;cc-rep-1
[1,0]=>[1,0]=>[1]=>[1]=>
[1,0,1,0]=>[1,1,0,0]=>[2,1]=>[1,2]=>0
[1,1,0,0]=>[1,0,1,0]=>[1,2]=>[2,1]=>1
[1,0,1,0,1,0]=>[1,1,1,0,0,0]=>[3,2,1]=>[1,2,3]=>00
[1,0,1,1,0,0]=>[1,1,0,1,0,0]=>[2,3,1]=>[1,3,2]=>01
[1,1,0,0,1,0]=>[1,1,0,0,1,0]=>[2,1,3]=>[3,1,2]=>10
[1,1,0,1,0,0]=>[1,0,1,1,0,0]=>[1,3,2]=>[2,3,1]=>01
[1,1,1,0,0,0]=>[1,0,1,0,1,0]=>[1,2,3]=>[3,2,1]=>11
[1,0,1,0,1,0,1,0]=>[1,1,1,1,0,0,0,0]=>[4,3,2,1]=>[1,2,3,4]=>000
[1,0,1,0,1,1,0,0]=>[1,1,1,0,1,0,0,0]=>[3,4,2,1]=>[1,2,4,3]=>001
[1,0,1,1,0,0,1,0]=>[1,1,1,0,0,1,0,0]=>[3,2,4,1]=>[1,4,2,3]=>010
[1,0,1,1,0,1,0,0]=>[1,1,0,1,1,0,0,0]=>[2,4,3,1]=>[1,3,4,2]=>001
[1,0,1,1,1,0,0,0]=>[1,1,0,1,0,1,0,0]=>[2,3,4,1]=>[1,4,3,2]=>011
[1,1,0,0,1,0,1,0]=>[1,1,1,0,0,0,1,0]=>[3,2,1,4]=>[4,1,2,3]=>100
[1,1,0,0,1,1,0,0]=>[1,1,0,1,0,0,1,0]=>[2,3,1,4]=>[4,1,3,2]=>101
[1,1,0,1,0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,2,3,4,5,6,7,8,9,12,10,11]=>00000000010
[1,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0]=>[1,1,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0]=>[3,5,6,7,8,9,10,4,2,1]=>[1,2,4,10,9,8,7,6,5,3]=>000111111
[1,1,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0]=>[1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,1,0,0]=>[2,1,4,3,6,5,8,9,7]=>[7,9,8,5,6,3,4,1,2]=>01101010
[1,1,1,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0,0]=>[1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,1,0,0]=>[1,3,2,5,4,7,6,9,10,8]=>[8,10,9,6,7,4,5,2,3,1]=>011010101
Map
decomposition reverse
Description
This map is recursively defined as follows.
The unique empty path of semilength $0$ is sent to itself.
Let $D$ be a Dyck path of semilength $n > 0$ and decompose it into $1 D_1 0 D_2$ with Dyck paths $D_1, D_2$ of respective semilengths $n_1$ and $n_2$ such that $n_1$ is minimal. One then has $n_1+n_2 = n-1$.
Now let $\tilde D_1$ and $\tilde D_2$ be the recursively defined respective images of $D_1$ and $D_2$ under this map. The image of $D$ is then defined as $1 \tilde D_2 0 \tilde D_1$.
The unique empty path of semilength $0$ is sent to itself.
Let $D$ be a Dyck path of semilength $n > 0$ and decompose it into $1 D_1 0 D_2$ with Dyck paths $D_1, D_2$ of respective semilengths $n_1$ and $n_2$ such that $n_1$ is minimal. One then has $n_1+n_2 = n-1$.
Now let $\tilde D_1$ and $\tilde D_2$ be the recursively defined respective images of $D_1$ and $D_2$ under this map. The image of $D$ is then defined as $1 \tilde D_2 0 \tilde D_1$.
Map
to 312-avoiding permutation
Description
Map
reverse
Description
Sends a permutation to its reverse.
The reverse of a permutation $\sigma$ of length $n$ is given by $\tau$ with $\tau(i) = \sigma(n+1-i)$.
The reverse of a permutation $\sigma$ of length $n$ is given by $\tau$ with $\tau(i) = \sigma(n+1-i)$.
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.