Page 1 of 1

the primorial Pn# is the product ir the first n primes: P1#= 2=2 P2# =2*3=6 P3# =2*3*5=30 P4#=2*3*5*7=210 P5#=2*3*5*7*11

Posted: Mon Jun 06, 2022 2:26 pm
by answerhappygod
the primorial Pn# is the product ir the first n primes:
P1#= 2=2
P2# =2*3=6
P3# =2*3*5=30
P4#=2*3*5*7=210
P5#=2*3*5*7*11=2310
using loops (while, do-while, for)