up previous next
primorial    --    primorial function


Syntax
primorial(N: INT): INT

Description
This function returns the "primorial" of N, the product of all positive primes less than or equal to N.

Example
/**/  primorial(5);
30

/**/  primorial(21);
9699690

See Also