Identifier
Identifier
Values
[1] generating graphics... => 0
[2] generating graphics... => 0
[1,1] generating graphics... => 0
[3] generating graphics... => 0
[2,1] generating graphics... => 1
[1,1,1] generating graphics... => 0
[4] generating graphics... => 0
[3,1] generating graphics... => 2
[2,2] generating graphics... => 0
[2,1,1] generating graphics... => 1
[1,1,1,1] generating graphics... => 0
[5] generating graphics... => 0
[4,1] generating graphics... => 3
[3,2] generating graphics... => 1
[3,1,1] generating graphics... => 2
[2,2,1] generating graphics... => 1
[2,1,1,1] generating graphics... => 1
[1,1,1,1,1] generating graphics... => 0
[6] generating graphics... => 0
[5,1] generating graphics... => 4
[4,2] generating graphics... => 2
[4,1,1] generating graphics... => 3
[3,3] generating graphics... => 0
[3,2,1] generating graphics... => 2
[3,1,1,1] generating graphics... => 2
[2,2,2] generating graphics... => 0
[2,2,1,1] generating graphics... => 1
[2,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1] generating graphics... => 0
[7] generating graphics... => 0
[6,1] generating graphics... => 5
[5,2] generating graphics... => 3
[5,1,1] generating graphics... => 4
[4,3] generating graphics... => 1
[4,2,1] generating graphics... => 3
[4,1,1,1] generating graphics... => 3
[3,3,1] generating graphics... => 2
[3,2,2] generating graphics... => 1
[3,2,1,1] generating graphics... => 2
[3,1,1,1,1] generating graphics... => 2
[2,2,2,1] generating graphics... => 1
[2,2,1,1,1] generating graphics... => 1
[2,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1] generating graphics... => 0
[8] generating graphics... => 0
[7,1] generating graphics... => 6
[6,2] generating graphics... => 4
[6,1,1] generating graphics... => 5
[5,3] generating graphics... => 2
[5,2,1] generating graphics... => 4
[5,1,1,1] generating graphics... => 4
[4,4] generating graphics... => 0
[4,3,1] generating graphics... => 3
[4,2,2] generating graphics... => 2
[4,2,1,1] generating graphics... => 3
[4,1,1,1,1] generating graphics... => 3
[3,3,2] generating graphics... => 1
[3,3,1,1] generating graphics... => 2
[3,2,2,1] generating graphics... => 2
[3,2,1,1,1] generating graphics... => 2
[3,1,1,1,1,1] generating graphics... => 2
[2,2,2,2] generating graphics... => 0
[2,2,2,1,1] generating graphics... => 1
[2,2,1,1,1,1] generating graphics... => 1
[2,1,1,1,1,1,1] generating graphics... => 1
[1,1,1,1,1,1,1,1] generating graphics... => 0
[9] generating graphics... => 0
[8,1] generating graphics... => 7
[7,2] generating graphics... => 5
[7,1,1] generating graphics... => 6
[6,3] generating graphics... => 3
[6,2,1] generating graphics... => 5
[6,1,1,1] generating graphics... => 5
[5,4] generating graphics... => 1
[5,3,1] generating graphics... => 4
[5,2,2] generating graphics... => 3
[5,2,1,1] generating graphics... => 4
[5,1,1,1,1] generating graphics... => 4
[4,4,1] generating graphics... => 3
[4,3,2] generating graphics... => 2
[4,3,1,1] generating graphics... => 3
[4,2,2,1] generating graphics... => 3
[4,2,1,1,1] generating graphics... => 3
[4,1,1,1,1,1] generating graphics... => 3
[3,3,3] generating graphics... => 0
[3,3,2,1] generating graphics... => 2
[3,3,1,1,1] generating graphics... => 2
[3,2,2,2] generating graphics... => 1
[3,2,2,1,1] generating graphics... => 2
[3,2,1,1,1,1] generating graphics... => 2
[3,1,1,1,1,1,1] generating graphics... => 2
[2,2,2,2,1] generating graphics... => 1
[2,2,2,1,1,1] generating graphics... => 1
[2,2,1,1,1,1,1] generating graphics... => 1
[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... => 0
[9,1] generating graphics... => 8
[8,2] generating graphics... => 6
[8,1,1] generating graphics... => 7
[7,3] generating graphics... => 4
[7,2,1] generating graphics... => 6
[7,1,1,1] generating graphics... => 6
[6,4] generating graphics... => 2
[6,3,1] generating graphics... => 5
[6,2,2] generating graphics... => 4
[6,2,1,1] generating graphics... => 5
[6,1,1,1,1] generating graphics... => 5
[5,5] generating graphics... => 0
[5,4,1] generating graphics... => 4
[5,3,2] generating graphics... => 3
[5,3,1,1] generating graphics... => 4
[5,2,2,1] generating graphics... => 4
[5,2,1,1,1] generating graphics... => 4
[5,1,1,1,1,1] generating graphics... => 4
[4,4,2] generating graphics... => 2
[4,4,1,1] generating graphics... => 3
[4,3,3] generating graphics... => 1
[4,3,2,1] generating graphics... => 3
[4,3,1,1,1] generating graphics... => 3
[4,2,2,2] generating graphics... => 2
[4,2,2,1,1] generating graphics... => 3
[4,2,1,1,1,1] generating graphics... => 3
[4,1,1,1,1,1,1] generating graphics... => 3
[3,3,3,1] generating graphics... => 2
[3,3,2,2] generating graphics... => 1
[3,3,2,1,1] generating graphics... => 2
[3,3,1,1,1,1] generating graphics... => 2
[3,2,2,2,1] generating graphics... => 2
[3,2,2,1,1,1] generating graphics... => 2
[3,2,1,1,1,1,1] generating graphics... => 2
[3,1,1,1,1,1,1,1] generating graphics... => 2
[2,2,2,2,2] generating graphics... => 0
[2,2,2,2,1,1] generating graphics... => 1
[2,2,2,1,1,1,1] generating graphics... => 1
[2,2,1,1,1,1,1,1] generating graphics... => 1
[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
click to show generating function       
Description
Difference between largest and smallest parts in a partition.
References
[1] Andrews, G. E., Beck, M., Robbins, N. Partitions with fixed differences between largest and smallest parts arXiv:1406.3374
[2] Triangle read by rows, 0<=k<n: T(n,k) = number of partitions of n such that the differences between greatest and smallest parts are k. OEIS:A097364
Code
def statistic(L):
    return L[0]-L[-1]
Created
Oct 13, 2014 at 14:17 by Matthias Beck
Updated
May 29, 2015 at 17:23 by Martin Rubey