SwapReturnsAndLastDescent
An involution exchanging the number of returns with the length of the last descent.
FindStat
Mp00118via DyckPathSwapReturnsAndLastDescent(DyckPath)An involution exchanging the number of returns with the length of the last descent.Typed signatures
| Type | Package | Applies |
|---|---|---|
(dyck_path) -> dyck_path | combinatorics | always |
Details
- Takes a
DyckPathand returns aDyckPath— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00118, the specialization to Dyck paths of the map of Elizalde and Rubey. It keeps the number of ups before each down that is neither a return nor in the last descent.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |