Top Qs
Timeline
Chat
Perspective
Primorial
Product of the first "n" prime numbers From Wikipedia, the free encyclopedia
Remove ads
In mathematics, and more particularly in number theory, primorial, denoted by "pn#", is a function from natural numbers to natural numbers similar to the factorial function, but rather than successively multiplying positive integers, the function only multiplies prime numbers.
Look up -ial in Wiktionary, the free dictionary.
The name "primorial", coined by Harvey Dubner, draws an analogy to primes similar to the way the name "factorial" relates to factors.
Remove ads
Definition for prime numbers
Summarize
Perspective

The primorial is defined as the product of the first primes:[1][2]
where is the -th prime number. For instance, signifies the product of the first 5 primes:
The first few primorials are:
Asymptotically, primorials grow according to[2]
Comparison
The table below shows the comparison between and .
As can be seen, the absolute error and relative error diverges to infinity.
Remove ads
Definition for natural numbers

In general, for a positive integer , its primorial is the product of all primes less than or equal to ; that is,[1][3]
where is the prime-counting function (sequence A000720 in the OEIS). This is equivalent to
For example, represents the product of all primes no greater than 12:
Since , this can be calculated as:
Consider the first 12 values of the sequence :
We see that for composite , every term is equal to the preceding term . In the above example we have since 12 is composite.
Primorials are related to the first Chebyshev function by[4]
Since asymptotically approaches for large values of , primorials therefore grow according to:
Remove ads
Properties
- For any such that for primes and , then .
- Let be the -th prime. Then has exactly divisors.
- The sum of the reciprocal values of the primorial converges towards a constant
- The Engel expansion of this number results in the sequence of the prime numbers (sequence A064648 in the OEIS).
- Euclid's proof of his theorem on the infinitude of primes can be paraphrased by saying that, for any prime , the number has a prime divisor not contained in the set of primes less than or equal to .
- . For , the values are smaller than ,[5] but for larger , the values of the function exceed and oscillate infinitely around later on.
- Since the binomial coefficient is divisible by every prime between and , and since , we have the following the upper bound:[6] .
Remove ads
Applications
Summarize
Perspective
Primorials play a role in the search for prime numbers in additive arithmetic progressions. For instance, results in a prime, beginning a sequence of thirteen primes found by repeatedly adding , and ending with . is also the common difference in arithmetic progressions of fifteen and sixteen primes.
Every highly composite number is a product of primorials.[9]
Primorials are all square-free integers, and each one has more distinct prime factors than any number smaller than it. For each primorial , the fraction is smaller than for any lesser integer,[clarification needed] where is the Euler totient function.
Any completely multiplicative function is defined by its values at primorials, since it is defined by its values at primes, which can be recovered by division of adjacent values.
Base systems corresponding to primorials (such as base 30, not to be confused with the primorial number system) have a lower proportion of repeating fractions than any smaller base.
Every primorial is a sparsely totient number.[10]
Remove ads
Compositorial
The n-compositorial of a composite number n is the product of all composite numbers up to and including n.[11] The n-compositorial is equal to the n-factorial divided by the primorial n#. The compositorials are
Riemann zeta function
The Riemann zeta function at positive integers greater than one can be expressed[13] by using the primorial function and Jordan's totient function :
- .
Remove ads
Table of primorials
Remove ads
See also
Notes
References
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads