Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Discrete Mathematics >

Permutations

Updated In 6 Graphic
Permutations[list]
generates a list of all possible permutations of the elements in list.
Permutations[list, n]
gives all permutations containing at most n elements.
Permutations[list, {n}]
gives all permutations containing exactly n elements.
  • There are n! permutations of a list of n distinct elements.
  • Repeated elements are treated as identical.  »
  • The object list need not have head List.
  • Permutations[list, {nmin, nmax}] gives permutations of between nmin and nmax elements.
New in 1 | Last modified in 6
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team