Identifier
Mp00199:
Dyck paths
—prime Dyck path⟶
Dyck paths
Mp00035: Dyck paths —to alternating sign matrix⟶ Alternating sign matrices
Mp00005: Alternating sign matrices —transpose⟶ Alternating sign matrices
Mp00007: Alternating sign matrices —to Dyck path⟶ Dyck paths
Mp00035: Dyck paths —to alternating sign matrix⟶ Alternating sign matrices
Mp00005: Alternating sign matrices —transpose⟶ Alternating sign matrices
Mp00007: Alternating sign matrices —to Dyck path⟶ Dyck paths
Images
=>
Cc0005;cc-rep-0Cc0005;cc-rep-1Cc0017;cc-rep-2Cc0017;cc-rep-3Cc0005;cc-rep-4
[1,0]=>[1,1,0,0]=>[[0,1],[1,0]]=>[[0,1],[1,0]]=>[1,1,0,0]
[1,0,1,0]=>[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,1,0,1,0,0]
[1,1,0,0]=>[1,1,1,0,0,0]=>[[0,0,1],[1,0,0],[0,1,0]]=>[[0,1,0],[0,0,1],[1,0,0]]=>[1,1,0,1,0,0]
[1,0,1,0,1,0]=>[1,1,0,1,0,1,0,0]=>[[0,1,0,0],[1,-1,1,0],[0,1,-1,1],[0,0,1,0]]=>[[0,1,0,0],[1,-1,1,0],[0,1,-1,1],[0,0,1,0]]=>[1,1,0,1,0,1,0,0]
[1,0,1,1,0,0]=>[1,1,0,1,1,0,0,0]=>[[0,1,0,0],[1,-1,0,1],[0,1,0,0],[0,0,1,0]]=>[[0,1,0,0],[1,-1,1,0],[0,0,0,1],[0,1,0,0]]=>[1,1,0,1,0,1,0,0]
[1,1,0,0,1,0]=>[1,1,1,0,0,1,0,0]=>[[0,0,1,0],[1,0,0,0],[0,1,-1,1],[0,0,1,0]]=>[[0,1,0,0],[0,0,1,0],[1,0,-1,1],[0,0,1,0]]=>[1,1,0,1,0,1,0,0]
[1,1,0,1,0,0]=>[1,1,1,0,1,0,0,0]=>[[0,0,1,0],[1,0,-1,1],[0,1,0,0],[0,0,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[0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,0],[0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,1,0,0],[0,0,0,0,0,0,0,0,0,1,0]]=>[[0,1,0,0,0,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,0],[0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,1,0,0],[0,0,0,0,0,0,0,0,0,1,0],[0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0]]=>[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]
Map
prime Dyck path
Description
Return the Dyck path obtained by adding an initial up and a final down step.
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
transpose
Description
The transpose of an alternating sign matrix.
Map
to Dyck path
Description
The Dyck path determined by the last diagonal of the monotone triangle of an alternating sign matrix.
searching the database
Sorry, this map was not found in the database.