Identifier
Identifier
Values
[1,0] generating graphics... => 1
[1,0,1,0] generating graphics... => 1
[1,1,0,0] generating graphics... => 1
[1,0,1,0,1,0] generating graphics... => 1
[1,0,1,1,0,0] generating graphics... => 1
[1,1,0,0,1,0] generating graphics... => 1
[1,1,0,1,0,0] generating graphics... => 2
[1,1,1,0,0,0] generating graphics... => 2
[1,0,1,0,1,0,1,0] generating graphics... => 1
[1,0,1,0,1,1,0,0] generating graphics... => 1
[1,0,1,1,0,0,1,0] generating graphics... => 1
[1,0,1,1,0,1,0,0] generating graphics... => 2
[1,0,1,1,1,0,0,0] generating graphics... => 2
[1,1,0,0,1,0,1,0] generating graphics... => 1
[1,1,0,0,1,1,0,0] generating graphics... => 1
[1,1,0,1,0,0,1,0] generating graphics... => 2
[1,1,0,1,0,1,0,0] generating graphics... => 5
[1,1,0,1,1,0,0,0] generating graphics... => 5
[1,1,1,0,0,0,1,0] generating graphics... => 2
[1,1,1,0,0,1,0,0] generating graphics... => 5
[1,1,1,0,1,0,0,0] generating graphics... => 7
[1,1,1,1,0,0,0,0] generating graphics... => 7
[1,0,1,0,1,0,1,0,1,0] generating graphics... => 1
[1,0,1,0,1,0,1,1,0,0] generating graphics... => 1
[1,0,1,0,1,1,0,0,1,0] generating graphics... => 1
[1,0,1,0,1,1,0,1,0,0] generating graphics... => 2
[1,0,1,0,1,1,1,0,0,0] generating graphics... => 2
[1,0,1,1,0,0,1,0,1,0] generating graphics... => 1
[1,0,1,1,0,0,1,1,0,0] generating graphics... => 1
[1,0,1,1,0,1,0,0,1,0] generating graphics... => 2
[1,0,1,1,0,1,0,1,0,0] generating graphics... => 5
[1,0,1,1,0,1,1,0,0,0] generating graphics... => 5
[1,0,1,1,1,0,0,0,1,0] generating graphics... => 2
[1,0,1,1,1,0,0,1,0,0] generating graphics... => 5
[1,0,1,1,1,0,1,0,0,0] generating graphics... => 7
[1,0,1,1,1,1,0,0,0,0] generating graphics... => 7
[1,1,0,0,1,0,1,0,1,0] generating graphics... => 1
[1,1,0,0,1,0,1,1,0,0] generating graphics... => 1
[1,1,0,0,1,1,0,0,1,0] generating graphics... => 1
[1,1,0,0,1,1,0,1,0,0] generating graphics... => 2
[1,1,0,0,1,1,1,0,0,0] generating graphics... => 2
[1,1,0,1,0,0,1,0,1,0] generating graphics... => 2
[1,1,0,1,0,0,1,1,0,0] generating graphics... => 2
[1,1,0,1,0,1,0,0,1,0] generating graphics... => 5
[1,1,0,1,0,1,0,1,0,0] generating graphics... => 14
[1,1,0,1,0,1,1,0,0,0] generating graphics... => 14
[1,1,0,1,1,0,0,0,1,0] generating graphics... => 5
[1,1,0,1,1,0,0,1,0,0] generating graphics... => 14
[1,1,0,1,1,0,1,0,0,0] generating graphics... => 21
[1,1,0,1,1,1,0,0,0,0] generating graphics... => 21
[1,1,1,0,0,0,1,0,1,0] generating graphics... => 2
[1,1,1,0,0,0,1,1,0,0] generating graphics... => 2
[1,1,1,0,0,1,0,0,1,0] generating graphics... => 5
[1,1,1,0,0,1,0,1,0,0] generating graphics... => 14
[1,1,1,0,0,1,1,0,0,0] generating graphics... => 14
[1,1,1,0,1,0,0,0,1,0] generating graphics... => 7
[1,1,1,0,1,0,0,1,0,0] generating graphics... => 21
[1,1,1,0,1,0,1,0,0,0] generating graphics... => 35
[1,1,1,0,1,1,0,0,0,0] generating graphics... => 35
[1,1,1,1,0,0,0,0,1,0] generating graphics... => 7
[1,1,1,1,0,0,0,1,0,0] generating graphics... => 21
[1,1,1,1,0,0,1,0,0,0] generating graphics... => 35
[1,1,1,1,0,1,0,0,0,0] generating graphics... => 42
[1,1,1,1,1,0,0,0,0,0] generating graphics... => 42
[1,0,1,0,1,0,1,0,1,0,1,0] generating graphics... => 1
[1,0,1,0,1,0,1,0,1,1,0,0] generating graphics... => 1
[1,0,1,0,1,0,1,1,0,0,1,0] generating graphics... => 1
[1,0,1,0,1,0,1,1,0,1,0,0] generating graphics... => 2
[1,0,1,0,1,0,1,1,1,0,0,0] generating graphics... => 2
[1,0,1,0,1,1,0,0,1,0,1,0] generating graphics... => 1
[1,0,1,0,1,1,0,0,1,1,0,0] generating graphics... => 1
[1,0,1,0,1,1,0,1,0,0,1,0] generating graphics... => 2
[1,0,1,0,1,1,0,1,0,1,0,0] generating graphics... => 5
[1,0,1,0,1,1,0,1,1,0,0,0] generating graphics... => 5
[1,0,1,0,1,1,1,0,0,0,1,0] generating graphics... => 2
[1,0,1,0,1,1,1,0,0,1,0,0] generating graphics... => 5
[1,0,1,0,1,1,1,0,1,0,0,0] generating graphics... => 7
[1,0,1,0,1,1,1,1,0,0,0,0] generating graphics... => 7
[1,0,1,1,0,0,1,0,1,0,1,0] generating graphics... => 1
[1,0,1,1,0,0,1,0,1,1,0,0] generating graphics... => 1
[1,0,1,1,0,0,1,1,0,0,1,0] generating graphics... => 1
[1,0,1,1,0,0,1,1,0,1,0,0] generating graphics... => 2
[1,0,1,1,0,0,1,1,1,0,0,0] generating graphics... => 2
[1,0,1,1,0,1,0,0,1,0,1,0] generating graphics... => 2
[1,0,1,1,0,1,0,0,1,1,0,0] generating graphics... => 2
[1,0,1,1,0,1,0,1,0,0,1,0] generating graphics... => 5
[1,0,1,1,0,1,0,1,0,1,0,0] generating graphics... => 14
[1,0,1,1,0,1,0,1,1,0,0,0] generating graphics... => 14
[1,0,1,1,0,1,1,0,0,0,1,0] generating graphics... => 5
[1,0,1,1,0,1,1,0,0,1,0,0] generating graphics... => 14
[1,0,1,1,0,1,1,0,1,0,0,0] generating graphics... => 21
[1,0,1,1,0,1,1,1,0,0,0,0] generating graphics... => 21
[1,0,1,1,1,0,0,0,1,0,1,0] generating graphics... => 2
[1,0,1,1,1,0,0,0,1,1,0,0] generating graphics... => 2
[1,0,1,1,1,0,0,1,0,0,1,0] generating graphics... => 5
[1,0,1,1,1,0,0,1,0,1,0,0] generating graphics... => 14
[1,0,1,1,1,0,0,1,1,0,0,0] generating graphics... => 14
[1,0,1,1,1,0,1,0,0,0,1,0] generating graphics... => 7
[1,0,1,1,1,0,1,0,0,1,0,0] generating graphics... => 21
[1,0,1,1,1,0,1,0,1,0,0,0] generating graphics... => 35
[1,0,1,1,1,0,1,1,0,0,0,0] generating graphics... => 35
[1,0,1,1,1,1,0,0,0,0,1,0] generating graphics... => 7
[1,0,1,1,1,1,0,0,0,1,0,0] generating graphics... => 21
[1,0,1,1,1,1,0,0,1,0,0,0] generating graphics... => 35
[1,0,1,1,1,1,0,1,0,0,0,0] generating graphics... => 42
[1,0,1,1,1,1,1,0,0,0,0,0] generating graphics... => 42
[1,1,0,0,1,0,1,0,1,0,1,0] generating graphics... => 1
[1,1,0,0,1,0,1,0,1,1,0,0] generating graphics... => 1
[1,1,0,0,1,0,1,1,0,0,1,0] generating graphics... => 1
[1,1,0,0,1,0,1,1,0,1,0,0] generating graphics... => 2
[1,1,0,0,1,0,1,1,1,0,0,0] generating graphics... => 2
[1,1,0,0,1,1,0,0,1,0,1,0] generating graphics... => 1
[1,1,0,0,1,1,0,0,1,1,0,0] generating graphics... => 1
[1,1,0,0,1,1,0,1,0,0,1,0] generating graphics... => 2
[1,1,0,0,1,1,0,1,0,1,0,0] generating graphics... => 5
[1,1,0,0,1,1,0,1,1,0,0,0] generating graphics... => 5
[1,1,0,0,1,1,1,0,0,0,1,0] generating graphics... => 2
[1,1,0,0,1,1,1,0,0,1,0,0] generating graphics... => 5
[1,1,0,0,1,1,1,0,1,0,0,0] generating graphics... => 7
[1,1,0,0,1,1,1,1,0,0,0,0] generating graphics... => 7
[1,1,0,1,0,0,1,0,1,0,1,0] generating graphics... => 2
[1,1,0,1,0,0,1,0,1,1,0,0] generating graphics... => 2
[1,1,0,1,0,0,1,1,0,0,1,0] generating graphics... => 2
[1,1,0,1,0,0,1,1,0,1,0,0] generating graphics... => 4
[1,1,0,1,0,0,1,1,1,0,0,0] generating graphics... => 4
[1,1,0,1,0,1,0,0,1,0,1,0] generating graphics... => 5
[1,1,0,1,0,1,0,0,1,1,0,0] generating graphics... => 5
[1,1,0,1,0,1,0,1,0,0,1,0] generating graphics... => 14
[1,1,0,1,0,1,0,1,0,1,0,0] generating graphics... => 42
[1,1,0,1,0,1,0,1,1,0,0,0] generating graphics... => 42
[1,1,0,1,0,1,1,0,0,0,1,0] generating graphics... => 14
[1,1,0,1,0,1,1,0,0,1,0,0] generating graphics... => 42
[1,1,0,1,0,1,1,0,1,0,0,0] generating graphics... => 65
[1,1,0,1,0,1,1,1,0,0,0,0] generating graphics... => 65
[1,1,0,1,1,0,0,0,1,0,1,0] generating graphics... => 5
[1,1,0,1,1,0,0,0,1,1,0,0] generating graphics... => 5
[1,1,0,1,1,0,0,1,0,0,1,0] generating graphics... => 14
[1,1,0,1,1,0,0,1,0,1,0,0] generating graphics... => 42
[1,1,0,1,1,0,0,1,1,0,0,0] generating graphics... => 42
[1,1,0,1,1,0,1,0,0,0,1,0] generating graphics... => 21
[1,1,0,1,1,0,1,0,0,1,0,0] generating graphics... => 68
[1,1,0,1,1,0,1,0,1,0,0,0] generating graphics... => 119
[1,1,0,1,1,0,1,1,0,0,0,0] generating graphics... => 119
[1,1,0,1,1,1,0,0,0,0,1,0] generating graphics... => 21
[1,1,0,1,1,1,0,0,0,1,0,0] generating graphics... => 68
[1,1,0,1,1,1,0,0,1,0,0,0] generating graphics... => 119
[1,1,0,1,1,1,0,1,0,0,0,0] generating graphics... => 147
[1,1,0,1,1,1,1,0,0,0,0,0] generating graphics... => 147
[1,1,1,0,0,0,1,0,1,0,1,0] generating graphics... => 2
[1,1,1,0,0,0,1,0,1,1,0,0] generating graphics... => 2
[1,1,1,0,0,0,1,1,0,0,1,0] generating graphics... => 2
[1,1,1,0,0,0,1,1,0,1,0,0] generating graphics... => 4
[1,1,1,0,0,0,1,1,1,0,0,0] generating graphics... => 4
[1,1,1,0,0,1,0,0,1,0,1,0] generating graphics... => 5
[1,1,1,0,0,1,0,0,1,1,0,0] generating graphics... => 5
[1,1,1,0,0,1,0,1,0,0,1,0] generating graphics... => 14
[1,1,1,0,0,1,0,1,0,1,0,0] generating graphics... => 42
[1,1,1,0,0,1,0,1,1,0,0,0] generating graphics... => 42
[1,1,1,0,0,1,1,0,0,0,1,0] generating graphics... => 14
[1,1,1,0,0,1,1,0,0,1,0,0] generating graphics... => 42
[1,1,1,0,0,1,1,0,1,0,0,0] generating graphics... => 65
[1,1,1,0,0,1,1,1,0,0,0,0] generating graphics... => 65
[1,1,1,0,1,0,0,0,1,0,1,0] generating graphics... => 7
[1,1,1,0,1,0,0,0,1,1,0,0] generating graphics... => 7
[1,1,1,0,1,0,0,1,0,0,1,0] generating graphics... => 21
[1,1,1,0,1,0,0,1,0,1,0,0] generating graphics... => 65
[1,1,1,0,1,0,0,1,1,0,0,0] generating graphics... => 65
[1,1,1,0,1,0,1,0,0,0,1,0] generating graphics... => 35
[1,1,1,0,1,0,1,0,0,1,0,0] generating graphics... => 119
[1,1,1,0,1,0,1,0,1,0,0,0] generating graphics... => 219
[1,1,1,0,1,0,1,1,0,0,0,0] generating graphics... => 219
[1,1,1,0,1,1,0,0,0,0,1,0] generating graphics... => 35
[1,1,1,0,1,1,0,0,0,1,0,0] generating graphics... => 119
[1,1,1,0,1,1,0,0,1,0,0,0] generating graphics... => 219
[1,1,1,0,1,1,0,1,0,0,0,0] generating graphics... => 282
[1,1,1,0,1,1,1,0,0,0,0,0] generating graphics... => 282
[1,1,1,1,0,0,0,0,1,0,1,0] generating graphics... => 7
[1,1,1,1,0,0,0,0,1,1,0,0] generating graphics... => 7
[1,1,1,1,0,0,0,1,0,0,1,0] generating graphics... => 21
[1,1,1,1,0,0,0,1,0,1,0,0] generating graphics... => 65
[1,1,1,1,0,0,0,1,1,0,0,0] generating graphics... => 65
[1,1,1,1,0,0,1,0,0,0,1,0] generating graphics... => 35
[1,1,1,1,0,0,1,0,0,1,0,0] generating graphics... => 119
[1,1,1,1,0,0,1,0,1,0,0,0] generating graphics... => 219
[1,1,1,1,0,0,1,1,0,0,0,0] generating graphics... => 219
[1,1,1,1,0,1,0,0,0,0,1,0] generating graphics... => 42
[1,1,1,1,0,1,0,0,0,1,0,0] generating graphics... => 147
[1,1,1,1,0,1,0,0,1,0,0,0] generating graphics... => 282
[1,1,1,1,0,1,0,1,0,0,0,0] generating graphics... => 387
[1,1,1,1,0,1,1,0,0,0,0,0] generating graphics... => 387
[1,1,1,1,1,0,0,0,0,0,1,0] generating graphics... => 42
[1,1,1,1,1,0,0,0,0,1,0,0] generating graphics... => 147
[1,1,1,1,1,0,0,0,1,0,0,0] generating graphics... => 282
[1,1,1,1,1,0,0,1,0,0,0,0] generating graphics... => 387
[1,1,1,1,1,0,1,0,0,0,0,0] generating graphics... => 429
[1,1,1,1,1,1,0,0,0,0,0,0] generating graphics... => 429
click to show generating function       
Description
The number of alternating sign matrices for a given Dyck path.
The Dyck path is given by the last diagonal of the monotone triangle corresponding to an alternating sign matrix.
Code
def statistic(self):
    return sum( 1 for a in AlternatingSignMatrices(len(list(self))/2) if a.to_dyck_word(algorithm = 'last_diagonal') == self )
Created
Jun 11, 2013 at 21:17 by Jessica Striker
Updated
Aug 21, 2017 at 08:49 by Martin Rubey