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2]=>0
[5,4,3]=>0
[5,4,2,1]=>0
[5,4,1,1,1]=>1
[5,3,3,1]=>3
[5,3,2,2]=>2
[5,3,2,1,1]=>1
[5,2,2,2,1]=>2
[4,4,3,1]=>4
[4,4,2,2]=>4
[4,4,2,1,1]=>4
[4,3,3,2]=>3
[4,3,3,1,1]=>3
[4,3,2,2,1]=>2
[3,3,3,2,1]=>3
[3,3,2,2,1,1]=>3
[5,4,3,1]=>0
[5,4,2,2]=>2
[5,4,2,1,1]=>1
[5,3,3,2]=>3
[5,3,3,1,1]=>3
[5,3,2,2,1]=>2
[4,4,3,2]=>4
[4,4,3,1,1]=>4
[4,4,2,2,1]=>4
[4,3,3,2,1]=>3
[5,4,3,2]=>0
[5,4,3,1,1]=>1
[5,4,2,2,1]=>2
[5,3,3,2,1]=>3
[4,4,3,2,1]=>4
[5,4,3,2,1]=>0
search for individual values
searching the database for the individual values of this statistic
/
search for generating function
searching the database for statistics with the same generating function
Description
The largest repeated part of a partition.
If the parts of the partition are all distinct, the value of the statistic is defined to be zero.
If the parts of the partition are all distinct, the value of the statistic is defined to be zero.
Code
def statistic(L): current = -1 for i in range(len(L)): prev = current current = L[i] if current == prev: return current return 0
Created
Jun 30, 2013 at 01:20 by anonymous
Updated
Dec 30, 2017 at 22:04 by Martin Rubey
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!