Algebra > Products >

Primorial

DOWNLOAD Mathematica Notebook

Let p_n be the nth prime, then the primorial (which is the analog of the usual factorial for prime numbers) is defined by

 p_n#=product_(k=1)^np_k.
(1)

The values of p_n# for n=1, 2, ..., are 2, 6, 30, 210, 2310, 30030, 510510, ... (OEIS A002110).

It is sometimes convenient to define the primorial n# for values other than just the primes, in which case it is taken to be given by the product of all primes less than or equal to n, i.e.,

 n#=product_(k=1)^(pi(n))p_k,
(2)

where pi(n) is the prime counting function. For n=1, 2, ..., the first few values of n# are 1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, ... (OEIS A034386).

PrimorialLimit

The logarithm of p_n# is closely related to the Chebyshev function theta(x), and a trivial rearrangement of the limit

 lim_(x->infty)x/(theta(x))=1
(3)

gives

 lim_(n->infty)(p_n#)^(1/p_n)=e
(4)

(Ruiz 1997; Finch 2003, p. 14; Pruitt), where e is the usual base of the natural logarithm.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.