Peaks on IntegerComposition
Interior positions with c(i-1) < c(i) > c(i+1).
Called as CombinatorialStat(x, "Peaks"). The head's page has its examples.
Live
Distribution
Over IntegerCompositions at each size, tallied here in your browser; sizes past 6 are not offered.
Also on
The same name on other carriers, each its own implementation: Permutation, DyckPath.
FindStat St000768
The number of peaks in an integer composition.
| Object | Value |
|---|---|
[1] | 0 |
[2] | 0 |
[3] | 0 |
[4] | 0 |
[5] | 0 |
[6] | 0 |
[7] | 0 |
[8] | 0 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000768 has the rest.