Identifier
-
Mp00063:
Permutations
—to alternating sign matrix⟶
Alternating sign matrices
St000067: Alternating sign matrices ⟶ ℤ
Values
=>
Cc0017;cc-rep
[1]=>[[1]]=>0
[1,2]=>[[1,0],[0,1]]=>0
[2,1]=>[[0,1],[1,0]]=>1
[1,2,3]=>[[1,0,0],[0,1,0],[0,0,1]]=>0
[1,3,2]=>[[1,0,0],[0,0,1],[0,1,0]]=>1
[2,1,3]=>[[0,1,0],[1,0,0],[0,0,1]]=>1
[2,3,1]=>[[0,0,1],[1,0,0],[0,1,0]]=>2
[3,1,2]=>[[0,1,0],[0,0,1],[1,0,0]]=>2
[3,2,1]=>[[0,0,1],[0,1,0],[1,0,0]]=>3
[1,2,3,4]=>[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]=>0
[1,2,4,3]=>[[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]=>1
[1,3,2,4]=>[[1,0,0,0],[0,0,1,0],[0,1,0,0],[0,0,0,1]]=>1
[1,3,4,2]=>[[1,0,0,0],[0,0,0,1],[0,1,0,0],[0,0,1,0]]=>2
[1,4,2,3]=>[[1,0,0,0],[0,0,1,0],[0,0,0,1],[0,1,0,0]]=>2
[1,4,3,2]=>[[1,0,0,0],[0,0,0,1],[0,0,1,0],[0,1,0,0]]=>3
[2,1,3,4]=>[[0,1,0,0],[1,0,0,0],[0,0,1,0],[0,0,0,1]]=>1
[2,1,4,3]=>[[0,1,0,0],[1,0,0,0],[0,0,0,1],[0,0,1,0]]=>2
[2,3,1,4]=>[[0,0,1,0],[1,0,0,0],[0,1,0,0],[0,0,0,1]]=>2
[2,3,4,1]=>[[0,0,0,1],[1,0,0,0],[0,1,0,0],[0,0,1,0]]=>3
[2,4,1,3]=>[[0,0,1,0],[1,0,0,0],[0,0,0,1],[0,1,0,0]]=>3
[2,4,3,1]=>[[0,0,0,1],[1,0,0,0],[0,0,1,0],[0,1,0,0]]=>4
[3,1,2,4]=>[[0,1,0,0],[0,0,1,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10,1,11]=>[[0,0,0,0,0,0,0,0,0,1,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,0,1]]=>9
[1,3,4,5,6,7,8,9,10,11,2]=>[[1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1],[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]]=>9
search for individual values
searching the database for the individual values of this statistic
/
search for generating function
searching the database for statistics with the same generating function
Description
The inversion number of the alternating sign matrix.
If we denote the entries of the alternating sign matrix as $a_{i,j}$, the inversion number is defined as
$$\sum_{i > k}\sum_{j < \ell} a_{i,j}a_{k,\ell}.$$
When restricted to permutation matrices, this gives the usual inversion number of the permutation.
If we denote the entries of the alternating sign matrix as $a_{i,j}$, the inversion number is defined as
$$\sum_{i > k}\sum_{j < \ell} a_{i,j}a_{k,\ell}.$$
When restricted to permutation matrices, this gives the usual inversion number of the permutation.
Map
to alternating sign matrix
Description
Maps a permutation to its permutation matrix as an alternating sign matrix.
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!