primorial
The primorial function.
Syntax
-
primorial(n)-
nis an integer
-
Description
If n is an integer, then primorial(n) is the product of all prime numbers less than or equal to n.
Notes
The postfix operator # is mapped to the primorial function.
Examples
50#
614889782588491410
100#
2.30556796395⋅10^36
SequenceVector(15) @ primorial
(1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, 2310, 30030, 30030, 30030)