Combinatorica`
Combinatorica`

Index

Index[p]

gives the index of permutation p, the sum of all subscripts j such that p〚j〛 is greater than p〚j+1〛.

Details

See Also

Inversions

Tutorials