ZCubes/Primorial Numbers

From ZCubes Wiki
Jump to: navigation, search

Primorial Numbers


Primorial number is the product of prime numbers till the nth prime number. In ZCubes you can easily compute the special numbers like primorial numbers using the inbuilt functions.

Video


Primorial Numbers















Code

 PRIMES(100)
 .allslices()
 .slice(1)
 .$$(r=>PRODUCT(r))


<< Learn ZCubes
© Copyright 1996-2020, ZCubes, Inc.