This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Combinatorica Package Guide
Subsets and Permutations
Permutations list permutations of a set of integers
SignaturePermutation sign or parity of a permutation
InversePermutation apply an inverse permutation
Inversions number of inversions
Index index of a permutation
PermutationGraph graph for a permutation
PermutationType  ▪ Runs  ▪ Eulerian  ▪ ...
CyclicGroup group of circular shift permutations
Orbits orbits induced by the action of the group
CycleIndex cycle index of a group of permutations
Strings subsets with repeating elements
BinarySubsets enumerate subsets
KSubsets subsets with k elements
ToCycles find cycles for a permutation
HideCycles represent the cycle in canonical form