DistinctParts
How many distinct part sizes occur.
Wikipedia
Integer partitionMathWorldPartitionWikidataQ1082910Britannicatopic/partition-of-an-integerOEISA000009FindStatSt000159via IntegerPartition✓DistinctParts(partition)
Details
- Defined over `IntegerPartition` as an expression in `_x`, evaluated by compute-engine — the definition IS the implementation.
- Takes a `IntegerPartition` and nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer.