ArticleslgStudy

mathematics

Primorial

Primorial is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Primorial rather than just read about it. In short: In mathematics, and more particularly in number theory, primorial, denoted by " p n # {\displaystyle p_{n}\#} ", 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"…

Primorial — main illustration
Primorial — illustration

Key takeaways

  • Primorial belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Primorial to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Primorial from memory before moving on to harder problems.

Reference excerpt

In mathematics, and more particularly in number theory, primorial, denoted by " p n # {\displaystyle p_{n}\#} ", 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 p n # {\displaystyle p_{n}\#} is defined as the product of the first n {\displaystyle n} primes:

p n # = ∏ k = 1 n p k , {\displaystyle p_{n}\#=\prod _{k=1}^{n}p_{k},}

where p k {\displaystyle p_{k}} is the ⁠ k {\displaystyle k} ⁠th prime number. For instance, p 5 # {\displaystyle p_{5}\#} signifies the product of the first 5 primes:

p 5 # = 2 × 3 × 5 × 7 × 11 = 2310. {\displaystyle p_{5}\#=2\times 3\times 5\times 7\times 11=2310.}

The first few primorials p n # {\displaystyle p_{n}\#} are:

1, 2, 6, 30, 210, 2310, 30030, 510510, 9699690... (sequence A002110 in the OEIS). Asymptotically, primorials grow according to

p n # = e ( 1 + o ( 1 ) ) n log ⁡ n . {\displaystyle p_{n}\#=e^{(1+o(1))n\log n}.}

Definition for natural numbers

In general, for a positive integer ⁠ n {\displaystyle n} ⁠, its primorial n # {\displaystyle n\#} is the product of all primes less than or equal to ⁠ n {\displaystyle n} ⁠; that is,

n # = ∏ p ≤ n p prime p = ∏ i = 1 π ( n ) p i = p π ( n ) # , {\displaystyle n\#=\prod _{p\,\leq \,n \atop p\,{\text{prime}}}p=\prod _{i=1}^{\pi (n)}p_{i}=p_{\pi (n)}\#,}

where π ( n ) {\displaystyle \pi (n)} is the prime-counting function (sequence A000720 in the OEIS). This is equivalent to

n # = { 1 if n = 0 , 1 ( n − 1 ) # × n if n is prime ( n − 1 ) # if n is composite . {\displaystyle n\#={\begin{cases}1&{\text{if }}n=0,\ 1\\(n-1)\#\times n&{\text{if }}n{\text{ is prime}}\\(n-1)\#&{\text{if }}n{\text{ is composite}}.\end{cases}}}

For example, 12 # {\displaystyle 12\#} represents the product of all primes no greater than ⁠ 12 {\displaystyle 12} ⁠:

12 # = 2 × 3 × 5 × 7 × 11 = 2310. {\displaystyle 12\#=2\times 3\times 5\times 7\times 11=2310.}

Since π ( 12 ) = 5 {\displaystyle \pi (12)=5} , this can be calculated as:

12 # = p π ( 12 ) # = p 5 # = 2310. {\displaystyle 12\#=p_{\pi (12)}\#=p_{5}\#=2310.}

… excerpt ends here. Continue reading the full article.

Illustrations

Primorial: n
        !
      
    
    {\displaystyle n!}
  
 (yellow) as a function of ⁠
  
    
      
        n
      
    
    {\displaystyle n}
  
⁠, compared to 
  
    
      
        n
        #
      
    
    {\displaystyle n\#}
  
 (red), plotted logarithmically.
n ! {\displaystyle n!} (yellow) as a function of ⁠ n {\displaystyle n} ⁠, compared to n # {\displaystyle n\#} (red), plotted logarithmically.

Worked examples

Example 1 — a first encounter with Primorial

Start with the simplest possible case. Write down what Primorial claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Primorial before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Primorial ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Primorial

In research
Primorial appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Primorial in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Primorial is common in secondary-school and first-year university syllabi. It links to neighbouring topics Factorial and binomial topics, Integer sequences, Prime numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Primorial outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Primorial in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Primorial means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Primorial out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Primorial in simple terms?

In mathematics, and more particularly in number theory, primorial, denoted by " p n # {\displaystyle p_{n}\#} ", 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 nu…

Why does Primorial matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Primorial?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Primorial.

Tags

  • Factorial and binomial topics
  • Integer sequences
  • Prime numbers

Keep exploring