Skip to content

LehmerCodeRotation from Permutation ​

The permutation whose Lehmer code is this one's with every entry one larger, cyclically.

Permutation → Permutationbijection

FindStat's Mp00149. Entry i wraps from n - i back to 0.

Called as CombinatorialMap(x, "LehmerCodeRotation"). The head's page has its examples.

Live

Explore

Each element of Permutation at a size, and its image, applied in your browser; sizes past 7 are not offered.

Properties

Transport a statistic

Pick a statistic on Permutation. Its distribution over the images of Permutation at each size is computed, and compared with the 323 statistics on Permutation: those that share it are the ones the map sends it to, as far as the sizes computed show.

FindStat Mp00149

Lehmer code rotation

Matched by value: our map agrees with FindStat's image on each of the 873 rows of size at most 6 we can read (0 unread; its table has 1200 rows).

BijectionGraded mapas FindStat records them, checked by FindStat's contributors.

Sends a permutation π\pi to the unique permutation τ\tau (of the same length) such that every entry in the [[Permutations|Lehmer code]] of τ\tau is cyclically one larger than the Lehmer code of π\pi.
ObjectImage
[1][1]
[1,2][2,1]
[2,1][1,2]
[1,2,3][2,3,1]

Data from FindStat, the combinatorial statistic finder; the page at findstat.org/Mp00149 has the rest.