Double factorial


In mathematics, the product of all the integers from 1 up to some non-negative integer n that have the same parity as n is called the double factorial or semifactorial of n and is denoted by n!!. That is,
where
A consequence of this definition is that (as an empty product)