Difference between revisions of "ZCubes/Primorial Numbers"

From ZCubes Wiki
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...")
 
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
  
  
 +
==Code==
 +
  PRIMES(100)
 +
  .allslices()
 +
  .slice(1)
 +
  .$$(r=>PRODUCT(r))
  
<<[[Learn_ZCubes | Learn ZCubes ]]
+
 
 +
<br/>
 +
*[[Z3 | Z3 home]]
 +
*[[Z^3 Language Documentation]]
 +
*[[ZCubes_Videos | ZCubes Videos and Tutorials]]
 +
*[[Main_Page | About ZCubes ]]
 +
<br/>
 
<br/>
 
<br/>
&copy; Copyright 1996-2020, ZCubes, Inc.
+
&copy; Copyright 1996-2021, ZCubes, Inc.

Latest revision as of 00:18, 11 March 2021

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))





© Copyright 1996-2021, ZCubes, Inc.