DistinctParts on IntegerPartition
How many distinct part sizes occur.
Called as CombinatorialStat(x, "DistinctParts"). The head's page has its examples.
Live
FindStat St000159
The number of distinct parts of the integer partition.
| Object | Value |
|---|---|
[] | 0 |
[1] | 1 |
[2] | 1 |
[3] | 1 |
[4] | 1 |
[5] | 1 |
[6] | 1 |
[7] | 1 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000159 has the rest.