KrattenthalerPermutation
The 321-avoiding permutation whose left-to-right maxima are the path's peaks: Krattenthaler's bijection.
FindStat
Mp00119via DyckPathKrattenthalerPermutation(DyckPath)The 321-avoiding permutation whose left-to-right maxima are the path's peaks: Krattenthaler's bijection.Typed signatures
| Type | Package | Applies |
|---|---|---|
(dyck_path) -> permutation | combinatorics | always |
Details
- Takes a
DyckPathand returns aPermutation— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00119. The value at a peak is the ups so far and its position the downs so far plus one; the other values fill the other positions increasingly. The first step of KnuthKrattenthaler.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |