Identifier
Mp00025:
Dyck paths
—to 132-avoiding permutation⟶
Permutations
Mp00069: Permutations —complement⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Mp00069: Permutations —complement⟶ Permutations
Mp00109: Permutations —descent word⟶ Binary words
Images
=>
Cc0005;cc-rep-0
[1,0]=>[1]=>[1]=>
[1,0,1,0]=>[2,1]=>[1,2]=>0
[1,1,0,0]=>[1,2]=>[2,1]=>1
[1,0,1,0,1,0]=>[3,2,1]=>[1,2,3]=>00
[1,0,1,1,0,0]=>[2,3,1]=>[2,1,3]=>10
[1,1,0,0,1,0]=>[3,1,2]=>[1,3,2]=>01
[1,1,0,1,0,0]=>[2,1,3]=>[2,3,1]=>01
[1,1,1,0,0,0]=>[1,2,3]=>[3,2,1]=>11
[1,0,1,0,1,0,1,0]=>[4,3,2,1]=>[1,2,3,4]=>000
[1,0,1,0,1,1,0,0]=>[3,4,2,1]=>[2,1,3,4]=>100
[1,0,1,1,0,0,1,0]=>[4,2,3,1]=>[1,3,2,4]=>010
[1,0,1,1,0,1,0,0]=>[3,2,4,1]=>[2,3,1,4]=>010
[1,0,1,1,1,0,0,0]=>[2,3,4,1]=>[3,2,1,4]=>110
[1,1,0,0,1,0,1,0]=>[4,3,1,2]=>[1,2,4,3]=>001
[1,1,0,0,1,1,0,0]=>[3,4,1,2]=>[2,1,4,3]=>101
[1,1,0,1,0,0,1,0]=>[4,2,1,3]=>[1,3,4,2]=>001
[1,1,0,1,0,1,0,0]=>[3,2,1,4]=>[2,3,4,1]=>001
[1,1,0,1,1,0,0,0]=>[2,3,1,4]=>[3,2,4,1]=>101
[1,1,1,0,0,0,1,0]=>[4,1,2,3]=>[1,4,3,2]=>011
[1,1,1,0,0,1,0,0]=>[3,1,2,4]=>[2,4,3,1]=>011
[1,1,1,0,1,0,0,0]=>[2,1,3,4]=>[3,4,2,1]=>011
[1,1,1,1,0,0,0,0]=>[1,2,3,4]=>[4,3,2,1]=>111
[1,0,1,0,1,0,1,0,1,0]=>[5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,4,5,6,7,8]=>[6,8,7,5,4,3,2,1]=>0111111
[1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0]=>[2,1,3,4,5,6,7,8]=>[7,8,6,5,4,3,2,1]=>0111111
[1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0]=>[1,2,3,4,5,6,7,8]=>[8,7,6,5,4,3,2,1]=>1111111
[1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,0]=>[6,7,8,9,10,5,4,3,2,1]=>[5,4,3,2,1,6,7,8,9,10]=>111100000
[1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0]=>[5,4,3,2,1,6,7,8,9,10]=>[6,7,8,9,10,5,4,3,2,1]=>000011111
Map
to 132-avoiding permutation
Description
Sends a Dyck path to a 132-avoiding permutation.
This bijection is defined in [1, Section 2].
This bijection is defined in [1, Section 2].
Map
complement
Description
Sents a permutation to its complement.
The complement of a permutation $\sigma$ of length $n$ is the permutation $\tau$ with $\tau(i) = n+1-\sigma(i)$
The complement of a permutation $\sigma$ of length $n$ is the permutation $\tau$ with $\tau(i) = n+1-\sigma(i)$
Map
descent word
Description
The descent positions of a permutation as a binary word.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
searching the database
Sorry, this map was not found in the database.