Skip to content

LargestGreatestCommonDivisorOfPositionAndValue on Permutation ​

The largest gcd(i, p(i)).

On Permutation

Called as CombinatorialStat(x, "LargestGreatestCommonDivisorOfPositionAndValue"). 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 St001778

The largest greatest common divisor of an element and its image in a permutation.

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

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