Safekipedia

Primorial

Adapted from Wikipedia ยท Discoverer experience

A mathematical graph showing the primorial function, which helps explore special number patterns.

In mathematics, especially in number theory, something called primorial is very interesting. We write it as " p n # " and it works much like the factorial function. But instead of multiplying every whole number, primorial only multiplies the special numbers called prime numbers.

The word "primorial" was created by a person named Harvey Dubner. It combines ideas about primes with the idea behind "factorial," just like how "factorial" connects to factors. This helps mathematicians study numbers in new and fun ways.

Definition for prime numbers

The primorial, written as (p_n#), is a special way to multiply numbers. Instead of multiplying every number like we do in a factorial, we only multiply the first few prime numbers. Prime numbers are numbers greater than 1 that have no divisors other than 1 and themselves, like 2, 3, 5, 7, and so on.

pn# as a function of n, plotted logarithmically.

For example, the primorial (p_5#) means we multiply the first 5 prime numbers:
2 ร— 3 ร— 5 ร— 7 ร— 11 = 2310.

The first few primorials are:
/wiki/1_(number), /wiki/2_(number), /wiki/6_(number), /wiki/30_(number), /wiki/210_(number), /wiki/2310_(number), 30030, 510510, 9699690... (sequence A002110 in the OEIS).

Definition for natural numbers

n ! {\displaystyle n!} (yellow) as a function of โ  n {\displaystyle n} โ , compared to n # {\displaystyle n\#} (red), both plotted logarithmically.

For any whole number n, its primorial, written as n#, is the product of all prime numbers that are less than or equal to n.

For example, the primorial of 12, written as 12#, is calculated by multiplying all the prime numbers up to 12: 2 ร— 3 ร— 5 ร— 7 ร— 11 = 2310.

When n is not a prime number, the primorial n# is the same as the primorial of the number before it, (n-1)#.

Properties

The primorial is a special kind of number, much like a factorial, but it only uses prime numbers. Imagine you have a list of prime numbers โ€” these are numbers greater than 1 that can only be divided by 1 and themselves, like 2, 3, 5, 7, and so on. A primorial multiplies these prime numbers together up to a certain point.

For example, if we take the first three prime numbers (2, 3, and 5), their primorial would be 2 ร— 3 ร— 5 = 30. This special number has interesting patterns and connections to other areas of mathematics. One cool fact is that the sum of the reciprocals (or one divided by each primorial) gets closer and closer to a specific number, just like adding smaller and smaller pieces together.

Table of primorials

nn#pnpn#Primorial prime?
pn# + 1pn# โˆ’ 1
01โ€”N/a1YesNo
1122YesNo
2236YesYes
36530YesYes
467210YesNo
530112310YesYes
6301330030NoYes
721017510510NoNo
8210199699690NoNo
921023223092870NoNo
10210296469693230NoNo
11231031200560490130YesNo
122310377420738134810NoNo
133003041304250263527210NoYes
14300304313082761331670030NoNo
153003047614889782588491410NoNo
16300305332589158477190044730NoNo
17510510591922760350154212639070NoNo
1851051061117288381359406970983270NoNo
199699690677858321551080267055879090NoNo
20969969071557940830126698960967415390NoNo
2196996907340729680599249024150621323470NoNo
229699690793217644767340672907899084554130NoNo
2322309287083267064515689275851355624017992790NoNo
242230928708923768741896345550770650537601358310NoYes
25223092870972305567963945518424753102147331756070NoNo
26223092870101232862364358497360900063316880507363070NoNo
2722309287010323984823528925228172706521638692258396210NoNo
282230928701072566376117594999414479597815340071648394470NoNo
296469693230109279734996817854936178276161872067809674997230NoNo
30646969323011331610054640417607788145206291543662493274686990NoNo
312005604901301274014476939333036189094441199026045136645885247730NoNo
32200560490130131525896479052627740771371797072411912900610967452630NoNo
3320056049013013772047817630210000485677936198920432067383702541010310NoNo
3420056049013013910014646650599190067509233131649940057366334653200433090NoNo
352005604901301491492182350939279320058875736615841068547583863326864530410NoNo
36200560490130151225319534991831177328890236228992001350685163362356544091910NoNo
37742073813481015735375166993717494840635767087951744212057570647889977422429870NoNo
3874207381348101635766152219975951659023630035336134306565384015606066319856068810NoNo
397420738134810167962947420735983927056946215901134429196419130606213075415963491270NoNo
407420738134810173166589903787325219380851695350896256250980509594874862046961683989710NoNo

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Primorial, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.