Skip to content

InverseFoata ​

The permutation whose cycles are the stretches of the word between successive left-to-right maxima, each read as a cycle.

InverseFoata(Permutation)The permutation whose cycles are the stretches of the word between successive left-to-right maxima, each read as a cycle.
Typed signatures
TypePackageApplies
(permutation) -> permutationcombinatoricsalways

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 Mp00086, the inverse of Foata: a word's left-to-right maxima open its cycles.

Examples

Basic #

the one-line word 231231

live ↗
InInverseFoata(Permutation⁡([2,3,1]))\mathrm{InverseFoata}({\operatorname{Permutation}}([2, 3, 1]))OutPermutation⁡([3,2,1]){\operatorname{Permutation}}([3, 2, 1])
About
Examples1
CrosswalkFindStat