![]() |
|||||||||||||
|
Primorial |
The primorial has two similar but distinct meanings. The name is attributed to Harvey Dubner and is a portmanteau of prime and factorial. The primorial pn# is defined as the product of the first n primes:12

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

The first few primorials pn# are:
The sequence also includes p0# = 1 as empty product.
Asymptotically, primorials pn# grow according to:
![p_n\# = \exp \left [ (1 + o(1)) \cdot n \log n \right ],](http://upload.wikimedia.org/math/6/8/3/6834f5b3384ead176ee27d0aa0b7a6f9.png)
where "exp" is the exponential function ex and "o" is the "little-o" notation (see Big O notation).2
In contrast, n# is defined as the product of those primes ≤ n, for n ≥ 1:13

This is equivalent to:3

where, π(n) is the prime-counting function (sequence A000720 in OEIS), giving the number of primes ≤ n.
For example, 7# represents the product of those primes ≤ 7:

Since π(7) = 4, this can be calculated as:

The first primorials n# are:
Note that every term n# for composite n simply duplicates the preceding term (n−1)#, as evident in the definition given.
Natural logarithm of n# is the first Chebyshev function, written θ(n) or
, which approaches the linear n for large n.4
Primorials n# grow according to:

The idea of multiplying all known primes occurs in a proof of the infinitude of the prime numbers; it is applied to show a contradiction in the idea that the primes could be finite in number.
Primorials play a role in the search for prime numbers in additive arithmetic progressions. For instance, 2236133941 + 23# results in a prime, beginning a sequence of thirteen primes found by repeatedly adding 23#, and ending with 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 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.
Contents |
| n | n# | pn | pn# |
|---|---|---|---|
| 0 | undefined | no prime | 1 |
| 1 | 1 | 2 | 2 |
| 2 | 2 | 3 | 6 |
| 3 | 6 | 5 | 30 |
| 4 | 6 | 7 | 210 |
| 5 | 30 | 11 | 2310 |
| 6 | 30 | 13 | 30030 |
| 7 | 210 | 17 | 510510 |
| 8 | 210 | 19 | 9699690 |
| 9 | 210 | 23 | 223092870 |
| 10 | 210 | 29 | 6469693230 |
| 11 | 2310 | 31 | 200560490130 |
| 12 | 2310 | 37 | 7420738134810 |
| 13 | 30030 | 41 | 304250263527210 |
| 14 | 30030 | 43 | 13082761331670030 |
| 15 | 30030 | 47 | 614889782588491410 |