Variation on IntegerComposition
The signed sum of c(i+1) - c(i): the last part less the first.
Archibald, Knopfmacher and Mansour, Variation statistics on compositions.
Called as CombinatorialStat(x, "Variation"). 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.
FindStat St000090
The variation of a composition.
| Object | Value |
|---|---|
[1] | 0 |
[2] | 0 |
[3] | 0 |
[4] | 0 |
[5] | 0 |
[6] | 0 |
[7] | 0 |
[1,1] | 0 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000090 has the rest.