Identifier
Mp00201:
Dyck paths
—Ringel⟶
Permutations
Mp00236: Permutations —Clarke-Steingrimsson-Zeng inverse⟶ Permutations
Mp00130: Permutations —descent tops⟶ Binary words
Mp00236: Permutations —Clarke-Steingrimsson-Zeng inverse⟶ Permutations
Mp00130: Permutations —descent tops⟶ Binary words
Images
=>
Cc0005;cc-rep-0
[1,0]=>[2,1]=>[2,1]=>1
[1,0,1,0]=>[3,1,2]=>[3,1,2]=>01
[1,1,0,0]=>[2,3,1]=>[3,2,1]=>11
[1,0,1,0,1,0]=>[4,1,2,3]=>[4,1,2,3]=>001
[1,0,1,1,0,0]=>[3,1,4,2]=>[4,3,1,2]=>011
[1,1,0,0,1,0]=>[2,4,1,3]=>[4,2,1,3]=>101
[1,1,0,1,0,0]=>[4,3,1,2]=>[3,1,4,2]=>011
[1,1,1,0,0,0]=>[2,3,4,1]=>[4,3,2,1]=>111
[1,0,1,0,1,0,1,0]=>[5,1,2,3,4]=>[5,1,2,3,4]=>0001
[1,0,1,0,1,1,0,0]=>[4,1,2,5,3]=>[5,4,1,2,3]=>0011
[1,0,1,1,0,0,1,0]=>[3,1,5,2,4]=>[5,3,1,2,4]=>0101
[1,0,1,1,0,1,0,0]=>[5,1,4,2,3]=>[4,1,2,5,3]=>0011
[1,0,1,1,1,0,0,0]=>[3,1,4,5,2]=>[5,4,3,1,2]=>0111
[1,1,0,0,1,0,1,0]=>[2,5,1,3,4]=>[5,2,1,3,4]=>1001
[1,1,0,0,1,1,0,0]=>[2,4,1,5,3]=>[5,4,2,1,3]=>1011
[1,1,0,1,0,0,1,0]=>[5,3,1,2,4]=>[3,1,5,2,4]=>0101
[1,1,0,1,0,1,0,0]=>[5,4,1,2,3]=>[4,1,5,2,3]=>0011
[1,1,0,1,1,0,0,0]=>[4,3,1,5,2]=>[3,1,5,4,2]=>0111
[1,1,1,0,0,0,1,0]=>[2,3,5,1,4]=>[5,3,2,1,4]=>1101
[1,1,1,0,0,1,0,0]=>[2,5,4,1,3]=>[4,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1,0,1,0,1,0,1,1,0,1,0,0]=>[11,1,2,3,4,5,6,7,10,8,9]=>[10,1,2,3,4,5,6,7,8,11,9]=>0000000011
[1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>[7,1,2,3,4,5,10,9,6,8]=>[9,7,1,2,3,4,5,6,10,8]=>000001011
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>[11,1,2,3,4,5,6,10,7,8,9]=>[10,1,2,3,4,5,6,7,11,8,9]=>0000000011
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>[10,1,2,3,4,5,11,6,7,8,9]=>[11,1,2,3,4,5,6,10,7,8,9]=>0000000011
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>[11,1,2,3,4,10,5,6,7,8,9]=>[10,1,2,3,4,5,11,6,7,8,9]=>0000000011
[1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>[10,1,2,11,3,4,5,6,7,8,9]=>[11,1,2,3,10,4,5,6,7,8,9]=>0000000011
[1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>[11,1,10,2,3,4,5,6,7,8,9]=>[10,1,2,11,3,4,5,6,7,8,9]=>0000000011
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>[11,10,1,2,3,4,5,6,7,8,9]=>[10,1,11,2,3,4,5,6,7,8,9]=>0000000011
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>[12,1,2,3,4,5,6,7,8,9,10,11]=>[12,1,2,3,4,5,6,7,8,9,10,11]=>00000000001
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>[11,1,2,3,4,5,6,7,8,9,12,10]=>[12,11,1,2,3,4,5,6,7,8,9,10]=>00000000011
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>[12,1,2,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3,1,11,2]=>0111111111
[1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0]=>[12,3,4,5,6,7,8,9,10,11,1,2]=>[11,10,9,8,7,6,5,4,3,1,12,2]=>01111111111
[1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>[10,1,2,5,3,4,6,7,8,9]=>[5,1,2,3,10,4,6,7,8,9]=>000100001
[1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0]=>[9,7,1,2,3,4,5,6,10,8]=>[7,1,10,9,2,3,4,5,6,8]=>000001011
[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0]=>[2,3,4,5,6,7,11,9,10,1,8]=>[10,9,7,6,5,4,3,2,1,11,8]=>1111110111
[1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0]=>[2,3,4,11,6,7,8,9,10,1,5]=>[10,9,8,7,6,4,3,2,1,11,5]=>1110111111
[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0]=>[2,3,4,5,6,7,8,9,10,11,12,1]=>[12,11,10,9,8,7,6,5,4,3,2,1]=>11111111111
Map
Ringel
Description
The Ringel permutation of the LNakayama algebra corresponding to a Dyck path.
Map
Clarke-Steingrimsson-Zeng inverse
Description
The inverse of the Clarke-Steingrimsson-Zeng map, sending excedances to descents.
This is the inverse of the map $\Phi$ in [1, sec.3].
This is the inverse of the map $\Phi$ in [1, sec.3].
Map
descent tops
Description
The descent tops of a permutation as a binary word.
Since 1 is never a descent top, it is omitted and the first letter of the word corresponds to the element 2.
Since 1 is never a descent top, it is omitted and the first letter of the word corresponds to the element 2.
searching the database
Sorry, this map was not found in the database.