This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Structure Manipulation /

Permutations

FilledSmallSquare Permutations[list] generates a list of all possible permutations of the elements in list.

FilledSmallSquare Example: Permutations[a,b,c] LongRightArrow.

FilledSmallSquare There are permutations of a list of distinct elements.

FilledSmallSquare Repeated elements are treated as identical.

FilledSmallSquare The object list need not have head List.

FilledSmallSquare See Section 1.8.11.

FilledSmallSquare See also: Sort, Signature, Reverse, RotateLeft.

FilledSmallSquare Related packages: DiscreteMath`Permutations`, DiscreteMath`Combinatorica`.

FilledSmallSquare New in Version 1.

Further Examples