Identifier
Identifier
Values
[2] generating graphics... => 1
[1,1] generating graphics... => -1
[3] generating graphics... => 3
[2,1] generating graphics... => 0
[1,1,1] generating graphics... => -3
[4] generating graphics... => 6
[3,1] generating graphics... => 2
[2,2] generating graphics... => 0
[2,1,1] generating graphics... => -2
[1,1,1,1] generating graphics... => -6
[5] generating graphics... => 10
[4,1] generating graphics... => 5
[3,2] generating graphics... => 2
[3,1,1] generating graphics... => 0
[2,2,1] generating graphics... => -2
[2,1,1,1] generating graphics... => -5
[1,1,1,1,1] generating graphics... => -10
[6] generating graphics... => 15
[5,1] generating graphics... => 9
[4,2] generating graphics... => 5
[4,1,1] generating graphics... => 3
[3,3] generating graphics... => 3
[3,2,1] generating graphics... => 0
[3,1,1,1] generating graphics... => -3
[2,2,2] generating graphics... => -3
[2,2,1,1] generating graphics... => -5
[2,1,1,1,1] generating graphics... => -9
[1,1,1,1,1,1] generating graphics... => -15
[7] generating graphics... => 21
[6,1] generating graphics... => 14
[5,2] generating graphics... => 9
[5,1,1] generating graphics... => 7
[4,3] generating graphics... => 6
[4,2,1] generating graphics... => 3
[4,1,1,1] generating graphics... => 0
[3,3,1] generating graphics... => 1
[3,2,2] generating graphics... => -1
[3,2,1,1] generating graphics... => -3
[3,1,1,1,1] generating graphics... => -7
[2,2,2,1] generating graphics... => -6
[2,2,1,1,1] generating graphics... => -9
[2,1,1,1,1,1] generating graphics... => -14
[1,1,1,1,1,1,1] generating graphics... => -21
[8] generating graphics... => 28
[7,1] generating graphics... => 20
[6,2] generating graphics... => 14
[6,1,1] generating graphics... => 12
[5,3] generating graphics... => 10
[5,2,1] generating graphics... => 7
[5,1,1,1] generating graphics... => 4
[4,4] generating graphics... => 8
[4,3,1] generating graphics... => 4
[4,2,2] generating graphics... => 2
[4,2,1,1] generating graphics... => 0
[4,1,1,1,1] generating graphics... => -4
[3,3,2] generating graphics... => 0
[3,3,1,1] generating graphics... => -2
[3,2,2,1] generating graphics... => -4
[3,2,1,1,1] generating graphics... => -7
[3,1,1,1,1,1] generating graphics... => -12
[2,2,2,2] generating graphics... => -8
[2,2,2,1,1] generating graphics... => -10
[2,2,1,1,1,1] generating graphics... => -14
[2,1,1,1,1,1,1] generating graphics... => -20
[1,1,1,1,1,1,1,1] generating graphics... => -28
[9] generating graphics... => 36
[8,1] generating graphics... => 27
[7,2] generating graphics... => 20
[7,1,1] generating graphics... => 18
[6,3] generating graphics... => 15
[6,2,1] generating graphics... => 12
[6,1,1,1] generating graphics... => 9
[5,4] generating graphics... => 12
[5,3,1] generating graphics... => 8
[5,2,2] generating graphics... => 6
[5,2,1,1] generating graphics... => 4
[5,1,1,1,1] generating graphics... => 0
[4,4,1] generating graphics... => 6
[4,3,2] generating graphics... => 3
[4,3,1,1] generating graphics... => 1
[4,2,2,1] generating graphics... => -1
[4,2,1,1,1] generating graphics... => -4
[4,1,1,1,1,1] generating graphics... => -9
[3,3,3] generating graphics... => 0
[3,3,2,1] generating graphics... => -3
[3,3,1,1,1] generating graphics... => -6
[3,2,2,2] generating graphics... => -6
[3,2,2,1,1] generating graphics... => -8
[3,2,1,1,1,1] generating graphics... => -12
[3,1,1,1,1,1,1] generating graphics... => -18
[2,2,2,2,1] generating graphics... => -12
[2,2,2,1,1,1] generating graphics... => -15
[2,2,1,1,1,1,1] generating graphics... => -20
[2,1,1,1,1,1,1,1] generating graphics... => -27
[1,1,1,1,1,1,1,1,1] generating graphics... => -36
[10] generating graphics... => 45
[9,1] generating graphics... => 35
[8,2] generating graphics... => 27
[8,1,1] generating graphics... => 25
[7,3] generating graphics... => 21
[7,2,1] generating graphics... => 18
[7,1,1,1] generating graphics... => 15
[6,4] generating graphics... => 17
[6,3,1] generating graphics... => 13
[6,2,2] generating graphics... => 11
[6,2,1,1] generating graphics... => 9
[6,1,1,1,1] generating graphics... => 5
[5,5] generating graphics... => 15
[5,4,1] generating graphics... => 10
[5,3,2] generating graphics... => 7
[5,3,1,1] generating graphics... => 5
[5,2,2,1] generating graphics... => 3
[5,2,1,1,1] generating graphics... => 0
[5,1,1,1,1,1] generating graphics... => -5
[4,4,2] generating graphics... => 5
[4,4,1,1] generating graphics... => 3
[4,3,3] generating graphics... => 3
[4,3,2,1] generating graphics... => 0
[4,3,1,1,1] generating graphics... => -3
[4,2,2,2] generating graphics... => -3
[4,2,2,1,1] generating graphics... => -5
[4,2,1,1,1,1] generating graphics... => -9
[4,1,1,1,1,1,1] generating graphics... => -15
[3,3,3,1] generating graphics... => -3
[3,3,2,2] generating graphics... => -5
[3,3,2,1,1] generating graphics... => -7
[3,3,1,1,1,1] generating graphics... => -11
[3,2,2,2,1] generating graphics... => -10
[3,2,2,1,1,1] generating graphics... => -13
[3,2,1,1,1,1,1] generating graphics... => -18
[3,1,1,1,1,1,1,1] generating graphics... => -25
[2,2,2,2,2] generating graphics... => -15
[2,2,2,2,1,1] generating graphics... => -17
[2,2,2,1,1,1,1] generating graphics... => -21
[2,2,1,1,1,1,1,1] generating graphics... => -27
[2,1,1,1,1,1,1,1,1] generating graphics... => -35
[1,1,1,1,1,1,1,1,1,1] generating graphics... => -45
[11] generating graphics... => 55
[10,1] generating graphics... => 44
[9,2] generating graphics... => 35
[9,1,1] generating graphics... => 33
[8,3] generating graphics... => 28
[8,2,1] generating graphics... => 25
[8,1,1,1] generating graphics... => 22
[7,4] generating graphics... => 23
[7,3,1] generating graphics... => 19
[7,2,2] generating graphics... => 17
[7,2,1,1] generating graphics... => 15
[7,1,1,1,1] generating graphics... => 11
[6,5] generating graphics... => 20
[6,4,1] generating graphics... => 15
[6,3,2] generating graphics... => 12
[6,3,1,1] generating graphics... => 10
[6,2,2,1] generating graphics... => 8
[6,2,1,1,1] generating graphics... => 5
[6,1,1,1,1,1] generating graphics... => 0
[5,5,1] generating graphics... => 13
[5,4,2] generating graphics... => 9
[5,4,1,1] generating graphics... => 7
[5,3,3] generating graphics... => 7
[5,3,2,1] generating graphics... => 4
[5,3,1,1,1] generating graphics... => 1
[5,2,2,2] generating graphics... => 1
[5,2,2,1,1] generating graphics... => -1
[5,2,1,1,1,1] generating graphics... => -5
[5,1,1,1,1,1,1] generating graphics... => -11
[4,4,3] generating graphics... => 5
[4,4,2,1] generating graphics... => 2
[4,4,1,1,1] generating graphics... => -1
[4,3,3,1] generating graphics... => 0
[4,3,2,2] generating graphics... => -2
[4,3,2,1,1] generating graphics... => -4
[4,3,1,1,1,1] generating graphics... => -8
[4,2,2,2,1] generating graphics... => -7
[4,2,2,1,1,1] generating graphics... => -10
[4,2,1,1,1,1,1] generating graphics... => -15
[4,1,1,1,1,1,1,1] generating graphics... => -22
[3,3,3,2] generating graphics... => -5
[3,3,3,1,1] generating graphics... => -7
[3,3,2,2,1] generating graphics... => -9
[3,3,2,1,1,1] generating graphics... => -12
[3,3,1,1,1,1,1] generating graphics... => -17
[3,2,2,2,2] generating graphics... => -13
[3,2,2,2,1,1] generating graphics... => -15
[3,2,2,1,1,1,1] generating graphics... => -19
[3,2,1,1,1,1,1,1] generating graphics... => -25
[3,1,1,1,1,1,1,1,1] generating graphics... => -33
[2,2,2,2,2,1] generating graphics... => -20
[2,2,2,2,1,1,1] generating graphics... => -23
[2,2,2,1,1,1,1,1] generating graphics... => -28
[2,2,1,1,1,1,1,1,1] generating graphics... => -35
[2,1,1,1,1,1,1,1,1,1] generating graphics... => -44
[1,1,1,1,1,1,1,1,1,1,1] generating graphics... => -55
[12] generating graphics... => 66
[11,1] generating graphics... => 54
[10,2] generating graphics... => 44
[10,1,1] generating graphics... => 42
[9,3] generating graphics... => 36
[9,2,1] generating graphics... => 33
[9,1,1,1] generating graphics... => 30
[8,4] generating graphics... => 30
[8,3,1] generating graphics... => 26
[8,2,2] generating graphics... => 24
[8,2,1,1] generating graphics... => 22
[8,1,1,1,1] generating graphics... => 18
[7,5] generating graphics... => 26
[7,4,1] generating graphics... => 21
[7,3,2] generating graphics... => 18
[7,3,1,1] generating graphics... => 16
[7,2,2,1] generating graphics... => 14
[7,2,1,1,1] generating graphics... => 11
[7,1,1,1,1,1] generating graphics... => 6
[6,6] generating graphics... => 24
[6,5,1] generating graphics... => 18
[6,4,2] generating graphics... => 14
[6,4,1,1] generating graphics... => 12
[6,3,3] generating graphics... => 12
[6,3,2,1] generating graphics... => 9
[6,3,1,1,1] generating graphics... => 6
[6,2,2,2] generating graphics... => 6
[6,2,2,1,1] generating graphics... => 4
[6,2,1,1,1,1] generating graphics... => 0
[6,1,1,1,1,1,1] generating graphics... => -6
[5,5,2] generating graphics... => 12
[5,5,1,1] generating graphics... => 10
[5,4,3] generating graphics... => 9
[5,4,2,1] generating graphics... => 6
[5,4,1,1,1] generating graphics... => 3
[5,3,3,1] generating graphics... => 4
[5,3,2,2] generating graphics... => 2
[5,3,2,1,1] generating graphics... => 0
[5,3,1,1,1,1] generating graphics... => -4
[5,2,2,2,1] generating graphics... => -3
[5,2,2,1,1,1] generating graphics... => -6
[5,2,1,1,1,1,1] generating graphics... => -11
[5,1,1,1,1,1,1,1] generating graphics... => -18
[4,4,4] generating graphics... => 6
[4,4,3,1] generating graphics... => 2
[4,4,2,2] generating graphics... => 0
[4,4,2,1,1] generating graphics... => -2
[4,4,1,1,1,1] generating graphics... => -6
[4,3,3,2] generating graphics... => -2
[4,3,3,1,1] generating graphics... => -4
[4,3,2,2,1] generating graphics... => -6
[4,3,2,1,1,1] generating graphics... => -9
[4,3,1,1,1,1,1] generating graphics... => -14
[4,2,2,2,2] generating graphics... => -10
[4,2,2,2,1,1] generating graphics... => -12
[4,2,2,1,1,1,1] generating graphics... => -16
[4,2,1,1,1,1,1,1] generating graphics... => -22
[4,1,1,1,1,1,1,1,1] generating graphics... => -30
[3,3,3,3] generating graphics... => -6
[3,3,3,2,1] generating graphics... => -9
[3,3,3,1,1,1] generating graphics... => -12
[3,3,2,2,2] generating graphics... => -12
[3,3,2,2,1,1] generating graphics... => -14
[3,3,2,1,1,1,1] generating graphics... => -18
[3,3,1,1,1,1,1,1] generating graphics... => -24
[3,2,2,2,2,1] generating graphics... => -18
[3,2,2,2,1,1,1] generating graphics... => -21
[3,2,2,1,1,1,1,1] generating graphics... => -26
[3,2,1,1,1,1,1,1,1] generating graphics... => -33
[3,1,1,1,1,1,1,1,1,1] generating graphics... => -42
[2,2,2,2,2,2] generating graphics... => -24
[2,2,2,2,2,1,1] generating graphics... => -26
[2,2,2,2,1,1,1,1] generating graphics... => -30
[2,2,2,1,1,1,1,1,1] generating graphics... => -36
[2,2,1,1,1,1,1,1,1,1] generating graphics... => -44
[2,1,1,1,1,1,1,1,1,1,1] generating graphics... => -54
[1,1,1,1,1,1,1,1,1,1,1,1] generating graphics... => -66
click to show generating function       
Description
The diagonal index (content) of a partition.
The diagonal index of the cell at row $r$ and column $c$ of a partition is $c - r$; this is sometimes called the content of the cell. The diagonal index of a partition is the sum of the diagonal index of each cell of the partition.
Code
def statistic(la):
    return sum((j - i) for (i, j) in la.cells())

Created
May 25, 2016 at 20:28 by Franco Saliola
Updated
May 25, 2016 at 20:28 by Franco Saliola