Identifier
Identifier
Values
[2] generating graphics... => 1
[1,1] generating graphics... => 0
[3] generating graphics... => 3
[2,1] generating graphics... => 1
[1,1,1] generating graphics... => 0
[4] generating graphics... => 6
[3,1] generating graphics... => 3
[2,2] generating graphics... => 2
[2,1,1] generating graphics... => 1
[1,1,1,1] generating graphics... => 0
[5] generating graphics... => 10
[4,1] generating graphics... => 6
[3,2] generating graphics... => 4
[3,1,1] generating graphics... => 3
[2,2,1] generating graphics... => 2
[2,1,1,1] generating graphics... => 1
[1,1,1,1,1] generating graphics... => 0
[6] generating graphics... => 15
[5,1] generating graphics... => 10
[4,2] generating graphics... => 7
[4,1,1] generating graphics... => 6
[3,3] generating graphics... => 6
[3,2,1] generating graphics... => 4
[3,1,1,1] generating graphics... => 3
[2,2,2] generating graphics... => 3
[2,2,1,1] generating graphics... => 2
[2,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1] generating graphics... => 0
[7] generating graphics... => 21
[6,1] generating graphics... => 15
[5,2] generating graphics... => 11
[5,1,1] generating graphics... => 10
[4,3] generating graphics... => 9
[4,2,1] generating graphics... => 7
[4,1,1,1] generating graphics... => 6
[3,3,1] generating graphics... => 6
[3,2,2] generating graphics... => 5
[3,2,1,1] generating graphics... => 4
[3,1,1,1,1] generating graphics... => 3
[2,2,2,1] generating graphics... => 3
[2,2,1,1,1] generating graphics... => 2
[2,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1] generating graphics... => 0
[8] generating graphics... => 28
[7,1] generating graphics... => 21
[6,2] generating graphics... => 16
[6,1,1] generating graphics... => 15
[5,3] generating graphics... => 13
[5,2,1] generating graphics... => 11
[5,1,1,1] generating graphics... => 10
[4,4] generating graphics... => 12
[4,3,1] generating graphics... => 9
[4,2,2] generating graphics... => 8
[4,2,1,1] generating graphics... => 7
[4,1,1,1,1] generating graphics... => 6
[3,3,2] generating graphics... => 7
[3,3,1,1] generating graphics... => 6
[3,2,2,1] generating graphics... => 5
[3,2,1,1,1] generating graphics... => 4
[3,1,1,1,1,1] generating graphics... => 3
[2,2,2,2] generating graphics... => 4
[2,2,2,1,1] generating graphics... => 3
[2,2,1,1,1,1] generating graphics... => 2
[2,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1] generating graphics... => 0
[9] generating graphics... => 36
[8,1] generating graphics... => 28
[7,2] generating graphics... => 22
[7,1,1] generating graphics... => 21
[6,3] generating graphics... => 18
[6,2,1] generating graphics... => 16
[6,1,1,1] generating graphics... => 15
[5,4] generating graphics... => 16
[5,3,1] generating graphics... => 13
[5,2,2] generating graphics... => 12
[5,2,1,1] generating graphics... => 11
[5,1,1,1,1] generating graphics... => 10
[4,4,1] generating graphics... => 12
[4,3,2] generating graphics... => 10
[4,3,1,1] generating graphics... => 9
[4,2,2,1] generating graphics... => 8
[4,2,1,1,1] generating graphics... => 7
[4,1,1,1,1,1] generating graphics... => 6
[3,3,3] generating graphics... => 9
[3,3,2,1] generating graphics... => 7
[3,3,1,1,1] generating graphics... => 6
[3,2,2,2] generating graphics... => 6
[3,2,2,1,1] generating graphics... => 5
[3,2,1,1,1,1] generating graphics... => 4
[3,1,1,1,1,1,1] generating graphics... => 3
[2,2,2,2,1] generating graphics... => 4
[2,2,2,1,1,1] generating graphics... => 3
[2,2,1,1,1,1,1] generating graphics... => 2
[2,1,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1,1] generating graphics... => 0
[10] generating graphics... => 45
[9,1] generating graphics... => 36
[8,2] generating graphics... => 29
[8,1,1] generating graphics... => 28
[7,3] generating graphics... => 24
[7,2,1] generating graphics... => 22
[7,1,1,1] generating graphics... => 21
[6,4] generating graphics... => 21
[6,3,1] generating graphics... => 18
[6,2,2] generating graphics... => 17
[6,2,1,1] generating graphics... => 16
[6,1,1,1,1] generating graphics... => 15
[5,5] generating graphics... => 20
[5,4,1] generating graphics... => 16
[5,3,2] generating graphics... => 14
[5,3,1,1] generating graphics... => 13
[5,2,2,1] generating graphics... => 12
[5,2,1,1,1] generating graphics... => 11
[5,1,1,1,1,1] generating graphics... => 10
[4,4,2] generating graphics... => 13
[4,4,1,1] generating graphics... => 12
[4,3,3] generating graphics... => 12
[4,3,2,1] generating graphics... => 10
[4,3,1,1,1] generating graphics... => 9
[4,2,2,2] generating graphics... => 9
[4,2,2,1,1] generating graphics... => 8
[4,2,1,1,1,1] generating graphics... => 7
[4,1,1,1,1,1,1] generating graphics... => 6
[3,3,3,1] generating graphics... => 9
[3,3,2,2] generating graphics... => 8
[3,3,2,1,1] generating graphics... => 7
[3,3,1,1,1,1] generating graphics... => 6
[3,2,2,2,1] generating graphics... => 6
[3,2,2,1,1,1] generating graphics... => 5
[3,2,1,1,1,1,1] generating graphics... => 4
[3,1,1,1,1,1,1,1] generating graphics... => 3
[2,2,2,2,2] generating graphics... => 5
[2,2,2,2,1,1] generating graphics... => 4
[2,2,2,1,1,1,1] generating graphics... => 3
[2,2,1,1,1,1,1,1] generating graphics... => 2
[2,1,1,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1,1,1] generating graphics... => 0
[11] generating graphics... => 55
[10,1] generating graphics... => 45
[9,2] generating graphics... => 37
[9,1,1] generating graphics... => 36
[8,3] generating graphics... => 31
[8,2,1] generating graphics... => 29
[8,1,1,1] generating graphics... => 28
[7,4] generating graphics... => 27
[7,3,1] generating graphics... => 24
[7,2,2] generating graphics... => 23
[7,2,1,1] generating graphics... => 22
[7,1,1,1,1] generating graphics... => 21
[6,5] generating graphics... => 25
[6,4,1] generating graphics... => 21
[6,3,2] generating graphics... => 19
[6,3,1,1] generating graphics... => 18
[6,2,2,1] generating graphics... => 17
[6,2,1,1,1] generating graphics... => 16
[6,1,1,1,1,1] generating graphics... => 15
[5,5,1] generating graphics... => 20
[5,4,2] generating graphics... => 17
[5,4,1,1] generating graphics... => 16
[5,3,3] generating graphics... => 16
[5,3,2,1] generating graphics... => 14
[5,3,1,1,1] generating graphics... => 13
[5,2,2,2] generating graphics... => 13
[5,2,2,1,1] generating graphics... => 12
[5,2,1,1,1,1] generating graphics... => 11
[5,1,1,1,1,1,1] generating graphics... => 10
[4,4,3] generating graphics... => 15
[4,4,2,1] generating graphics... => 13
[4,4,1,1,1] generating graphics... => 12
[4,3,3,1] generating graphics... => 12
[4,3,2,2] generating graphics... => 11
[4,3,2,1,1] generating graphics... => 10
[4,3,1,1,1,1] generating graphics... => 9
[4,2,2,2,1] generating graphics... => 9
[4,2,2,1,1,1] generating graphics... => 8
[4,2,1,1,1,1,1] generating graphics... => 7
[4,1,1,1,1,1,1,1] generating graphics... => 6
[3,3,3,2] generating graphics... => 10
[3,3,3,1,1] generating graphics... => 9
[3,3,2,2,1] generating graphics... => 8
[3,3,2,1,1,1] generating graphics... => 7
[3,3,1,1,1,1,1] generating graphics... => 6
[3,2,2,2,2] generating graphics... => 7
[3,2,2,2,1,1] generating graphics... => 6
[3,2,2,1,1,1,1] generating graphics... => 5
[3,2,1,1,1,1,1,1] generating graphics... => 4
[3,1,1,1,1,1,1,1,1] generating graphics... => 3
[2,2,2,2,2,1] generating graphics... => 5
[2,2,2,2,1,1,1] generating graphics... => 4
[2,2,2,1,1,1,1,1] generating graphics... => 3
[2,2,1,1,1,1,1,1,1] generating graphics... => 2
[2,1,1,1,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 0
[12] generating graphics... => 66
[11,1] generating graphics... => 55
[10,2] generating graphics... => 46
[10,1,1] generating graphics... => 45
[9,3] generating graphics... => 39
[9,2,1] generating graphics... => 37
[9,1,1,1] generating graphics... => 36
[8,4] generating graphics... => 34
[8,3,1] generating graphics... => 31
[8,2,2] generating graphics... => 30
[8,2,1,1] generating graphics... => 29
[8,1,1,1,1] generating graphics... => 28
[7,5] generating graphics... => 31
[7,4,1] generating graphics... => 27
[7,3,2] generating graphics... => 25
[7,3,1,1] generating graphics... => 24
[7,2,2,1] generating graphics... => 23
[7,2,1,1,1] generating graphics... => 22
[7,1,1,1,1,1] generating graphics... => 21
[6,6] generating graphics... => 30
[6,5,1] generating graphics... => 25
[6,4,2] generating graphics... => 22
[6,4,1,1] generating graphics... => 21
[6,3,3] generating graphics... => 21
[6,3,2,1] generating graphics... => 19
[6,3,1,1,1] generating graphics... => 18
[6,2,2,2] generating graphics... => 18
[6,2,2,1,1] generating graphics... => 17
[6,2,1,1,1,1] generating graphics... => 16
[6,1,1,1,1,1,1] generating graphics... => 15
[5,5,2] generating graphics... => 21
[5,5,1,1] generating graphics... => 20
[5,4,3] generating graphics... => 19
[5,4,2,1] generating graphics... => 17
[5,4,1,1,1] generating graphics... => 16
[5,3,3,1] generating graphics... => 16
[5,3,2,2] generating graphics... => 15
[5,3,2,1,1] generating graphics... => 14
[5,3,1,1,1,1] generating graphics... => 13
[5,2,2,2,1] generating graphics... => 13
[5,2,2,1,1,1] generating graphics... => 12
[5,2,1,1,1,1,1] generating graphics... => 11
[5,1,1,1,1,1,1,1] generating graphics... => 10
[4,4,4] generating graphics... => 18
[4,4,3,1] generating graphics... => 15
[4,4,2,2] generating graphics... => 14
[4,4,2,1,1] generating graphics... => 13
[4,4,1,1,1,1] generating graphics... => 12
[4,3,3,2] generating graphics... => 13
[4,3,3,1,1] generating graphics... => 12
[4,3,2,2,1] generating graphics... => 11
[4,3,2,1,1,1] generating graphics... => 10
[4,3,1,1,1,1,1] generating graphics... => 9
[4,2,2,2,2] generating graphics... => 10
[4,2,2,2,1,1] generating graphics... => 9
[4,2,2,1,1,1,1] generating graphics... => 8
[4,2,1,1,1,1,1,1] generating graphics... => 7
[4,1,1,1,1,1,1,1,1] generating graphics... => 6
[3,3,3,3] generating graphics... => 12
[3,3,3,2,1] generating graphics... => 10
[3,3,3,1,1,1] generating graphics... => 9
[3,3,2,2,2] generating graphics... => 9
[3,3,2,2,1,1] generating graphics... => 8
[3,3,2,1,1,1,1] generating graphics... => 7
[3,3,1,1,1,1,1,1] generating graphics... => 6
[3,2,2,2,2,1] generating graphics... => 7
[3,2,2,2,1,1,1] generating graphics... => 6
[3,2,2,1,1,1,1,1] generating graphics... => 5
[3,2,1,1,1,1,1,1,1] generating graphics... => 4
[3,1,1,1,1,1,1,1,1,1] generating graphics... => 3
[2,2,2,2,2,2] generating graphics... => 6
[2,2,2,2,2,1,1] generating graphics... => 5
[2,2,2,2,1,1,1,1] generating graphics... => 4
[2,2,2,1,1,1,1,1,1] generating graphics... => 3
[2,2,1,1,1,1,1,1,1,1] generating graphics... => 2
[2,1,1,1,1,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 0
click to show generating function       
Description
The number of ways to select a row of a Ferrers shape and two cells in this row.
Code
def statistic(pi):
    return sum(binomial(p, Integer(2)) for p in pi)

Created
Aug 07, 2016 at 13:27 by Martin Rubey
Updated
Aug 07, 2016 at 13:27 by Martin Rubey