AdjacenciesWithZeroAppended on Permutation
Positions i with p(i) = p(i+1) + 1, reading p(n+1) = 0.
Adjacencies counts the same without the appended zero.
Called as CombinatorialStat(x, "AdjacenciesWithZeroAppended"). 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 St000215
The number of adjacencies of a permutation, zero appended.
| Object | Value |
|---|---|
[] | 0 |
[1] | 1 |
[1,2] | 0 |
[2,1] | 2 |
[1,2,3] | 0 |
[1,3,2] | 1 |
[2,1,3] | 1 |
[2,3,1] | 1 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000215 has the rest.