A000142: Factorial numbers

Description Usage Arguments Value Examples

Description

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

Usage

1
Factorial(n, gmp = TRUE)

Arguments

n

the number of first n entries from the sequence.

gmp

a logical; TRUE to use large number representation, FALSE otherwise.

Value

a vector of length n containing first entries from the sequence.

Examples

1
2
## generate first 10 Factorials
print(Factorial(10))

Zseq documentation built on May 2, 2019, 2:38 a.m.