Skip to main content

Prime Numbers

 Prime Numbers 

What is the first thing that comes to your mind when someone says prime number? A number that is divisible by nothing except 1 and itself. Well, that is the definition of prime numbers but is there something in primes beyond the indivisibility. It turns out the answer is yes. Any natural number from the number line can be represented as the product of the primes. It seems so obvious but it implies that all the other numbers are just the result of primes or prime are the original numbers and all others are just the copy of prime. Due to this reason I like to think of prime as the building block of the number line, they are like the atoms of our body. One might ask if primes are so important what has been done to understand the primes and do we actually know all properties of primes? No, we don’t but there are some formulas to approximate the number of primes upto a certain number N. One of such formula, which is also the first such formula, to approximate the primes is ฯ€(๐‘) =N/logN. Let X be the actual number of prime upto N. Then, l๐‘–๐‘š ๐‘ → ∞ . ๐‘‹/(๐‘/๐‘™๐‘œ๐‘”๐‘) = 1 

Let’s use this formula to calculate the number of prime upto N. 

Put N=100, then 100/๐‘™๐‘œ๐‘”100 = 21. 7

 And the real value of prime (X) is 25.

Let’s try for when N=10000 

10000/๐‘™๐‘œ๐‘”10000 = 1085. 7 whereas the X in this case is 1229.  The difference seems to be increasing but the ratio of the difference and the N is decreasing. The ratio of percentage decreases from 3.28% to 1.43% as N goes from 100 to 10000. Above shown formula gives a good approximation but there is another formula which gives a far better approximation and is most used by mathematicians to approximate the number of primes.




As it requires calculus to understand this, we will not be going through with this. The logarithmic formula also shows the distribution of prime as N gets bigger. From the formula, when N is large enough, the probability of a random integer less than N being prime is approximately 1/logN. Using this, we can figure out that an integer with y digit is about twice more likely to be a prime than an integer with 2y digits. For example:

When the integer is 500 digit long, the probability of it being a prime is . 1/ 500๐‘™๐‘œ๐‘”10.

 And, when the integer is 1000 digit long, the probability of being a prime is 1/1000๐‘™๐‘œ๐‘”10. 

As we can see the probability is dependent on the digit of the number so we can draw a conclusion that prime gets more and more scarce when N approaches infinity.


-Navaraj Pandey

Comments

Post a Comment

Popular posts from this blog

The Woman Behind the First Manned “Journey to the Moon”

  Margaret Hamilton  The Woman Behind the First Manned “Journey to the Moon”   Background  “We choose to go to the Moon''. These words by the then US president John F. Kennedy, addressing the crowd of prestigious Rice University in 1962, was no sort of relief for Americans who feared the overwhelming Soviet Union and the US falling short in what was to be ‘first’ to land man on the moon. Soon after, the courageous and ambitious ‘Journey to the moon’ had its first dedicated mission ‘The Apollo Program’ which despite initially being destined for a trip to Mercury shifted its ambitions a little close to the earth, the lunar surface. The Apollo program, by NASA, was successful in landing the first Manned spacecraft on the Lunar surface just 7 years after its rejuvenation under President John F. Kennedy. The first Lunar module landed the likes of Neil Armstrong, Micheal Collins, and Edwin Aldrin but little do they know the mind behind the software that orchestrated the mo...

Understanding Prime Numbers

  One of the most intriguing things in Mathematics is Prime Numbers. To put it in simple words, the numbers are all out in the "number world" all by themselves. They have no relatives i.e. factors other than themselves and the "universal factor" called 1. So, what's really unique about prime numbers?       Over the history of Mathematics and especially Number Theory, many theorems based on prime numbers have been proposed. The best thing about prime numbers is that they are the building block of the whole number system. If you add two prime numbers, it always gives an even number greater than 2. Likewise, if you were to pull off a number line so infinitely long then most of the numbers except for the prime number themselves, would just be the multiple of prime numbers or in other words products of prime numbers. To put into Euclid's own words, " Every natural number can be represented as a product of prime numbers. "     Here's a fun activity f...