Identifier
Mp00123:
Dyck paths
—Barnabei-Castronuovo involution⟶
Dyck paths
Mp00024: Dyck paths —to 321-avoiding permutation⟶ Permutations
Mp00131: Permutations —descent bottoms⟶ Binary words
Mp00024: Dyck paths —to 321-avoiding permutation⟶ Permutations
Mp00131: Permutations —descent bottoms⟶ Binary words
Images
=>
Cc0005;cc-rep-0Cc0005;cc-rep-1
[1,0]=>[1,0]=>[1]=>
[1,0,1,0]=>[1,0,1,0]=>[2,1]=>1
[1,1,0,0]=>[1,1,0,0]=>[1,2]=>0
[1,0,1,0,1,0]=>[1,1,0,1,0,0]=>[1,3,2]=>01
[1,0,1,1,0,0]=>[1,1,0,0,1,0]=>[3,1,2]=>10
[1,1,0,0,1,0]=>[1,0,1,1,0,0]=>[2,3,1]=>10
[1,1,0,1,0,0]=>[1,0,1,0,1,0]=>[2,1,3]=>10
[1,1,1,0,0,0]=>[1,1,1,0,0,0]=>[1,2,3]=>00
[1,0,1,0,1,0,1,0]=>[1,0,1,0,1,0,1,0]=>[2,1,4,3]=>101
[1,0,1,0,1,1,0,0]=>[1,0,1,0,1,1,0,0]=>[2,4,1,3]=>100
[1,0,1,1,0,0,1,0]=>[1,1,1,0,1,0,0,0]=>[1,2,4,3]=>001
[1,0,1,1,0,1,0,0]=>[1,1,1,0,0,1,0,0]=>[1,4,2,3]=>010
[1,0,1,1,1,0,0,0]=>[1,1,1,0,0,0,1,0]=>[4,1,2,3]=>100
[1,1,0,0,1,0,1,0]=>[1,1,0,0,1,0,1,0]=>[3,1,4,2]=>110
[1,1,0,0,1,1,0,0]=>[1,1,0,0,1,1,0,0]=>[3,4,1,2]=>100
[1,1,0,1,0,0,1,0]=>[1,1,0,1,1,0,0,0]=>[1,3,4,2]=>010
[1,1,0,1,0,1,0,0]=>[1,1,0,1,0,1,0,0]=>[1,3,2,4]=>010
[1,1,0,1,1,0,0,0]=>[1,1,0,1,0,0,1,0]=>[3,1,2,4]=>100
[1,1,1,0,0,0,1,0]=>[1,0,1,1,1,0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0]=>[1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0]=>[3,1,5,2,7,4,9,6,8,10]=>110101000
Map
Barnabei-Castronuovo involution
Description
The Barnabei-Castronuovo Schützenberger involution on Dyck paths.
The image of a Dyck path is obtained by reversing the canonical decompositions of the two halves of the Dyck path. More precisely, let $D_1, 1, D_2, 1, \dots$ be the canonical decomposition of the first half, then the canonical decomposition of the first half of the image is $\dots, 1, D_2, 1, D_1$.
The image of a Dyck path is obtained by reversing the canonical decompositions of the two halves of the Dyck path. More precisely, let $D_1, 1, D_2, 1, \dots$ be the canonical decomposition of the first half, then the canonical decomposition of the first half of the image is $\dots, 1, D_2, 1, D_1$.
Map
to 321-avoiding permutation
Description
Sends a Dyck path to a 321-avoiding permutation.
This bijection defined in [3, pp. 60] and in [2, Section 3.1].
It is shown in [1] that it sends the number of centered tunnels to the number of fixed points, the number of right tunnels to the number of exceedences, and the semilength plus the height of the middle point to 2 times the length of the longest increasing subsequence.
This bijection defined in [3, pp. 60] and in [2, Section 3.1].
It is shown in [1] that it sends the number of centered tunnels to the number of fixed points, the number of right tunnels to the number of exceedences, and the semilength plus the height of the middle point to 2 times the length of the longest increasing subsequence.
Map
descent bottoms
Description
The descent bottoms of a permutation as a binary word.
searching the database
Sorry, this map was not found in the database.