OuterPeaks on Permutation
Peaks of the word 0 p(1) ... p(n) 0: the interior peaks, plus one for each end that is a peak.
Called as CombinatorialStat(x, "OuterPeaks"). 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 St000092
The number of outer peaks of a permutation.
| Object | Value |
|---|---|
[1] | 1 |
[1,2] | 1 |
[2,1] | 1 |
[1,2,3] | 1 |
[1,3,2] | 1 |
[2,1,3] | 2 |
[2,3,1] | 1 |
[3,1,2] | 2 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000092 has the rest.