Identifier
Mp00038:
Integer compositions
—reverse⟶
Integer compositions
Mp00231: Integer compositions —bounce path⟶ Dyck paths
Mp00101: Dyck paths —decomposition reverse⟶ Dyck paths
Mp00231: Integer compositions —bounce path⟶ Dyck paths
Mp00101: Dyck paths —decomposition reverse⟶ Dyck paths
Images
=>
Cc0005;cc-rep-2Cc0005;cc-rep-3
[1]=>[1]=>[1,0]=>[1,0]
[1,1]=>[1,1]=>[1,0,1,0]=>[1,1,0,0]
[2]=>[2]=>[1,1,0,0]=>[1,0,1,0]
[1,1,1]=>[1,1,1]=>[1,0,1,0,1,0]=>[1,1,1,0,0,0]
[1,2]=>[2,1]=>[1,1,0,0,1,0]=>[1,1,0,0,1,0]
[2,1]=>[1,2]=>[1,0,1,1,0,0]=>[1,1,0,1,0,0]
[3]=>[3]=>[1,1,1,0,0,0]=>[1,0,1,0,1,0]
[1,1,1,1]=>[1,1,1,1]=>[1,0,1,0,1,0,1,0]=>[1,1,1,1,0,0,0,0]
[1,1,2]=>[2,1,1]=>[1,1,0,0,1,0,1,0]=>[1,1,1,0,0,0,1,0]
[1,2,1]=>[1,2,1]=>[1,0,1,1,0,0,1,0]=>[1,1,1,0,0,1,0,0]
[1,3]=>[3,1]=>[1,1,1,0,0,0,1,0]=>[1,1,0,0,1,0,1,0]
[2,1,1]=>[1,1,2]=>[1,0,1,0,1,1,0,0]=>[1,1,1,0,1,0,0,0]
[2,2]=>[2,2]=>[1,1,0,0,1,1,0,0]=>[1,1,0,1,0,0,1,0]
[3,1]=>[1,3]=>[1,0,1,1,1,0,0,0]=>[1,1,0,1,0,1,0,0]
[4]=>[4]=>[1,1,1,1,0,0,0,0]=>[1,0,1,0,1,0,1,0]
[1,1,1,1,1]=>[1,1,1,1,1]=>[1,0,1,0,1,0,1,0,1,0]=>[1,1,1,1,1,0,0,0,0,0]
[1,1,1,2]=>[2,1,1,1]=>[1,1,0,0,1,0,1,0,1,0]=>[1,1,1,1,0,0,0,0,1,0]
[1,1,2,1]=>[1,2,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1,1,0,1,0,0,0,0,0,0,0,0,0,0]
[2,8,1]=>[1,8,2]=>[1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,0,0]=>[1,1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]
[11,1]=>[1,11]=>[1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]=>[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]
[6,1,1,1,1,1]=>[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]
Map
reverse
Description
Return the reversal of a composition.
That is, the composition $(i_1, i_2, \ldots, i_k)$ is sent to $(i_k, i_{k-1}, \ldots, i_1)$.
That is, the composition $(i_1, i_2, \ldots, i_k)$ is sent to $(i_k, i_{k-1}, \ldots, i_1)$.
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$.
searching the database
Sorry, this map was not found in the database.