Skip to content

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
TypePackageApplies
((binary_word) -> binary_word) & ((composition) -> composition) & ((permutation) -> permutation)combinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a Permutation and returns a Permutation — 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 a IntegerComposition: 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 a BinaryWord: The inverse of Foata's bijection on words: peel off the last letter, rotate the blocks of the rest back.
  • FindStat's Mp00316.

Examples

Basic #

the one-line word 231231

live ↗
InFoataInversionsToMajor(Permutation⁡([2,3,1]))\mathrm{FoataInversionsToMajor}({\operatorname{Permutation}}([2, 3, 1]))OutPermutation⁡([2,3,1]){\operatorname{Permutation}}([2, 3, 1])

the composition 2+1+32 + 1 + 3

live ↗
InFoataInversionsToMajor(IntegerComposition⁡([2,1,3]))\mathrm{FoataInversionsToMajor}({\operatorname{IntegerComposition}}([2, 1, 3]))OutIntegerComposition⁡([2,1,3]){\operatorname{IntegerComposition}}([2, 1, 3])

the binary word 0110001100

live ↗
InFoataInversionsToMajor(BinaryWord⁡([0,1,1,0,0]))\mathrm{FoataInversionsToMajor}({\operatorname{BinaryWord}}([0, 1, 1, 0, 0]))OutBinaryWord⁡([1,0,1,0,0]){\operatorname{BinaryWord}}([1, 0, 1, 0, 0])
About
Examples3
CrosswalkFindStat ×3