ZCubes/How to Apply Primorial Numbers

From ZCubes Wiki
Revision as of 03:48, 13 March 2020 by Swapna (talk | contribs)
Jump to navigation Jump to search

How to Apply 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















Examples

E.g 1] To find prime numbers till the 'n'th prime numbers, use ZCubes command as -


displays prime numbers till 100 as
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97


E.g 2] To find primorial number series for the prime numbers in the range of 1 to 100, use ZCubes code as -

...splits the prime number series as 2, 2 3, 2 3 5, 2 3 5 7, and so on

...removes first number '2' from the series

...displays the product of numbers from each row e.g 6 , 30, 210 and so on

displays primorial series as -


6
30
210
2310
30030
510510
9699690
223092870
6469693230
200560490130
7420738134810
304250263527210
13082761331670030
614889782588491400
32589158477190046000
1.9227603501542128e+21
1.1728838135940697e+23
7.858321551080267e+24
5.57940830126699e+26
4.072968059924903e+28
3.2176447673406735e+30
2.670645156892759e+32
2.3768741896345556e+34
2.3055679639455188e+36


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