Primorial: Difference between revisions
imported>Bones7456 |
imported>DreamRimmer bot II m Bot: Implementing outcome of RfC: converting list-defined references from {{reflist|refs=…}} to <references>…</references> for VisualEditor compatibility |
||
| Line 2: | Line 2: | ||
{{Distinguish|Primordial (disambiguation){{!}}primordial}} | {{Distinguish|Primordial (disambiguation){{!}}primordial}} | ||
In [[mathematics]], and more particularly in [[number theory]], '''primorial''', denoted by "<math>p_{n}\#</math>", is a [[Function (mathematics)|function]] from [[natural number]]s to natural numbers similar to the [[factorial]] function, but rather than successively multiplying positive integers, the function only multiplies [[prime number]]s. | |||
In [[mathematics]], and more particularly in [[number theory]], '''primorial''', denoted by " | |||
The name "primorial", coined by [[Harvey Dubner]], draws an analogy to ''primes'' similar to the way the name "factorial" relates to ''factors''. | The name "primorial", coined by [[Harvey Dubner]], draws an analogy to ''primes'' similar to the way the name "factorial" relates to ''factors''. | ||
| Line 10: | Line 9: | ||
[[Image:Primorial pn plot.png|thumb|300px|{{math|''p<sub>n</sub>''#}} as a function of {{math|''n''}}, plotted logarithmically.]] | [[Image:Primorial pn plot.png|thumb|300px|{{math|''p<sub>n</sub>''#}} as a function of {{math|''n''}}, plotted logarithmically.]] | ||
The primorial <math>p_n\#</math> is defined as the product of the first <math>n</math> primes:<ref name="mathworld">{{Mathworld | urlname=Primorial | title=Primorial}}</ref><ref name="OEIS A002110">{{OEIS|id=A002110}}</ref> | |||
:<math>p_n\# = \prod_{k=1}^n p_k</math> | :<math>p_n\# = \prod_{k=1}^n p_k,</math> | ||
where | where <math>p_k</math> is the <math>k</math>-th prime number. For instance, <math>p_5\#</math> signifies the product of the first 5 primes: | ||
:<math>p_5\# = 2 \times 3 \times 5 \times 7 \times 11= 2310.</math> | :<math>p_5\# = 2 \times 3 \times 5 \times 7 \times 11= 2310.</math> | ||
The first few primorials | The first few primorials <math>p_n\#</math> are: | ||
:[[1 (number)|1]], [[2 (number)|2]], [[6 (number)|6]], [[30 (number)|30]], [[210 (number)|210]], [[2310 (number)|2310]], 30030, 510510, 9699690... {{OEIS|id=A002110}}. | :[[1 (number)|1]], [[2 (number)|2]], [[6 (number)|6]], [[30 (number)|30]], [[210 (number)|210]], [[2310 (number)|2310]], 30030, 510510, 9699690... {{OEIS|id=A002110}}. | ||
Asymptotically, primorials | Asymptotically, primorials grow according to<ref name="OEIS A002110"/> | ||
:<math>p_n\# = e^{(1 + | :<math>p_n\# = e^{(1 + o(1)) n \log n}.</math> | ||
== Definition for natural numbers == | == Definition for natural numbers == | ||
[[Image:Primorial n plot.png|thumb|300px| | [[Image:Primorial n plot.png|thumb|300px|<math>n!</math> (yellow) as a function of <math>n</math>, compared to <math>n\#</math> (red), both plotted logarithmically.]] | ||
In general, for a positive integer | In general, for a positive integer <math>n</math>, its primorial <math>n\#</math> is the product of all primes less than or equal to <math>n</math>; that is,<ref name="mathworld" /><ref name="OEIS A034386">{{OEIS|id=A034386}}</ref> | ||
:<math>n\# = \prod_{p \ | :<math>n\# = \prod_{p\,\leq\, n\atop p\,\text{prime}} p = \prod_{i=1}^{\pi(n)} p_i = p_{\pi(n)}\#,</math> | ||
where | where <math>\pi(n)</math> is the [[prime-counting function]] {{OEIS|id=A000720}}. This is equivalent to | ||
:<math>n\# = | :<math>n\# = | ||
| Line 42: | Line 41: | ||
\end{cases}</math> | \end{cases}</math> | ||
For example, 12# represents the product of | For example, <math>12\#</math> represents the product of all primes no greater than 12: | ||
:<math>12\# = 2 \times 3 \times 5 \times 7 \times 11= 2310.</math> | :<math>12\# = 2 \times 3 \times 5 \times 7 \times 11= 2310.</math> | ||
Since | Since <math>\pi(12)=5</math>, this can be calculated as: | ||
:<math>12\# = p_{\pi(12)}\# = p_5\# = 2310.</math> | :<math>12\# = p_{\pi(12)}\# = p_5\# = 2310.</math> | ||
Consider the first 12 values of | Consider the first 12 values of the sequence <math>n\#</math>: | ||
:1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, 2310. | :<math>1, 2, 6, 6, 30, 30, 210, 210, 210, 210, 2310, 2310.</math> | ||
We see that for composite | We see that for [[composite number|composite]] <math>n</math>, every term <math>n\#</math> is equal to the preceding term <math>(n-1)\#</math>. In the above example we have <math>12\# = p_5\# = 11\#</math> since 12 is composite. | ||
Primorials are related to the first [[Chebyshev function]] | Primorials are related to the first [[Chebyshev function]] <math>\vartheta(n)</math> by<ref>{{Mathworld | urlname=ChebyshevFunctions | title=Chebyshev Functions}}</ref> | ||
:<math>\ln (n\#) = \vartheta(n).</math | :<math>\ln (n\#) = \vartheta(n).</math> | ||
Since | Since <math>\vartheta(n)</math> asymptotically approaches <math>n</math> for large values of <math>n</math>, primorials therefore grow according to: | ||
:<math>n\# = e^{(1+ | :<math>n\# = e^{(1+o(1))n}.</math> | ||
== Properties == | |||
= | * For any <math>n, p \in \mathbb{N}</math>, <math>n\#=p\#</math> [[iff]] <math>p</math> is the largest prime such that <math>p\leq n</math>. | ||
* Let | * Let <math>p_k</math> be the <math>k</math>-th prime. Then <math>p_k\#</math> has exactly <math>2^k</math> divisors. | ||
* The sum of the reciprocal values of the primorial [[Convergent series|converges]] towards a constant | |||
:<math>\sum_{p\,\text{prime}} {1 \over p\#} = {1 \over 2} + {1 \over 6} + {1 \over 30} + \ldots = 0{.}7052301717918\ldots</math> | |||
:The [[Engel expansion]] of this number results in the sequence of the prime numbers {{OEIS|A064648}}. | |||
* Euclid's proof of his [[Euclid's theorem|theorem on the infinitude of primes]] can be paraphrased by saying that, for any prime <math>p</math>, the number <math>p\# +1</math> has a prime divisor not contained in the set of primes less than or equal to <math>p</math>. | |||
* | * <math>\lim_{n \to \infty}\sqrt[n]{n\#} = e </math>. For <math>n<10^{11}</math>, the values are smaller than <math>e</math>,<ref>L. Schoenfeld: ''Sharper bounds for the Chebyshev functions <math>\theta(x)</math> and <math>\psi(x)</math>''. II. ''Math. Comp.'' Vol. 34, No. 134 (1976) 337–360; p. 359.<br />Cited in: G. Robin: ''Estimation de la fonction de Tchebychef <math>\theta</math> sur le {{mvar|k}}-ieme nombre premier et grandes valeurs de la fonction <math>\omega(n)</math>, nombre de diviseurs premiers de {{mvar|n}}''. ''Acta Arithm.'' XLII (1983) 367–389 ([http://matwbn.icm.edu.pl/ksiazki/aa/aa42/aa4242.pdf PDF 731KB]); p. 371</ref> but for larger <math>n</math>, the values of the function exceed <math>e</math> and oscillate infinitely around <math>e</math> later on. | ||
* | * Since the [[binomial coefficient]] <math>\tbinom{2n}{n}</math> is divisible by every prime between <math>n+1</math> and <math>2n</math>, and since <math>\tbinom{2n}{n} \leq 4^{n}</math>, we have the following upper bound:<ref>G. H. Hardy, E. M. Wright: ''An Introduction to the Theory of Numbers''. 4th Edition. Oxford University Press, Oxford 1975. {{ISBN|0-19-853310-1}}.<br />Theorem 415, p. 341</ref> <math>n\#\leq 4^n</math>. | ||
**Using elementary methods, Denis Hanson showed that <math>n\#\leq 3^n</math>.<ref>{{Cite journal |last=Hanson |first=Denis |date=March 1972 |title=On the Product of the Primes |journal=[[Canadian Mathematical Bulletin]] |volume=15 |issue=1 |pages=33–37 |doi=10.4153/cmb-1972-007-7|doi-access=free |issn=0008-4395}}</ref> | |||
** Using more advanced methods, Rosser and Schoenfeld showed that <math>n\#\leq (2.763)^n</math>.<ref name="RosserSchoenfeld1962">{{Cite journal |last1=Rosser |first1=J. Barkley |last2=Schoenfeld |first2=Lowell |date=1962-03-01 |title=Approximate formulas for some functions of prime numbers |journal=Illinois Journal of Mathematics |volume=6 |issue=1 |doi=10.1215/ijm/1255631807 |issn=0019-2082|doi-access=free }}</ref> Furthermore, they showed that for <math>n \ge 563</math>, <math>n\#\geq (2.22)^n</math>.<ref name="RosserSchoenfeld1962"/> | |||
== Applications | == Applications == | ||
Primorials play a role in the search for [[Primes in arithmetic progression|prime numbers in additive arithmetic progressions]]. For instance, | Primorials play a role in the search for [[Primes in arithmetic progression|prime numbers in additive arithmetic progressions]]. For instance, | ||
<math>2 236 133 941+23\#</math> results in a prime, beginning a sequence of thirteen primes found by repeatedly adding <math>23\#</math>, and ending with <math>5136341251</math>. <math>23\#</math> is also the common difference in arithmetic progressions of fifteen and sixteen primes. | |||
Every [[highly composite number]] is a product of primorials | Every [[highly composite number]] is a product of primorials.<ref>{{Cite OEIS|sequencenumber=A002182|name=Highly composite numbers}}</ref> | ||
Primorials are all [[square-free integer]]s, and each one has more distinct [[prime factor]]s than any number smaller than it. For each primorial | Primorials are all [[square-free integer]]s, and each one has more distinct [[prime factor]]s than any number smaller than it. For each primorial <math>n</math>, the fraction <math>\varphi(n)/n</math> is smaller than for any positive integer less than <math>n</math>, where <math>\varphi</math> 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. | 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. | ||
| Line 103: | Line 94: | ||
Every primorial is a [[sparsely totient number]].<ref>{{cite journal | last1=Masser | first1=D.W. | author1-link=David Masser | last2=Shiu | first2=P. | title=On sparsely totient numbers | journal=Pacific Journal of Mathematics | volume=121 | pages=407–426 | year=1986 | issue=2 | issn=0030-8730 | zbl=0538.10006 | url=http://projecteuclid.org/euclid.pjm/1102702441 | mr=819198 | doi=10.2140/pjm.1986.121.407| doi-access=free }}</ref> | Every primorial is a [[sparsely totient number]].<ref>{{cite journal | last1=Masser | first1=D.W. | author1-link=David Masser | last2=Shiu | first2=P. | title=On sparsely totient numbers | journal=Pacific Journal of Mathematics | volume=121 | pages=407–426 | year=1986 | issue=2 | issn=0030-8730 | zbl=0538.10006 | url=http://projecteuclid.org/euclid.pjm/1102702441 | mr=819198 | doi=10.2140/pjm.1986.121.407| doi-access=free }}</ref> | ||
== Compositorial == | |||
The {{mvar|n}}-compositorial of a [[composite number]] {{mvar|n}} is the product of all composite numbers up to and including {{mvar|n}}.<ref name="Wells 2011">{{cite book|last1=Wells|first1=David|author-link=David G. Wells|title=Prime Numbers: The Most Mysterious Figures in Math|date=2011|publisher=John Wiley & Sons|isbn=9781118045718|page=29|url=https://books.google.com/books?id=1MTcYrbTdsUC&q=Compositorial+primorial&pg=PA29|access-date=16 March 2016}}</ref> The {{mvar|n}}-compositorial is equal to the {{mvar|n}}-[[factorial]] divided by the primorial {{math|''n''#}}. The compositorials are | The {{mvar|n}}-compositorial of a [[composite number]] {{mvar|n}} is the product of all composite numbers up to and including {{mvar|n}}.<ref name="Wells 2011">{{cite book|last1=Wells|first1=David|author-link=David G. Wells|title=Prime Numbers: The Most Mysterious Figures in Math|date=2011|publisher=John Wiley & Sons|isbn=9781118045718|page=29|url=https://books.google.com/books?id=1MTcYrbTdsUC&q=Compositorial+primorial&pg=PA29|access-date=16 March 2016}}</ref> The {{mvar|n}}-compositorial is equal to the {{mvar|n}}-[[factorial]] divided by the primorial {{math|''n''#}}. The compositorials are | ||
:[[1 (number)|1]], [[4 (number)|4]], [[24 (number)|24]], [[192 (number)|192]], [[1728 (number)|1728]], {{val|17280}}, {{val|207360}}, {{val|2903040}}, {{val|43545600}}, {{val|696729600}}, ...<ref>{{Cite OEIS|sequencenumber=A036691|name=Compositorial numbers: product of first n composite numbers.}}</ref> | :[[1 (number)|1]], [[4 (number)|4]], [[24 (number)|24]], [[192 (number)|192]], [[1728 (number)|1728]], {{val|17280}}, {{val|207360}}, {{val|2903040}}, {{val|43545600}}, {{val|696729600}}, ...<ref>{{Cite OEIS|sequencenumber=A036691|name=Compositorial numbers: product of first n composite numbers.}}</ref> | ||
== | == Riemann zeta function == | ||
The [[Riemann zeta function]] at positive integers greater than one can be expressed<ref name=mezo/> by using the primorial function and [[Jordan's totient function]] | The [[Riemann zeta function]] at positive integers greater than one can be expressed<ref name=mezo/> by using the primorial function and [[Jordan's totient function]] <math>J_k</math>: | ||
: <math> \zeta(k)=\frac{2^k}{2^k-1}+\sum_{r=2}^\infty\frac{(p_{r-1}\#)^k}{J_k(p_r\#)},\quad k | : <math> \zeta(k)=\frac{2^k}{2^k-1}+\sum_{r=2}^\infty\frac{(p_{r-1}\#)^k}{J_k(p_r\#)},\quad k\in\Z_{>1} </math>. | ||
== Table of primorials == | == Table of primorials == | ||
| Line 420: | Line 413: | ||
== Notes == | == Notes == | ||
<references> | |||
<ref name=mezo> | <ref name=mezo> | ||
{{Cite journal | {{Cite journal | ||
| Line 431: | Line 424: | ||
| year = 2013 | | year = 2013 | ||
}}</ref> | }}</ref> | ||
</references> | |||
== References == | == References == | ||
Latest revision as of 13:33, 17 December 2025
Template:Short description Script error: No such module "Distinguish".
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.
Definition for prime numbers
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]
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:
Properties
- For any , iff is the largest prime such that .
- 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 upper bound:[6] .
Applications
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 positive integer less than , 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]
Compositorial
The Template:Mvar-compositorial of a composite number Template:Mvar is the product of all composite numbers up to and including Template:Mvar.[11] The Template:Mvar-compositorial is equal to the Template:Mvar-factorial divided by the primorial n#Script error: No such module "Check for unknown parameters".. The compositorials are
- 1, 4, 24, 192, 1728, Script error: No such module "val"., Script error: No such module "val"., Script error: No such module "val"., Script error: No such module "val"., Script error: No such module "val"., ...[12]
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 :
- .
Table of primorials
| Template:Mvar | n#Script error: No such module "Check for unknown parameters". | Template:Mvar | pn#Script error: No such module "Check for unknown parameters". | Primorial prime? | |
|---|---|---|---|---|---|
| pn# + 1[14] | pn# − 1[15] | ||||
| 0 | 1 | — | 1 | Yes | No |
| 1 | 1 | 2 | 2 | Yes | No |
| 2 | 2 | 3 | 6 | Yes | Yes |
| 3 | 6 | 5 | 30 | Yes | Yes |
| 4 | 6 | 7 | 210 | Yes | No |
| 5 | 30 | 11 | Script error: No such module "val". | Yes | Yes |
| 6 | 30 | 13 | Script error: No such module "val". | No | Yes |
| 7 | 210 | 17 | Script error: No such module "val". | No | No |
| 8 | 210 | 19 | Script error: No such module "val". | No | No |
| 9 | 210 | 23 | Script error: No such module "val". | No | No |
| 10 | 210 | 29 | Script error: No such module "val". | No | No |
| 11 | Script error: No such module "val". | 31 | Script error: No such module "val". | Yes | No |
| 12 | Script error: No such module "val". | 37 | Script error: No such module "val". | No | No |
| 13 | Script error: No such module "val". | 41 | Script error: No such module "val". | No | Yes |
| 14 | Script error: No such module "val". | 43 | Script error: No such module "val". | No | No |
| 15 | Script error: No such module "val". | 47 | Script error: No such module "val". | No | No |
| 16 | Script error: No such module "val". | 53 | Script error: No such module "val". | No | No |
| 17 | Script error: No such module "val". | 59 | Script error: No such module "val". | No | No |
| 18 | Script error: No such module "val". | 61 | Script error: No such module "val". | No | No |
| 19 | Script error: No such module "val". | 67 | Script error: No such module "val". | No | No |
| 20 | Script error: No such module "val". | 71 | Script error: No such module "val". | No | No |
| 21 | Script error: No such module "val". | 73 | Script error: No such module "val". | No | No |
| 22 | Script error: No such module "val". | 79 | Script error: No such module "val". | No | No |
| 23 | Script error: No such module "val". | 83 | Script error: No such module "val". | No | No |
| 24 | Script error: No such module "val". | 89 | Script error: No such module "val". | No | Yes |
| 25 | Script error: No such module "val". | 97 | Script error: No such module "val". | No | No |
| 26 | Script error: No such module "val". | 101 | Script error: No such module "val". | No | No |
| 27 | Script error: No such module "val". | 103 | Script error: No such module "val". | No | No |
| 28 | Script error: No such module "val". | 107 | Script error: No such module "val". | No | No |
| 29 | Script error: No such module "val". | 109 | Script error: No such module "val". | No | No |
| 30 | Script error: No such module "val". | 113 | Script error: No such module "val". | No | No |
| 31 | Script error: No such module "val". | 127 | Script error: No such module "val". | No | No |
| 32 | Script error: No such module "val". | 131 | Script error: No such module "val". | No | No |
| 33 | Script error: No such module "val". | 137 | Script error: No such module "val". | No | No |
| 34 | Script error: No such module "val". | 139 | Script error: No such module "val". | No | No |
| 35 | Script error: No such module "val". | 149 | Script error: No such module "val". | No | No |
| 36 | Script error: No such module "val". | 151 | Script error: No such module "val". | No | No |
| 37 | Script error: No such module "val". | 157 | Script error: No such module "val". | No | No |
| 38 | Script error: No such module "val". | 163 | Script error: No such module "val". | No | No |
| 39 | Script error: No such module "val". | 167 | Script error: No such module "val". | No | No |
| 40 | Script error: No such module "val". | 173 | Script error: No such module "val". | No | No |
See also
Notes
- ↑ a b Script error: No such module "Template wrapper".
- ↑ a b (sequence A002110 in the OEIS)
- ↑ (sequence A034386 in the OEIS)
- ↑ Script error: No such module "Template wrapper".
- ↑ L. Schoenfeld: Sharper bounds for the Chebyshev functions and . II. Math. Comp. Vol. 34, No. 134 (1976) 337–360; p. 359.
Cited in: G. Robin: Estimation de la fonction de Tchebychef sur le Template:Mvar-ieme nombre premier et grandes valeurs de la fonction , nombre de diviseurs premiers de Template:Mvar. Acta Arithm. XLII (1983) 367–389 (PDF 731KB); p. 371 - ↑ G. H. Hardy, E. M. Wright: An Introduction to the Theory of Numbers. 4th Edition. Oxford University Press, Oxford 1975. Template:ISBN.
Theorem 415, p. 341 - ↑ Script error: No such module "Citation/CS1".
- ↑ a b Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".Script error: No such module "Check for unknown parameters".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".Script error: No such module "Check for unknown parameters".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".Script error: No such module "Check for unknown parameters".
- ↑ Script error: No such module "citation/CS1".Script error: No such module "Check for unknown parameters".
References
- Script error: No such module "Citation/CS1".
- Spencer, Adam "Top 100" Number 59 part 4.