Identifier
Identifier
Values
[] generating graphics... => 0
[1] generating graphics... => 1
[2] generating graphics... => 4
[1,1] generating graphics... => 2
[3] generating graphics... => 9
[2,1] generating graphics... => 5
[1,1,1] generating graphics... => 3
[4] generating graphics... => 16
[3,1] generating graphics... => 10
[2,2] generating graphics... => 8
[2,1,1] generating graphics... => 6
[1,1,1,1] generating graphics... => 4
[5] generating graphics... => 25
[4,1] generating graphics... => 17
[3,2] generating graphics... => 13
[3,1,1] generating graphics... => 11
[2,2,1] generating graphics... => 9
[2,1,1,1] generating graphics... => 7
[1,1,1,1,1] generating graphics... => 5
[6] generating graphics... => 36
[5,1] generating graphics... => 26
[4,2] generating graphics... => 20
[4,1,1] generating graphics... => 18
[3,3] generating graphics... => 18
[3,2,1] generating graphics... => 14
[3,1,1,1] generating graphics... => 12
[2,2,2] generating graphics... => 12
[2,2,1,1] generating graphics... => 10
[2,1,1,1,1] generating graphics... => 8
[1,1,1,1,1,1] generating graphics... => 6
[7] generating graphics... => 49
[6,1] generating graphics... => 37
[5,2] generating graphics... => 29
[5,1,1] generating graphics... => 27
[4,3] generating graphics... => 25
[4,2,1] generating graphics... => 21
[4,1,1,1] generating graphics... => 19
[3,3,1] generating graphics... => 19
[3,2,2] generating graphics... => 17
[3,2,1,1] generating graphics... => 15
[3,1,1,1,1] generating graphics... => 13
[2,2,2,1] generating graphics... => 13
[2,2,1,1,1] generating graphics... => 11
[2,1,1,1,1,1] generating graphics... => 9
[1,1,1,1,1,1,1] generating graphics... => 7
[8] generating graphics... => 64
[7,1] generating graphics... => 50
[6,2] generating graphics... => 40
[6,1,1] generating graphics... => 38
[5,3] generating graphics... => 34
[5,2,1] generating graphics... => 30
[5,1,1,1] generating graphics... => 28
[4,4] generating graphics... => 32
[4,3,1] generating graphics... => 26
[4,2,2] generating graphics... => 24
[4,2,1,1] generating graphics... => 22
[4,1,1,1,1] generating graphics... => 20
[3,3,2] generating graphics... => 22
[3,3,1,1] generating graphics... => 20
[3,2,2,1] generating graphics... => 18
[3,2,1,1,1] generating graphics... => 16
[3,1,1,1,1,1] generating graphics... => 14
[2,2,2,2] generating graphics... => 16
[2,2,2,1,1] generating graphics... => 14
[2,2,1,1,1,1] generating graphics... => 12
[2,1,1,1,1,1,1] generating graphics... => 10
[1,1,1,1,1,1,1,1] generating graphics... => 8
[9] generating graphics... => 81
[8,1] generating graphics... => 65
[7,2] generating graphics... => 53
[7,1,1] generating graphics... => 51
[6,3] generating graphics... => 45
[6,2,1] generating graphics... => 41
[6,1,1,1] generating graphics... => 39
[5,4] generating graphics... => 41
[5,3,1] generating graphics... => 35
[5,2,2] generating graphics... => 33
[5,2,1,1] generating graphics... => 31
[5,1,1,1,1] generating graphics... => 29
[4,4,1] generating graphics... => 33
[4,3,2] generating graphics... => 29
[4,3,1,1] generating graphics... => 27
[4,2,2,1] generating graphics... => 25
[4,2,1,1,1] generating graphics... => 23
[4,1,1,1,1,1] generating graphics... => 21
[3,3,3] generating graphics... => 27
[3,3,2,1] generating graphics... => 23
[3,3,1,1,1] generating graphics... => 21
[3,2,2,2] generating graphics... => 21
[3,2,2,1,1] generating graphics... => 19
[3,2,1,1,1,1] generating graphics... => 17
[3,1,1,1,1,1,1] generating graphics... => 15
[2,2,2,2,1] generating graphics... => 17
[2,2,2,1,1,1] generating graphics... => 15
[2,2,1,1,1,1,1] generating graphics... => 13
[2,1,1,1,1,1,1,1] generating graphics... => 11
[1,1,1,1,1,1,1,1,1] generating graphics... => 9
[10] generating graphics... => 100
[9,1] generating graphics... => 82
[8,2] generating graphics... => 68
[8,1,1] generating graphics... => 66
[7,3] generating graphics... => 58
[7,2,1] generating graphics... => 54
[7,1,1,1] generating graphics... => 52
[6,4] generating graphics... => 52
[6,3,1] generating graphics... => 46
[6,2,2] generating graphics... => 44
[6,2,1,1] generating graphics... => 42
[6,1,1,1,1] generating graphics... => 40
[5,5] generating graphics... => 50
[5,4,1] generating graphics... => 42
[5,3,2] generating graphics... => 38
[5,3,1,1] generating graphics... => 36
[5,2,2,1] generating graphics... => 34
[5,2,1,1,1] generating graphics... => 32
[5,1,1,1,1,1] generating graphics... => 30
[4,4,2] generating graphics... => 36
[4,4,1,1] generating graphics... => 34
[4,3,3] generating graphics... => 34
[4,3,2,1] generating graphics... => 30
[4,3,1,1,1] generating graphics... => 28
[4,2,2,2] generating graphics... => 28
[4,2,2,1,1] generating graphics... => 26
[4,2,1,1,1,1] generating graphics... => 24
[4,1,1,1,1,1,1] generating graphics... => 22
[3,3,3,1] generating graphics... => 28
[3,3,2,2] generating graphics... => 26
[3,3,2,1,1] generating graphics... => 24
[3,3,1,1,1,1] generating graphics... => 22
[3,2,2,2,1] generating graphics... => 22
[3,2,2,1,1,1] generating graphics... => 20
[3,2,1,1,1,1,1] generating graphics... => 18
[3,1,1,1,1,1,1,1] generating graphics... => 16
[2,2,2,2,2] generating graphics... => 20
[2,2,2,2,1,1] generating graphics... => 18
[2,2,2,1,1,1,1] generating graphics... => 16
[2,2,1,1,1,1,1,1] generating graphics... => 14
[2,1,1,1,1,1,1,1,1] generating graphics... => 12
[1,1,1,1,1,1,1,1,1,1] generating graphics... => 10
[11] generating graphics... => 121
[10,1] generating graphics... => 101
[9,2] generating graphics... => 85
[9,1,1] generating graphics... => 83
[8,3] generating graphics... => 73
[8,2,1] generating graphics... => 69
[8,1,1,1] generating graphics... => 67
[7,4] generating graphics... => 65
[7,3,1] generating graphics... => 59
[7,2,2] generating graphics... => 57
[7,2,1,1] generating graphics... => 55
[7,1,1,1,1] generating graphics... => 53
[6,5] generating graphics... => 61
[6,4,1] generating graphics... => 53
[6,3,2] generating graphics... => 49
[6,3,1,1] generating graphics... => 47
[6,2,2,1] generating graphics... => 45
[6,2,1,1,1] generating graphics... => 43
[6,1,1,1,1,1] generating graphics... => 41
[5,5,1] generating graphics... => 51
[5,4,2] generating graphics... => 45
[5,4,1,1] generating graphics... => 43
[5,3,3] generating graphics... => 43
[5,3,2,1] generating graphics... => 39
[5,3,1,1,1] generating graphics... => 37
[5,2,2,2] generating graphics... => 37
[5,2,2,1,1] generating graphics... => 35
[5,2,1,1,1,1] generating graphics... => 33
[5,1,1,1,1,1,1] generating graphics... => 31
[4,4,3] generating graphics... => 41
[4,4,2,1] generating graphics... => 37
[4,4,1,1,1] generating graphics... => 35
[4,3,3,1] generating graphics... => 35
[4,3,2,2] generating graphics... => 33
[4,3,2,1,1] generating graphics... => 31
[4,3,1,1,1,1] generating graphics... => 29
[4,2,2,2,1] generating graphics... => 29
[4,2,2,1,1,1] generating graphics... => 27
[4,2,1,1,1,1,1] generating graphics... => 25
[4,1,1,1,1,1,1,1] generating graphics... => 23
[3,3,3,2] generating graphics... => 31
[3,3,3,1,1] generating graphics... => 29
[3,3,2,2,1] generating graphics... => 27
[3,3,2,1,1,1] generating graphics... => 25
[3,3,1,1,1,1,1] generating graphics... => 23
[3,2,2,2,2] generating graphics... => 25
[3,2,2,2,1,1] generating graphics... => 23
[3,2,2,1,1,1,1] generating graphics... => 21
[3,2,1,1,1,1,1,1] generating graphics... => 19
[3,1,1,1,1,1,1,1,1] generating graphics... => 17
[2,2,2,2,2,1] generating graphics... => 21
[2,2,2,2,1,1,1] generating graphics... => 19
[2,2,2,1,1,1,1,1] generating graphics... => 17
[2,2,1,1,1,1,1,1,1] generating graphics... => 15
[2,1,1,1,1,1,1,1,1,1] generating graphics... => 13
[1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 11
[12] generating graphics... => 144
[11,1] generating graphics... => 122
[10,2] generating graphics... => 104
[10,1,1] generating graphics... => 102
[9,3] generating graphics... => 90
[9,2,1] generating graphics... => 86
[9,1,1,1] generating graphics... => 84
[8,4] generating graphics... => 80
[8,3,1] generating graphics... => 74
[8,2,2] generating graphics... => 72
[8,2,1,1] generating graphics... => 70
[8,1,1,1,1] generating graphics... => 68
[7,5] generating graphics... => 74
[7,4,1] generating graphics... => 66
[7,3,2] generating graphics... => 62
[7,3,1,1] generating graphics... => 60
[7,2,2,1] generating graphics... => 58
[7,2,1,1,1] generating graphics... => 56
[7,1,1,1,1,1] generating graphics... => 54
[6,6] generating graphics... => 72
[6,5,1] generating graphics... => 62
[6,4,2] generating graphics... => 56
[6,4,1,1] generating graphics... => 54
[6,3,3] generating graphics... => 54
[6,3,2,1] generating graphics... => 50
[6,3,1,1,1] generating graphics... => 48
[6,2,2,2] generating graphics... => 48
[6,2,2,1,1] generating graphics... => 46
[6,2,1,1,1,1] generating graphics... => 44
[6,1,1,1,1,1,1] generating graphics... => 42
[5,5,2] generating graphics... => 54
[5,5,1,1] generating graphics... => 52
[5,4,3] generating graphics... => 50
[5,4,2,1] generating graphics... => 46
[5,4,1,1,1] generating graphics... => 44
[5,3,3,1] generating graphics... => 44
[5,3,2,2] generating graphics... => 42
[5,3,2,1,1] generating graphics... => 40
[5,3,1,1,1,1] generating graphics... => 38
[5,2,2,2,1] generating graphics... => 38
[5,2,2,1,1,1] generating graphics... => 36
[5,2,1,1,1,1,1] generating graphics... => 34
[5,1,1,1,1,1,1,1] generating graphics... => 32
[4,4,4] generating graphics... => 48
[4,4,3,1] generating graphics... => 42
[4,4,2,2] generating graphics... => 40
[4,4,2,1,1] generating graphics... => 38
[4,4,1,1,1,1] generating graphics... => 36
[4,3,3,2] generating graphics... => 38
[4,3,3,1,1] generating graphics... => 36
[4,3,2,2,1] generating graphics... => 34
[4,3,2,1,1,1] generating graphics... => 32
[4,3,1,1,1,1,1] generating graphics... => 30
[4,2,2,2,2] generating graphics... => 32
[4,2,2,2,1,1] generating graphics... => 30
[4,2,2,1,1,1,1] generating graphics... => 28
[4,2,1,1,1,1,1,1] generating graphics... => 26
[4,1,1,1,1,1,1,1,1] generating graphics... => 24
[3,3,3,3] generating graphics... => 36
[3,3,3,2,1] generating graphics... => 32
[3,3,3,1,1,1] generating graphics... => 30
[3,3,2,2,2] generating graphics... => 30
[3,3,2,2,1,1] generating graphics... => 28
[3,3,2,1,1,1,1] generating graphics... => 26
[3,3,1,1,1,1,1,1] generating graphics... => 24
[3,2,2,2,2,1] generating graphics... => 26
[3,2,2,2,1,1,1] generating graphics... => 24
[3,2,2,1,1,1,1,1] generating graphics... => 22
[3,2,1,1,1,1,1,1,1] generating graphics... => 20
[3,1,1,1,1,1,1,1,1,1] generating graphics... => 18
[2,2,2,2,2,2] generating graphics... => 24
[2,2,2,2,2,1,1] generating graphics... => 22
[2,2,2,2,1,1,1,1] generating graphics... => 20
[2,2,2,1,1,1,1,1,1] generating graphics... => 18
[2,2,1,1,1,1,1,1,1,1] generating graphics... => 16
[2,1,1,1,1,1,1,1,1,1,1] generating graphics... => 14
[1,1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 12
[5,4,3,1] generating graphics... => 51
[5,4,2,2] generating graphics... => 49
[5,4,2,1,1] generating graphics... => 47
[5,3,3,2] generating graphics... => 47
[5,3,3,1,1] generating graphics... => 45
[5,3,2,2,1] generating graphics... => 43
[4,4,3,2] generating graphics... => 45
[4,4,3,1,1] generating graphics... => 43
[4,4,2,2,1] generating graphics... => 41
[4,3,3,2,1] generating graphics... => 39
[5,4,3,2] generating graphics... => 54
[5,4,3,1,1] generating graphics... => 52
[5,4,2,2,1] generating graphics... => 50
[5,3,3,2,1] generating graphics... => 48
[4,4,3,2,1] generating graphics... => 46
[5,4,3,2,1] generating graphics... => 55
click to show generating function       
Description
The sum of the squares of the parts of a partition.
Code
def statistic(pi):
    return sum(p^2 for p in pi)
Created
Mar 20, 2018 at 16:22 by Martin Rubey
Updated
Apr 26, 2018 at 07:41 by Martin Rubey