LeftToRightMaximaOrRightToLeftMinima on Permutation
Positions that are a left-to-right maximum, a right-to-left minimum, or both.
Called as CombinatorialStat(x, "LeftToRightMaximaOrRightToLeftMinima"). 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 St001004
The number of indices that are either left-to-right maxima or right-to-left minima.
| Object | Value |
|---|---|
[] | 0 |
[1] | 1 |
[1,2] | 2 |
[2,1] | 2 |
[1,2,3] | 3 |
[1,3,2] | 3 |
[2,1,3] | 3 |
[2,3,1] | 3 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St001004 has the rest.