LehmerCodeRotation
The permutation whose Lehmer code is this one's with every entry one larger, cyclically.
FindStat
Mp00149via PermutationLehmerCodeRotation(Permutation)The permutation whose Lehmer code is this one's with every entry one larger, cyclically.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> permutation | combinatorics | always |
Details
- Takes a
Permutationand returns aPermutation— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00149. Entry i wraps from n - i back to 0.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |