Skip to content

RemoveFirstPart ​

The partition without its largest part: its first row removed.

RemoveFirstPart(IntegerPartition)The partition without its largest part: its first row removed.
Typed signatures
TypePackageApplies
(integer_partition) -> integer_partitioncombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a IntegerPartition and returns a IntegerPartition — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00202. Lossy: the largest part is forgotten.

Examples

Basic #

the partition 4+2+14 + 2 + 1

live ↗
InRemoveFirstPart(IntegerPartition⁡([4,2,1]))\mathrm{RemoveFirstPart}({\operatorname{IntegerPartition}}([4, 2, 1]))OutIntegerPartition⁡([2,1]){\operatorname{IntegerPartition}}([2, 1])
About
Examples1
CrosswalkFindStat