Factorial.Double | R Documentation |
Under OEIS A000165 and A001147, a Double Factorial is the factorial of numbers with same parity. For example, if n=5, then n!!=5*3*1.
Factorial.Double(n, gmp = TRUE, odd = TRUE)
n |
the number of first |
gmp |
a logical; |
odd |
a logical; |
a vector of length n
containing first entries from the sequence.
Factorial
## generate first 10 double factorials print(Factorial.Double(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.