Skip to content

PrefixExchangeDistance on Permutation ​

The star transpositions (1 i) needed to sort p: the moved points, plus the nontrivial cycles, less two when 1 is moved.

On Permutation

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

Live

Distribution

Over SymmetricGroup at each size, tallied here in your browser; sizes past 8 are not offered.

FindStat St001077

The prefix exchange distance of a permutation.

ObjectValue
[1,2]0
[2,1]1
[1,2,3]0
[1,3,2]3
[2,1,3]1
[2,3,1]2
[3,1,2]2
[3,2,1]1

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