Identifier
Identifier
Values
[] generating graphics... => 1
[1] generating graphics... => 1
[2] generating graphics... => 1
[1,1] generating graphics... => 1
[3] generating graphics... => 1
[2,1] generating graphics... => 3
[1,1,1] generating graphics... => 1
[4] generating graphics... => 1
[3,1] generating graphics... => 4
[2,2] generating graphics... => 3
[2,1,1] generating graphics... => 6
[1,1,1,1] generating graphics... => 1
[5] generating graphics... => 1
[4,1] generating graphics... => 5
[3,2] generating graphics... => 10
[3,1,1] generating graphics... => 10
[2,2,1] generating graphics... => 15
[2,1,1,1] generating graphics... => 10
[1,1,1,1,1] generating graphics... => 1
[6] generating graphics... => 1
[5,1] generating graphics... => 6
[4,2] generating graphics... => 15
[4,1,1] generating graphics... => 15
[3,3] generating graphics... => 10
[3,2,1] generating graphics... => 60
[3,1,1,1] generating graphics... => 20
[2,2,2] generating graphics... => 15
[2,2,1,1] generating graphics... => 45
[2,1,1,1,1] generating graphics... => 15
[1,1,1,1,1,1] generating graphics... => 1
[7] generating graphics... => 1
[6,1] generating graphics... => 7
[5,2] generating graphics... => 21
[5,1,1] generating graphics... => 21
[4,3] generating graphics... => 35
[4,2,1] generating graphics... => 105
[4,1,1,1] generating graphics... => 35
[3,3,1] generating graphics... => 70
[3,2,2] generating graphics... => 105
[3,2,1,1] generating graphics... => 210
[3,1,1,1,1] generating graphics... => 35
[2,2,2,1] generating graphics... => 105
[2,2,1,1,1] generating graphics... => 105
[2,1,1,1,1,1] generating graphics... => 21
[1,1,1,1,1,1,1] generating graphics... => 1
[8] generating graphics... => 1
[7,1] generating graphics... => 8
[6,2] generating graphics... => 28
[6,1,1] generating graphics... => 28
[5,3] generating graphics... => 56
[5,2,1] generating graphics... => 168
[5,1,1,1] generating graphics... => 56
[4,4] generating graphics... => 35
[4,3,1] generating graphics... => 280
[4,2,2] generating graphics... => 210
[4,2,1,1] generating graphics... => 420
[4,1,1,1,1] generating graphics... => 70
[3,3,2] generating graphics... => 280
[3,3,1,1] generating graphics... => 280
[3,2,2,1] generating graphics... => 840
[3,2,1,1,1] generating graphics... => 560
[3,1,1,1,1,1] generating graphics... => 56
[2,2,2,2] generating graphics... => 105
[2,2,2,1,1] generating graphics... => 420
[2,2,1,1,1,1] generating graphics... => 210
[2,1,1,1,1,1,1] generating graphics... => 28
[1,1,1,1,1,1,1,1] generating graphics... => 1
[9] generating graphics... => 1
[8,1] generating graphics... => 9
[7,2] generating graphics... => 36
[7,1,1] generating graphics... => 36
[6,3] generating graphics... => 84
[6,2,1] generating graphics... => 252
[6,1,1,1] generating graphics... => 84
[5,4] generating graphics... => 126
[5,3,1] generating graphics... => 504
[5,2,2] generating graphics... => 378
[5,2,1,1] generating graphics... => 756
[5,1,1,1,1] generating graphics... => 126
[4,4,1] generating graphics... => 315
[4,3,2] generating graphics... => 1260
[4,3,1,1] generating graphics... => 1260
[4,2,2,1] generating graphics... => 1890
[4,2,1,1,1] generating graphics... => 1260
[4,1,1,1,1,1] generating graphics... => 126
[3,3,3] generating graphics... => 280
[3,3,2,1] generating graphics... => 2520
[3,3,1,1,1] generating graphics... => 840
[3,2,2,2] generating graphics... => 1260
[3,2,2,1,1] generating graphics... => 3780
[3,2,1,1,1,1] generating graphics... => 1260
[3,1,1,1,1,1,1] generating graphics... => 84
[2,2,2,2,1] generating graphics... => 945
[2,2,2,1,1,1] generating graphics... => 1260
[2,2,1,1,1,1,1] generating graphics... => 378
[2,1,1,1,1,1,1,1] generating graphics... => 36
[1,1,1,1,1,1,1,1,1] generating graphics... => 1
[10] generating graphics... => 1
[9,1] generating graphics... => 10
[8,2] generating graphics... => 45
[8,1,1] generating graphics... => 45
[7,3] generating graphics... => 120
[7,2,1] generating graphics... => 360
[7,1,1,1] generating graphics... => 120
[6,4] generating graphics... => 210
[6,3,1] generating graphics... => 840
[6,2,2] generating graphics... => 630
[6,2,1,1] generating graphics... => 1260
[6,1,1,1,1] generating graphics... => 210
[5,5] generating graphics... => 126
[5,4,1] generating graphics... => 1260
[5,3,2] generating graphics... => 2520
[5,3,1,1] generating graphics... => 2520
[5,2,2,1] generating graphics... => 3780
[5,2,1,1,1] generating graphics... => 2520
[5,1,1,1,1,1] generating graphics... => 252
[4,4,2] generating graphics... => 1575
[4,4,1,1] generating graphics... => 1575
[4,3,3] generating graphics... => 2100
[4,3,2,1] generating graphics... => 12600
[4,3,1,1,1] generating graphics... => 4200
[4,2,2,2] generating graphics... => 3150
[4,2,2,1,1] generating graphics... => 9450
[4,2,1,1,1,1] generating graphics... => 3150
[4,1,1,1,1,1,1] generating graphics... => 210
[3,3,3,1] generating graphics... => 2800
[3,3,2,2] generating graphics... => 6300
[3,3,2,1,1] generating graphics... => 12600
[3,3,1,1,1,1] generating graphics... => 2100
[3,2,2,2,1] generating graphics... => 12600
[3,2,2,1,1,1] generating graphics... => 12600
[3,2,1,1,1,1,1] generating graphics... => 2520
[3,1,1,1,1,1,1,1] generating graphics... => 120
[2,2,2,2,2] generating graphics... => 945
[2,2,2,2,1,1] generating graphics... => 4725
[2,2,2,1,1,1,1] generating graphics... => 3150
[2,2,1,1,1,1,1,1] generating graphics... => 630
[2,1,1,1,1,1,1,1,1] generating graphics... => 45
[1,1,1,1,1,1,1,1,1,1] generating graphics... => 1
click to show generating function       
Description
The number of set partitions whose sorted block sizes correspond to the partition.
Code
def statistic(L):
    return len( [ S for S in SetPartitions(L.size()) if S.to_partition() == L ] )
Created
Mar 25, 2013 at 10:03 by Christian Stump
Updated
Oct 29, 2017 at 20:28 by Martin Rubey