Identifier
Mp00035:
Dyck paths
—to alternating sign matrix⟶
Alternating sign matrices
Mp00003: Alternating sign matrices —rotate counterclockwise⟶ Alternating sign matrices
Mp00002: Alternating sign matrices —to left key permutation⟶ Permutations
Mp00003: Alternating sign matrices —rotate counterclockwise⟶ Alternating sign matrices
Mp00002: Alternating sign matrices —to left key permutation⟶ Permutations
Images
=>
Cc0005;cc-rep-0Cc0017;cc-rep-1Cc0017;cc-rep-2
[1,0]=>[[1]]=>[[1]]=>[1]
[1,0,1,0]=>[[1,0],[0,1]]=>[[0,1],[1,0]]=>[2,1]
[1,1,0,0]=>[[0,1],[1,0]]=>[[1,0],[0,1]]=>[1,2]
[1,0,1,0,1,0]=>[[1,0,0],[0,1,0],[0,0,1]]=>[[0,0,1],[0,1,0],[1,0,0]]=>[3,2,1]
[1,0,1,1,0,0]=>[[1,0,0],[0,0,1],[0,1,0]]=>[[0,1,0],[0,0,1],[1,0,0]]=>[2,3,1]
[1,1,0,0,1,0]=>[[0,1,0],[1,0,0],[0,0,1]]=>[[0,0,1],[1,0,0],[0,1,0]]=>[3,1,2]
[1,1,0,1,0,0]=>[[0,1,0],[1,-1,1],[0,1,0]]=>[[0,1,0],[1,-1,1],[0,1,0]]=>[1,3,2]
[1,1,1,0,0,0]=>[[0,0,1],[1,0,0],[0,1,0]]=>[[1,0,0],[0,0,1],[0,1,0]]=>[1,3,2]
[1,0,1,0,1,0,1,0]=>[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]=>[[0,0,0,1],[0,0,1,0],[0,1,0,0],[1,0,0,0]]=>[4,3,2,1]
[1,0,1,0,1,1,0,0]=>[[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]=>[[0,0,1,0],[0,0,0,1],[0,1,0,0],[1,0,0,0]]=>[3,4,2,1]
[1,0,1,1,0,0,1,0]=>[[1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]]=>[[0,0,0,1],[0,1,0,0],[0,0,1,0],[1,0,0,0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0,0,0,0,0,1,0]]=>[[1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,1,0],[0,0,0,0,0,0,0,0,1,0,0],[0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0],[0,0,0,1,0,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,0,0,0]]=>[1,11,10,9,8,7,6,5,4,3,2]
Map
to alternating sign matrix
Description
Return the Dyck path as an alternating sign matrix.
This is an inclusion map from Dyck words of length $2n$ to certain
$n \times n$ alternating sign matrices.
This is an inclusion map from Dyck words of length $2n$ to certain
$n \times n$ alternating sign matrices.
Map
rotate counterclockwise
Description
Return the counterclockwise quarter turn rotation of an alternating sign matrix.
Map
to left key permutation
Description
Return the permutation of the left key of an alternating sign matrix.
This was originally defined by Lascoux and then further studied by Aval [1].
This was originally defined by Lascoux and then further studied by Aval [1].
searching the database
Sorry, this map was not found in the database.