Identifier
Identifier
Values
[] generating graphics... => 1
[1] generating graphics... => 2
[2] generating graphics... => 3
[1,1] generating graphics... => 3
[3] generating graphics... => 4
[2,1] generating graphics... => 5
[1,1,1] generating graphics... => 4
[4] generating graphics... => 5
[3,1] generating graphics... => 7
[2,2] generating graphics... => 6
[2,1,1] generating graphics... => 7
[1,1,1,1] generating graphics... => 5
[5] generating graphics... => 6
[4,1] generating graphics... => 9
[3,2] generating graphics... => 9
[3,1,1] generating graphics... => 10
[2,2,1] generating graphics... => 9
[2,1,1,1] generating graphics... => 9
[1,1,1,1,1] generating graphics... => 6
[6] generating graphics... => 7
[5,1] generating graphics... => 11
[4,2] generating graphics... => 12
[4,1,1] generating graphics... => 13
[3,3] generating graphics... => 10
[3,2,1] generating graphics... => 14
[3,1,1,1] generating graphics... => 13
[2,2,2] generating graphics... => 10
[2,2,1,1] generating graphics... => 12
[2,1,1,1,1] generating graphics... => 11
[1,1,1,1,1,1] generating graphics... => 7
[7] generating graphics... => 8
[6,1] generating graphics... => 13
[5,2] generating graphics... => 15
[5,1,1] generating graphics... => 16
[4,3] generating graphics... => 14
[4,2,1] generating graphics... => 19
[4,1,1,1] generating graphics... => 17
[3,3,1] generating graphics... => 16
[3,2,2] generating graphics... => 16
[3,2,1,1] generating graphics... => 19
[3,1,1,1,1] generating graphics... => 16
[2,2,2,1] generating graphics... => 14
[2,2,1,1,1] generating graphics... => 15
[2,1,1,1,1,1] generating graphics... => 13
[1,1,1,1,1,1,1] generating graphics... => 8
[8] generating graphics... => 9
[7,1] generating graphics... => 15
[6,2] generating graphics... => 18
[6,1,1] generating graphics... => 19
[5,3] generating graphics... => 18
[5,2,1] generating graphics... => 24
[5,1,1,1] generating graphics... => 21
[4,4] generating graphics... => 15
[4,3,1] generating graphics... => 23
[4,2,2] generating graphics... => 22
[4,2,1,1] generating graphics... => 26
[4,1,1,1,1] generating graphics... => 21
[3,3,2] generating graphics... => 19
[3,3,1,1] generating graphics... => 22
[3,2,2,1] generating graphics... => 23
[3,2,1,1,1] generating graphics... => 24
[3,1,1,1,1,1] generating graphics... => 19
[2,2,2,2] generating graphics... => 15
[2,2,2,1,1] generating graphics... => 18
[2,2,1,1,1,1] generating graphics... => 18
[2,1,1,1,1,1,1] generating graphics... => 15
[1,1,1,1,1,1,1,1] generating graphics... => 9
[9] generating graphics... => 10
[8,1] generating graphics... => 17
[7,2] generating graphics... => 21
[7,1,1] generating graphics... => 22
[6,3] generating graphics... => 22
[6,2,1] generating graphics... => 29
[6,1,1,1] generating graphics... => 25
[5,4] generating graphics... => 20
[5,3,1] generating graphics... => 30
[5,2,2] generating graphics... => 28
[5,2,1,1] generating graphics... => 33
[5,1,1,1,1] generating graphics... => 26
[4,4,1] generating graphics... => 25
[4,3,2] generating graphics... => 28
[4,3,1,1] generating graphics... => 32
[4,2,2,1] generating graphics... => 32
[4,2,1,1,1] generating graphics... => 33
[4,1,1,1,1,1] generating graphics... => 25
[3,3,3] generating graphics... => 20
[3,3,2,1] generating graphics... => 28
[3,3,1,1,1] generating graphics... => 28
[3,2,2,2] generating graphics... => 25
[3,2,2,1,1] generating graphics... => 30
[3,2,1,1,1,1] generating graphics... => 29
[3,1,1,1,1,1,1] generating graphics... => 22
[2,2,2,2,1] generating graphics... => 20
[2,2,2,1,1,1] generating graphics... => 22
[2,2,1,1,1,1,1] generating graphics... => 21
[2,1,1,1,1,1,1,1] generating graphics... => 17
[1,1,1,1,1,1,1,1,1] generating graphics... => 10
[10] generating graphics... => 11
[9,1] generating graphics... => 19
[8,2] generating graphics... => 24
[8,1,1] generating graphics... => 25
[7,3] generating graphics... => 26
[7,2,1] generating graphics... => 34
[7,1,1,1] generating graphics... => 29
[6,4] generating graphics... => 25
[6,3,1] generating graphics... => 37
[6,2,2] generating graphics... => 34
[6,2,1,1] generating graphics... => 40
[6,1,1,1,1] generating graphics... => 31
[5,5] generating graphics... => 21
[5,4,1] generating graphics... => 34
[5,3,2] generating graphics... => 37
[5,3,1,1] generating graphics... => 42
[5,2,2,1] generating graphics... => 41
[5,2,1,1,1] generating graphics... => 42
[5,1,1,1,1,1] generating graphics... => 31
[4,4,2] generating graphics... => 31
[4,4,1,1] generating graphics... => 35
[4,3,3] generating graphics... => 30
[4,3,2,1] generating graphics... => 42
[4,3,1,1,1] generating graphics... => 41
[4,2,2,2] generating graphics... => 35
[4,2,2,1,1] generating graphics... => 42
[4,2,1,1,1,1] generating graphics... => 40
[4,1,1,1,1,1,1] generating graphics... => 29
[3,3,3,1] generating graphics... => 30
[3,3,2,2] generating graphics... => 31
[3,3,2,1,1] generating graphics... => 37
[3,3,1,1,1,1] generating graphics... => 34
[3,2,2,2,1] generating graphics... => 34
[3,2,2,1,1,1] generating graphics... => 37
[3,2,1,1,1,1,1] generating graphics... => 34
[3,1,1,1,1,1,1,1] generating graphics... => 25
[2,2,2,2,2] generating graphics... => 21
[2,2,2,2,1,1] generating graphics... => 25
[2,2,2,1,1,1,1] generating graphics... => 26
[2,2,1,1,1,1,1,1] generating graphics... => 24
[2,1,1,1,1,1,1,1,1] generating graphics... => 19
[1,1,1,1,1,1,1,1,1,1] generating graphics... => 11
click to show generating function       
Description
The number of partitions contained in the given partition.
Code
def statistic(L):
    return sum( 1 for n in range(L.size()) for P in Partitions(n) if L.contains(P) ) + 1
Created
Jun 15, 2013 at 13:18 by Christian Stump
Updated
Oct 29, 2017 at 16:05 by Martin Rubey