factdouble
Double factorial.
Syntax
Section titled “Syntax”v = factdouble(number)Description
Section titled “Description”Returns n!! — the product of every other integer (skipping by 2): odd n gives 1·3·5·...·n, even n gives 2·4·6·...·n.
Examples
Section titled “Examples”factdouble(7) % 105 (1·3·5·7)factdouble(6) % 48 (2·4·6)See also
Section titled “See also”fact— Factorial.