Skip to content

InverseFoataHan ​

The inverse of Foata and Han's transformation: the last letter is peeled off and the blocks of the rest are rotated back.

InverseFoataHan(SignedPermutation)The inverse of Foata and Han's transformation: the last letter is peeled off and the blocks of the rest are rotated back.
Typed signatures
TypePackageApplies
(signed_permutation) -> signed_permutationcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a SignedPermutation and returns a SignedPermutation — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00194, sending the flag inversion number to the flag major index.

Examples

Basic #

the signed permutation 2 3ˉ 12\,\bar 3\,1

live ↗
InInverseFoataHan(SignedPermutation⁡([2,−3,1]))\mathrm{InverseFoataHan}({\operatorname{SignedPermutation}}([2, -3, 1]))OutSignedPermutation⁡([−3,2,1]){\operatorname{SignedPermutation}}([-3, 2, 1])
About
Examples1
CrosswalkFindStat