Identifier
Mp00038:
Integer compositions
—reverse⟶
Integer compositions
Mp00231: Integer compositions —bounce path⟶ Dyck paths
Mp00027: Dyck paths —to partition⟶ Integer partitions
Mp00231: Integer compositions —bounce path⟶ Dyck paths
Mp00027: Dyck paths —to partition⟶ Integer partitions
Images
=>
Cc0005;cc-rep-2Cc0002;cc-rep-3
[1]=>[1]=>[1,0]=>[]
[1,1]=>[1,1]=>[1,0,1,0]=>[1]
[2]=>[2]=>[1,1,0,0]=>[]
[1,1,1]=>[1,1,1]=>[1,0,1,0,1,0]=>[2,1]
[1,2]=>[2,1]=>[1,1,0,0,1,0]=>[2]
[2,1]=>[1,2]=>[1,0,1,1,0,0]=>[1,1]
[3]=>[3]=>[1,1,1,0,0,0]=>[]
[1,1,1,1]=>[1,1,1,1]=>[1,0,1,0,1,0,1,0]=>[3,2,1]
[1,1,2]=>[2,1,1]=>[1,1,0,0,1,0,1,0]=>[3,2]
[1,2,1]=>[1,2,1]=>[1,0,1,1,0,0,1,0]=>[3,1,1]
[1,3]=>[3,1]=>[1,1,1,0,0,0,1,0]=>[3]
[2,1,1]=>[1,1,2]=>[1,0,1,0,1,1,0,0]=>[2,2,1]
[2,2]=>[2,2]=>[1,1,0,0,1,1,0,0]=>[2,2]
[3,1]=>[1,3]=>[1,0,1,1,1,0,0,0]=>[1,1,1]
[4]=>[4]=>[1,1,1,1,0,0,0,0]=>[]
[1,1,1,1,1]=>[1,1,1,1,1]=>[1,0,1,0,1,0,1,0,1,0]=>[4,3,2,1]
[1,1,1,2]=>[2,1,1,1]=>[1,1,0,0,1,0,1,0,1,0]=>[4,3,2]
[1,1,2,1]=>[1,2,1,1]=>[1,0,1,1,0,0,1,0,1,0]=>[4,3,1,1]
[1,1,3]=>[3,1,1]=>[1,1,1,0,0,0,1,0,1,0]=>[4,3]
[1,2,1,1]=>[1,1,2,1]=>[1,0,1,0,1,1,0,0,1,0]=>[4,2,2,1]
[1,2,2]=>[2,2,1]=>[1,1,0,0,1,1,0,0,1,0]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,0,0,0]=>[2,2,2,2,2,2,2,2]
[9,1]=>[1,9]=>[1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0]=>[1,1,1,1,1,1,1,1,1]
[10]=>[10]=>[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0]=>[]
[1,10]=>[10,1]=>[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0]=>[10]
[10,1]=>[1,10]=>[1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0]=>[1,1,1,1,1,1,1,1,1,1]
[2,2,2,2,2,2]=>[2,2,2,2,2,2]=>[1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0]=>[10,10,8,8,6,6,4,4,2,2]
[1,2,2,2,2,2,1]=>[1,2,2,2,2,2,1]=>[1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,0]=>[11,9,9,7,7,5,5,3,3,1,1]
[2,1,1,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,1,1,2]=>[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>[9,9,8,7,6,5,4,3,2,1]
[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]=>[9,9,1,1,1,1,1,1,1,1]
[2,1,1,1,1,1,1,2,1]=>[1,2,1,1,1,1,1,1,2]=>[1,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>[9,9,8,7,6,5,4,3,1,1]
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
to partition
Description
The cut-out partition of a Dyck path.
The partition $\lambda$ associated to a Dyck path is defined to be the complementary partition inside the staircase partition $(n-1,\ldots,2,1)$ when cutting out $D$ considered as a path from $(0,0)$ to $(n,n)$.
In other words, $\lambda_{i}$ is the number of down-steps before the $(n+1-i)$-th up-step of $D$.
This map is a bijection between Dyck paths of size $n$ and partitions inside the staircase partition $(n-1,\ldots,2,1)$.
The partition $\lambda$ associated to a Dyck path is defined to be the complementary partition inside the staircase partition $(n-1,\ldots,2,1)$ when cutting out $D$ considered as a path from $(0,0)$ to $(n,n)$.
In other words, $\lambda_{i}$ is the number of down-steps before the $(n+1-i)$-th up-step of $D$.
This map is a bijection between Dyck paths of size $n$ and partitions inside the staircase partition $(n-1,\ldots,2,1)$.
searching the database
Sorry, this map was not found in the database.