*****************************************************************************
*       www.FindStat.org - The Combinatorial Statistic Finder               *
*                                                                           *
*       Copyright (C) 2019 The FindStatCrew <info@findstat.org>             *
*                                                                           *
*    This information is distributed in the hope that it will be useful,    *
*    but WITHOUT ANY WARRANTY; without even the implied warranty of         *
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
*****************************************************************************

-----------------------------------------------------------------------------
Statistic identifier: St000228

-----------------------------------------------------------------------------
Collection: Integer partitions

-----------------------------------------------------------------------------
Description: The size of a partition.

This statistic is the constant statistic of the level sets.

-----------------------------------------------------------------------------
References: 

-----------------------------------------------------------------------------
Code:
def statistic(x):
    return x.size()

-----------------------------------------------------------------------------
Statistic values:

[]                    => 0
[1]                   => 1
[2]                   => 2
[1,1]                 => 2
[3]                   => 3
[2,1]                 => 3
[1,1,1]               => 3
[4]                   => 4
[3,1]                 => 4
[2,2]                 => 4
[2,1,1]               => 4
[1,1,1,1]             => 4
[5]                   => 5
[4,1]                 => 5
[3,2]                 => 5
[3,1,1]               => 5
[2,2,1]               => 5
[2,1,1,1]             => 5
[1,1,1,1,1]           => 5
[6]                   => 6
[5,1]                 => 6
[4,2]                 => 6
[4,1,1]               => 6
[3,3]                 => 6
[3,2,1]               => 6
[3,1,1,1]             => 6
[2,2,2]               => 6
[2,2,1,1]             => 6
[2,1,1,1,1]           => 6
[1,1,1,1,1,1]         => 6
[7]                   => 7
[6,1]                 => 7
[5,2]                 => 7
[5,1,1]               => 7
[4,3]                 => 7
[4,2,1]               => 7
[4,1,1,1]             => 7
[3,3,1]               => 7
[3,2,2]               => 7
[3,2,1,1]             => 7
[3,1,1,1,1]           => 7
[2,2,2,1]             => 7
[2,2,1,1,1]           => 7
[2,1,1,1,1,1]         => 7
[1,1,1,1,1,1,1]       => 7
[8]                   => 8
[7,1]                 => 8
[6,2]                 => 8
[6,1,1]               => 8
[5,3]                 => 8
[5,2,1]               => 8
[5,1,1,1]             => 8
[4,4]                 => 8
[4,3,1]               => 8
[4,2,2]               => 8
[4,2,1,1]             => 8
[4,1,1,1,1]           => 8
[3,3,2]               => 8
[3,3,1,1]             => 8
[3,2,2,1]             => 8
[3,2,1,1,1]           => 8
[3,1,1,1,1,1]         => 8
[2,2,2,2]             => 8
[2,2,2,1,1]           => 8
[2,2,1,1,1,1]         => 8
[2,1,1,1,1,1,1]       => 8
[1,1,1,1,1,1,1,1]     => 8
[9]                   => 9
[8,1]                 => 9
[7,2]                 => 9
[7,1,1]               => 9
[6,3]                 => 9
[6,2,1]               => 9
[6,1,1,1]             => 9
[5,4]                 => 9
[5,3,1]               => 9
[5,2,2]               => 9
[5,2,1,1]             => 9
[5,1,1,1,1]           => 9
[4,4,1]               => 9
[4,3,2]               => 9
[4,3,1,1]             => 9
[4,2,2,1]             => 9
[4,2,1,1,1]           => 9
[4,1,1,1,1,1]         => 9
[3,3,3]               => 9
[3,3,2,1]             => 9
[3,3,1,1,1]           => 9
[3,2,2,2]             => 9
[3,2,2,1,1]           => 9
[3,2,1,1,1,1]         => 9
[3,1,1,1,1,1,1]       => 9
[2,2,2,2,1]           => 9
[2,2,2,1,1,1]         => 9
[2,2,1,1,1,1,1]       => 9
[2,1,1,1,1,1,1,1]     => 9
[1,1,1,1,1,1,1,1,1]   => 9
[10]                  => 10
[9,1]                 => 10
[8,2]                 => 10
[8,1,1]               => 10
[7,3]                 => 10
[7,2,1]               => 10
[7,1,1,1]             => 10
[6,4]                 => 10
[6,3,1]               => 10
[6,2,2]               => 10
[6,2,1,1]             => 10
[6,1,1,1,1]           => 10
[5,5]                 => 10
[5,4,1]               => 10
[5,3,2]               => 10
[5,3,1,1]             => 10
[5,2,2,1]             => 10
[5,2,1,1,1]           => 10
[5,1,1,1,1,1]         => 10
[4,4,2]               => 10
[4,4,1,1]             => 10
[4,3,3]               => 10
[4,3,2,1]             => 10
[4,3,1,1,1]           => 10
[4,2,2,2]             => 10
[4,2,2,1,1]           => 10
[4,2,1,1,1,1]         => 10
[4,1,1,1,1,1,1]       => 10
[3,3,3,1]             => 10
[3,3,2,2]             => 10
[3,3,2,1,1]           => 10
[3,3,1,1,1,1]         => 10
[3,2,2,2,1]           => 10
[3,2,2,1,1,1]         => 10
[3,2,1,1,1,1,1]       => 10
[3,1,1,1,1,1,1,1]     => 10
[2,2,2,2,2]           => 10
[2,2,2,2,1,1]         => 10
[2,2,2,1,1,1,1]       => 10
[2,2,1,1,1,1,1,1]     => 10
[2,1,1,1,1,1,1,1,1]   => 10
[1,1,1,1,1,1,1,1,1,1] => 10

-----------------------------------------------------------------------------
Created: Nov 19, 2014 at 16:52 by Ayushi Saxena

-----------------------------------------------------------------------------
Last Updated: Oct 29, 2017 at 16:36 by Martin Rubey