Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Combinatorial Functions >

Subfactorial

Subfactorial[n]
gives the number of permutations of n objects that leave no object fixed.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • Subfactorial can be evaluated to arbitrary numerical precision.
  • A permutation in which no object appears in its natural place is called a derangement.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team