DOCUMENTATION CENTER SEARCH
Mathematica
>
Combinatorial Functions
>
Built-in
Mathematica
Symbol
Factorial
Permutations
See Also »
|
Combinatorial Functions
New in 6.0: Number Theory & Integer Functions
More About »
Subfactorial
Subfactorial
[
n
]
gives the number of permutations of
n
objects that leave no object fixed.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
For non-integer
n
, the numerical value of
Subfactorial
[
n
]
is given by
Gamma
[
n
+1, -1]/
E
.
Subfactorial
can be evaluated to arbitrary numerical precision.
A permutation in which no object appears in its natural place is called a derangement.
Subfactorial
automatically threads over lists.
Subfactorial
[0]
gives 1.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Out[1]=
Scope
(6)
Applications
(1)
Properties & Relations
(2)
Neat Examples
(1)
SEE ALSO
Factorial
Permutations
MORE ABOUT
Combinatorial Functions
New in 6.0: Number Theory & Integer Functions
New in 6
© 2008 Wolfram Research, Inc.