Identifier
Mp00231:
Integer compositions
—bounce path⟶
Dyck paths
Mp00101: Dyck paths —decomposition reverse⟶ Dyck paths
Mp00028: Dyck paths —reverse⟶ Dyck paths
Mp00101: Dyck paths —decomposition reverse⟶ Dyck paths
Mp00028: Dyck paths —reverse⟶ Dyck paths
Images
=>
Cc0005;cc-rep-1Cc0005;cc-rep-2Cc0005;cc-rep-3
[1]=>[1,0]=>[1,0]=>[1,0]
[1,1]=>[1,0,1,0]=>[1,1,0,0]=>[1,1,0,0]
[2]=>[1,1,0,0]=>[1,0,1,0]=>[1,0,1,0]
[1,1,1]=>[1,0,1,0,1,0]=>[1,1,1,0,0,0]=>[1,1,1,0,0,0]
[1,2]=>[1,0,1,1,0,0]=>[1,1,0,1,0,0]=>[1,1,0,1,0,0]
[2,1]=>[1,1,0,0,1,0]=>[1,1,0,0,1,0]=>[1,0,1,1,0,0]
[3]=>[1,1,1,0,0,0]=>[1,0,1,0,1,0]=>[1,0,1,0,1,0]
[1,1,1,1]=>[1,0,1,0,1,0,1,0]=>[1,1,1,1,0,0,0,0]=>[1,1,1,1,0,0,0,0]
[1,1,2]=>[1,0,1,0,1,1,0,0]=>[1,1,1,0,1,0,0,0]=>[1,1,1,0,1,0,0,0]
[1,2,1]=>[1,0,1,1,0,0,1,0]=>[1,1,1,0,0,1,0,0]=>[1,1,0,1,1,0,0,0]
[1,3]=>[1,0,1,1,1,0,0,0]=>[1,1,0,1,0,1,0,0]=>[1,1,0,1,0,1,0,0]
[2,1,1]=>[1,1,0,0,1,0,1,0]=>[1,1,1,0,0,0,1,0]=>[1,0,1,1,1,0,0,0]
[2,2]=>[1,1,0,0,1,1,0,0]=>[1,1,0,1,0,0,1,0]=>[1,0,1,1,0,1,0,0]
[3,1]=>[1,1,1,0,0,0,1,0]=>[1,1,0,0,1,0,1,0]=>[1,0,1,0,1,1,0,0]
[4]=>[1,1,1,1,0,0,0,0]=>[1,0,1,0,1,0,1,0]=>[1,0,1,0,1,0,1,0]
[1,1,1,1,1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,0,1,0,1,0,1,0,0]
[1,2,2,2,2,2]=>[1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0]=>[1,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0]=>[1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,0,0,0,0,0,0]
[1,1,1,1,1,6]=>[1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0]=>[1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0]=>[1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0]
Map
bounce path
Description
The bounce path determined by an integer composition.
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
reverse
Description
The reversal of a Dyck path.
This is the Dyck path obtained by reading the path backwards.
This is the Dyck path obtained by reading the path backwards.
searching the database
Sorry, this map was not found in the database.