Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Combinatorial Functions >
Mathematica > Mathematics and Algorithms > Mathematical Functions > Integer Functions > Combinatorial Functions >

Factorial2 (!!)

n!!
gives the double factorial of n.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • n!!=n(n-2)(n-4)x ....
  • n!! is a product of even numbers for n even, and odd numbers for n odd.
  • Factorial2 can be evaluated to arbitrary numerical precision.
Evaluate for large arguments:
Evaluate at negative integers:
Plot double factorial:
Evaluate for complex arguments:
Factorial2 threads element-wise over lists:
Infinite arguments give symbolic results:
Series expansion at poles:
Series expansion at infinity (generalized Stirling approximation):
Plot of the absolute value of Factorial2 in the complex plane:
Use FunctionExpand to expand double factorial into Gamma function:
Use FullSimplify to simplify expressions involving double factorials:
Sums involving Factorial2:
Generating function:
Recover the original power series:
Products involving double factorial:
Large arguments can give results too large to be computed explicitly, even approximately:
Smaller values work:
Machine-number inputs can give high-precision results:
To compute repeated factorial use (n!)! instead of n!!:
Plot Factorial2 at infinity:
Find the numbers of digits 0 through 9 in 10000!!:
Plot the ratio of doubled factorials over double factorial:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team