Factorial {Zseq} | R Documentation |
Under OEIS A000142, a Factorial is the product of all positive integers smaller than or equal to the number. First 6 such numbers are 1, 1, 2, 6, 24, 120
Factorial(n, gmp = TRUE)
n |
the number of first |
gmp |
a logical; |
a vector of length n
containing first entries from the sequence.
## generate first 10 Factorials
print(Factorial(10))