Arithmetic & Number Theory

Double Factorial

Product of integers with the same parity down to 1.

Formula

Formula
n!! = n(n−2)(n−4)⋯

Variables

SymbolDefinitionType & rangeUnitsRole
n non-negative integer integer (ℤ) input
n!! double factorial integer (ℤ) input

Try it yourself

Interactive calculator
Result

Worked examples

Example 1
Givenn = 9
Result945
Example 2
Givenn = 8
Result384