KrewerasComplement
π⁻¹c with the long cycle c = (1 2 ... n), FindStat's order: position i holds c(π⁻¹(i)).
Wikipedia
Noncrossing partitionWikidataQ7049245FindStatMp00088via PermutationMp00168via SignedPermutationKrewerasComplement(Permutation)w⁻¹c with the long cycle c = (1 2 ... n), FindStat's order: position i holds c(w⁻¹(i)).Typed signatures
| Type | Package | Applies |
|---|---|---|
((permutation) -> permutation) & ((signed_permutation) -> signed_permutation) | combinatorics | always |
Details
- Takes a
Permutationand returns aPermutation— a typed map, so a wrong carrier is a type error rather than a wrong answer. - Total, a bijection of S_n; it restricts to the classical Kreweras complement of the non-crossing permutations (those below c in absolute order), mapping NC(n) onto itself. K∘K is conjugation by c.
- Also takes a
SignedPermutation, returning aSignedPermutation: π⁻¹c with the long cycle c = (1 … n −1 … −n): position i holds c(π⁻¹(i)). - FindStat's Mp00168. A bijection of order 2n.
Examples
About
| Examples | 2 |
|---|---|
| Crosswalk | WikipediaWikidataFindStat ×2 |