PermutationMax
The largest point moves; 0 for the identity.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
PermutationMax✓PermutationMax(p)The largest point moves; 0 for the identity.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> number | combinatorics | always |
Details
- Defined over
Permutationas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Wolfram's
Cyclesinput is not read here: wrap a one-line word inPermutation, or turnCyclesinto one with PermutationList first - Trailing fixed points do not count:
{2, 1, 3, 4}has maximum 2 - Takes a
Permutationand 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 #
Properties #
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 5 agree |
| Crosswalk | Wolfram Language |