Combinatorica`
Combinatorica`
Index
Index[p]
gives the index of permutation , the sum of all subscripts
such that
is greater than
.
Details and Options
- To use Index, you first need to load the Combinatorica Package using Needs["Combinatorica`"].