PermutationCosine on Permutation
The sum of i p(i).
The scalar product of p with the identity: n(n+1)(2n+1) / 6 times the cosine of the angle between them.
Called as CombinatorialStat(x, "PermutationCosine"). 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 St000342
The cosine of a permutation.
| Object | Value |
|---|---|
[1] | 1 |
[1,2] | 5 |
[2,1] | 4 |
[1,2,3] | 14 |
[1,3,2] | 13 |
[2,1,3] | 13 |
[2,3,1] | 11 |
[3,1,2] | 11 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000342 has the rest.