Samiksha Jaiswal (Editor)

Primorial

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Primorial

In mathematics, and more particularly in number theory, primorial is a function from natural numbers to natural numbers similar to the factorial function, but rather than successively multiplying positive integers, only prime numbers are multiplied.

Contents

There are two conflicting definitions that differ in the interpretation of the argument: the first interprets the argument as an index into the sequence of prime numbers (so that the function is strictly increasing), while the second interprets the argument as a bound on the prime numbers to be multiplied (so that the function value at any composite number is the same as at its predecessor). The rest of this article uses the latter interpretation.

The name "primorial", coined by Harvey Dubner, draws an analogy to primes the same way the name "factorial" relates to factors.

Definition for primorial numbers

For the nth prime number pn, the primorial pn# is defined as the product of the first n primes:

p n # k = 1 n p k ,

where pk is the kth prime number. For instance, p5# signifies the product of the first 5 primes:

p 5 # = 2 × 3 × 5 × 7 × 11 = 2310.

The first six primorials pn# are:

1, 2, 6, 30, 210, 2310 (sequence A002110 in the OEIS).

The sequence also includes p0# = 1 as empty product. Asymptotically, primorials pn# grow according to:

p n # = e ( 1 + o ( 1 ) ) n log n ,

where o( ) is little-o notation.

Definition for natural numbers

In general for a positive integer n, a primorial n# can also be defined, namely as the product of those primes ≤ n:

n # i = 1 π ( n ) p i = p π ( n ) # ,

where π(n) is the prime-counting function (sequence A000720 in the OEIS), giving the number of primes ≤ n. This is equivalent to:

n # = { 1 if  n = 0 ,   1 ( n 1 ) # × n if  n  is prime ( n 1 ) # if  n  is composite .

For example, 12# represents the product of those primes ≤ 12:

12 # = 2 × 3 × 5 × 7 × 11 = 2310.

Since π(12) = 5, this can be calculated as:

12 # = p π ( 12 ) # = p 5 # = 2310.

Consider the first 12 primorials n#:

1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, 2310.

We see that for composite n every term n# simply duplicates the preceding term (n − 1)#, as given in the definition. In the above example we have 12# = p5# = 11# since 12 is a composite number.

The natural logarithm of n# is the first Chebyshev function, written ϑ(n) or θ(n), which approaches the linear n for large n.

Primorials n# grow according to:

ln ( n # ) n .

The idea of multiplying all known primes occurs in some proofs of the infinitude of the prime numbers, where it is used to derive the existence of another prime.

Applications and properties

Primorials play a role in the search for prime numbers in additive arithmetic progressions. For instance, 7009223613394100000♠2236133941 + 23# results in a prime, beginning a sequence of thirteen primes found by repeatedly adding 23#, and ending with 7009513634125100000♠5136341251. 23# is also the common difference in arithmetic progressions of fifteen and sixteen primes.

Every highly composite number is a product of primorials (e.g. 360 = 2 × 6 × 30).

Primorials are all square-free integers, and each one has more distinct prime factors than any number smaller than it. For each primorial n, the fraction φ(n)/n is smaller than it for any lesser integer, 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.

The n-compositorial of a composite number n is the product of all composite numbers up to and including n. The n-compositorial is equal to the n-factorial divided by the primorial n#. The compositorials are

1, 4, 24, 192, 1728, 7004172800000000000♠17280, 7005207360000000000♠207360, 7006290304000000000♠2903040, 7007435456000000000♠43545600, 7008696729600000000♠696729600, ...

Appearance

The Riemann zeta function at positive integers greater than one can be expressed by using the primorial function and Jordan's totient function Jk(n):

ζ ( k ) = 2 k 2 k 1 + r = 2 ( p r 1 # ) k J k ( p r # ) , k = 2 , 3 ,

References

Primorial Wikipedia