In mathematics, and more particularly in number theory, primorial, denoted by "#", 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.
The name "primorial", coined by Harvey Dubner, draws an analogy to primes similar to the way the name "factorial" relates to factors.
For the th prime number, the primorial is defined as the product of the first primes:
pn\#=
n | |
\prod | |
k=1 |
pk
where is the th prime number. For instance, signifies the product of the first 5 primes:
p5\#=2 x 3 x 5 x 7 x 11=2310.
The first five primorials are:
The sequence also includes as empty product. Asymptotically, primorials grow according to:
pn\#=e(1,
where is Little O notation.
In general, for a positive integer, its primorial,, is the product of the primes that are not greater than ; that is,
n\#=\prodpp=
\pi(n) | |
\prod | |
i=1 |
pi=p\pi(n)\#
where is the prime-counting function, which gives the number of primes ≤ . This is equivalent to:
n\#=\begin{cases} 1&ifn=0, 1\\ (n-1)\# x n&ifnisprime\\ (n-1)\#&ifniscomposite. \end{cases}
For example, 12# represents the product of those primes ≤ 12:
12\#=2 x 3 x 5 x 7 x 11=2310.
Since, this can be calculated as:
12\#=p\pi(12)\#=p5\#=2310.
Consider the first 12 values of :
1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, 2310.
We see that for composite every term simply duplicates the preceding term, as given in the definition. In the above example we have since 12 is a composite number.
Primorials are related to the first Chebyshev function, written according to:
ln(n\#)=\vartheta(n).
Since asymptotically approaches for large values of, primorials therefore grow according to:
n\#=e(1+o(1))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.
n\inN
p\leqn<q
n\#=p\#
n\#\leq4n
Notes:
n\#\leq3n
n\#\leq(2.763)n
n\ge563
n\#\geq(2.22)n
\limn\sqrt[n]{n\#}=e
For
n<1011
pk
pk\#
2k
2\#
3\#
5\#
97\#
225
\sump\in{1\overp\#}={1\over2}+{1\over6}+{1\over30}+\ldots=0{.}7052301717918\ldots
The Engel expansion of this number results in the sequence of the prime numbers (See)
p\#+1
Primorials play a role in the search for prime numbers in additive arithmetic progressions. For instance, + 23# results in a prime, beginning a sequence of thirteen primes found by repeatedly adding 23#, and ending with . 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 =).[5]
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, 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.[6]
The -compositorial of a composite number is the product of all composite numbers up to and including .[7] The -compositorial is equal to the -factorial divided by the primorial . The compositorials are
1, 4, 24, 192, 1728,,,,,, ...[8]
The Riemann zeta function at positive integers greater than one can be expressed by using the primorial function and Jordan's totient function :
\zeta(k)= | 2k |
2k-1 |
| ||||
+\sum | ||||
r=2 |
, k=2,3,...
Primorial prime? | ||||||
---|---|---|---|---|---|---|
pn# + 1[9] | pn# − 1[10] | |||||
0 | 1 | 1 | ||||
1 | 1 | 2 | 2 | |||
2 | 2 | 3 | 6 | |||
3 | 6 | 5 | 30 | |||
4 | 6 | 7 | 210 | |||
5 | 30 | 11 | ||||
6 | 30 | 13 | ||||
7 | 210 | 17 | ||||
8 | 210 | 19 | ||||
9 | 210 | 23 | ||||
10 | 210 | 29 | ||||
11 | 31 | |||||
12 | 37 | |||||
13 | 41 | |||||
14 | 43 | |||||
15 | 47 | |||||
16 | 53 | |||||
17 | 59 | |||||
18 | 61 | |||||
19 | 67 | |||||
20 | 71 | |||||
21 | 73 | |||||
22 | 79 | |||||
23 | 83 | |||||
24 | 89 | |||||
25 | 97 | |||||
26 | 101 | |||||
27 | 103 | |||||
28 | 107 | |||||
29 | 109 | |||||
30 | 113 | |||||
31 | 127 | |||||
32 | 131 | |||||
33 | 137 | |||||
34 | 139 | |||||
35 | 149 | |||||
36 | 151 | |||||
37 | 157 | |||||
38 | 163 | |||||
39 | 167 | |||||
40 | 173 |
\theta(x)
\psi(x)
\theta
\omega(n)