Skip to content

GreaterNeighborOfMaximum on Permutation ​

The larger of the two entries beside n, an end counting as 0.

On Permutation

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

The greater neighbor of the maximum.

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

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