Difference between revisions of "ZCubes/Primorial Numbers"
Jump to navigation
Jump to search
(Created page with "==Primorial Numbers== <br/> Primorial number is the product of prime numbers till the nth prime number. In ZCubes you can easily compute the special numbers like primorial num...") |
(→Video) |
||
Line 8: | Line 8: | ||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> | <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> | ||
+ | |||
+ | ==Code== | ||
+ | PRIMES(100) | ||
+ | .allslices() | ||
+ | .slice(1) | ||
+ | .$$(r=>PRODUCT(r)) | ||
Revision as of 03:10, 13 May 2020
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
Code
PRIMES(100) .allslices() .slice(1) .$$(r=>PRODUCT(r))
<< Learn ZCubes
© Copyright 1996-2020, ZCubes, Inc.