FoataInversionsToMajor
The inverse of Foata's major-to-inversions bijection: peel off the last letter, rotate the blocks of the rest back.
FoataInversionsToMajor(Permutation)The inverse of Foata's major-to-inversions bijection: peel off the last letter, rotate the blocks of the rest back.Typed signatures
| Type | Package | Applies |
|---|---|---|
((binary_word) -> binary_word) & ((composition) -> composition) & ((permutation) -> 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. - FindStat's Mp00175, Sage's foata_bijection_inverse. It sends the number of inversions to the major index.
- Also takes a
IntegerComposition, returning aIntegerComposition: The inverse of Foata's bijection on compositions: peel off the last part, rotate the blocks of the rest back. - FindStat's Mp00315.
- Also takes a
BinaryWord, returning aBinaryWord: The inverse of Foata's bijection on words: peel off the last letter, rotate the blocks of the rest back. - FindStat's Mp00316.
Examples
About
| Examples | 3 |
|---|---|
| Crosswalk | FindStat ×3 |