primorial {primes} | R Documentation |
Computes the primorial for prime numbers and natural numbers.
primorial_n(n)
primorial_p(n)
n |
an integer indicating the numbers to be used in the computation. See Details for more information. |
The primorial_p
function computes the primorial with respect the the first
n
prime numbers; while the primorial_n
function computes the primorial
with respect the the first n
natural numbers.
A numeric vector of length 1.
Paul Egeler, MS