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.
FindStat
Mp00027via DyckPathCutOutPartition(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
| Type | Package | Applies |
|---|---|---|
(dyck_path) -> integer_partition | combinatorics | always |
Details
- Takes a
DyckPathand returns aIntegerPartition— 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
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |