LongestCycleLength
The size of the largest cycle (the catalog's second spelling).
FindStat
St000485via Permutation✓LongestCycleLength(p)
Details
- Defined over `Permutation` as an expression in `_x`, evaluated by compute-engine — the definition IS the implementation.
- 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.