Skip to content

CutOutPartition ​

The partition cut out of the staircase by the path: part i is the number of downs before the (n + 1 - i)-th up step.

CutOutPartition(DyckPath)The partition cut out of the staircase by the path: part i is the number of downs before the (n + 1 - i)-th up step.
Typed signatures
TypePackageApplies
(dyck_path) -> integer_partitioncombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a DyckPath and returns a IntegerPartition — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00027, "to partition". Injective: its image is the partitions inside the staircase (n-1, ..., 1).

Examples

Basic #

the Dyck path UUDDUDUUDDUD

live ↗
InCutOutPartition(DyckPath⁡([1,1,0,0,1,0]))\mathrm{CutOutPartition}({\operatorname{DyckPath}}([1, 1, 0, 0, 1, 0]))OutIntegerPartition⁡([2]){\operatorname{IntegerPartition}}([2])
About
Examples1
CrosswalkFindStat