Skip to content

PermutationMin ​

The smallest point pp moves; infinity for the identity.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguagePermutationMin✓
PermutationMin(p)The smallest point pp moves; infinity for the identity.
Typed signatures
TypePackageApplies
(permutation) -> numbercombinatoricsalways

Domain: Permutation statistics

Details
  • Defined over Permutation as an expression in _x, evaluated by compute-engine — the definition IS the implementation.
  • Wolfram's Cycles input is not read here: wrap a one-line word in Permutation, or turn Cycles into one with PermutationList first
  • Leading fixed points do not count: {1, 3, 2} has minimum 2
  • Takes a Permutation and nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer.

Examples

Basic #

1 is fixed, so the smallest moved point is 2

live ↗
InPermutationMin(Permutation⁡([1,3,2,4]))\mathrm{PermutationMin}({\operatorname{Permutation}}([1, 3, 2, 4]))Out22

Known value · wolframscript 15.0

the one-line word 312312

live ↗
InPermutationMin(Permutation⁡([3,1,2]))\mathrm{PermutationMin}({\operatorname{Permutation}}([3, 1, 2]))Out11

the one-line word 24132413

live ↗
InPermutationMin(Permutation⁡([2,4,1,3]))\mathrm{PermutationMin}({\operatorname{Permutation}}([2, 4, 1, 3]))Out11
Scope #

(1 5)(2 3 4)(1\,5)(2\,3\,4)

live ↗
InPermutationMin(Permutation⁡([5,3,4,2,1]))\mathrm{PermutationMin}({\operatorname{Permutation}}([5, 3, 4, 2, 1]))Out11

Known value · wolframscript 15.0

Properties #

the identity moves nothing, so there is no smallest point, as Wolfram has it

live ↗
InPermutationMin(Permutation⁡([1,2,3]))\mathrm{PermutationMin}({\operatorname{Permutation}}([1, 2, 3]))Out∞∞

Known value · wolframscript 15.0

About
Examples5
Checked againstWolfram Language 5 agree
CrosswalkWolfram Language