Everything Everywhere Daily: History, Science, Geography & More - Prime Numbers

Episode Date: January 16, 2022

Subscribe to the podcast!  https://podfollow.com/everythingeverywhere/ Prime numbers are considered to be the building blocks of mathematics. Every natural number can be broken down into the constit...uent prime numbers that make it up. Prime numbers have been known since antiquity and they are one of the most simple aspects of mathematics to understand, yet they remain at the center of some of the most puzzling problems in mathematics. Learn more about prime numbers, what we know about them, and what we don’t know, on this episode of Everything Everywhere Daily. -------------------------------- Associate Producers: Peter Bennett & Thor Thomsen   Become a supporter on Patreon: https://www.patreon.com/everythingeverywhere Discord Server: https://discord.gg/UkRUJFh   Instagram: https://www.instagram.com/everythingeverywhere/ Twitter: https://twitter.com/everywheretrip Reddit: https://www.reddit.com/r/EEDailyPodcast/ Website: https://everything-everywhere.com/everything-everywhere-daily-podcast/ Learn more about your ad choices. Visit megaphone.fm/adchoices

Transcript
Discussion (0)
Starting point is 00:00:00 Prime numbers are considered to be the building blocks of mathematics. Every natural number can be broken down into the constituent prime numbers that make it up. Prime numbers have been known since antiquity, and they're one of the simplest aspects of mathematics to understand. Yet, they remain at the center of some of the most puzzling problems in mathematics today. Learn more about prime numbers, what we know about them, and what we don't know, on this episode of Everything Everywhere Daily. Do you ever climb into bed ready to sleep only to have your mind start racing the moment your head hits the pillow? Thoughts bouncing around, replaying the day or jumping ahead to tomorrow? That is exactly why Catherine Nikolai created Nothing Much Happens.
Starting point is 00:00:49 Each episode is a gentle, cozy bedtime story where, well, nothing much happens. No drama, no tension, nothing you need to follow closely. Just soft narration, calming repetition, and soothing sensory details designed to help your mind slow down and your body relax. It's not about entertainment, it's about rest. And millions of listeners around the world use it every night to quiet their thoughts and finally fall asleep. If you've ever struggled to shut your brain off at night, this might be exactly what you've been missing. You can listen to Nothing Much Happens wherever you get your podcasts. Episodes are every Monday and Thursday. A prime number is a really simple concept,
Starting point is 00:01:31 so simple that it's one of the first mathematical concepts that was known to the ancients. A prime number is simply a number that is only divisible by itself and one. Any number that is not prime is called a composite number. And one is considered to be neither prime nor composite. So, for example, two, three, five, seven, and eleven are all prime numbers. Two is the only even prime number, as all even numbers are divisible by two. The first text we know of that references prime numbers is a mathematical text from ancient Egypt, which dates back to the year 1550 BC. The first person to explicitly talk about prime numbers as prime numbers was the ancient Greek mathematician Euclid.
Starting point is 00:02:09 Euclid proved two important theorems that are central to prime numbers. The first was that there are an infinite number. of prime numbers. This is actually pretty easy to prove, so I'll just do it right here. Assume for a moment that there are only a finite number of primes. If you multiply all the primes together and add one, you have a number that is not evenly divisible by any other prime number. Hence, it must be a prime number. Because the original stipulation was that the number of primes was finite and we used them all, you found another that wasn't. So the number of primes is infinite. Any prime number calculated this way is known as a Euclid prime number. The first four
Starting point is 00:02:46 Euclid prime numbers are 3, 7, 31, and 211. The second closely related theorem is known as the fundamental theorem of arithmetic, also known as the prime factorization theorem. This states that any number can be broken down into component prime numbers. Let's take, for example, the number 108. 108 is even, so it can be divided by two. 108 equals two times 54. 54 can be broken down into 2 times 27. 27 is 3 times 9, 3 is a prime number, and of course 9 is 3 times 3 times 3. So the prime factorization of 108 would be 2 times 2 times 3 times 3 times 3. Or more simply, 2 squared times 3 cubed.
Starting point is 00:03:28 Every number can be broken down this way, which is why prime numbers are considered to be the building blocks of numbers. Even though there are an infinite number of primes, the density of prime numbers has to decrease over. time. Think of all the numbers on a number line and then remove all the numbers which are a multiple of a prime. So if we start with two, we remove all the numbers which are a multiple of two, a aka the even numbers. And then we go to three and remove any number which is a multiple of three. And then you go to five and remove all the numbers which are divisible by five and so on. This is actually an ancient technique called the sieve of Aristotthenes, which was named after a third century BC Greek mathematician named Aristotones of Cyrene. The density of prime numbers is
Starting point is 00:04:10 always decreasing. If we look at the first 10 numbers, we find that 40% of those are prime. If we look at the first 100 numbers, 25% are prime. The first thousand numbers, the percentage goes down to 16.8. And for the first billion numbers, it's just a bit over 5%. The number of prime numbers below any given number is the prime counting function. And the only way to accurately calculate it is to actually count the prime numbers by hand, or by computer. There is a theorem known as the prime number theorem, which approximates the prime counting function for any given number. The actual function which approximates the prime counting function has been improved and tweaked over time. But this brings us to one of the mysteries about prime numbers. The Riemann
Starting point is 00:04:56 hypothesis. Explaining the Riemann hypothesis is far beyond the scope of this podcast, and quite frankly, probably not best explained on a podcast at all. However, it has to do with the distribution of prime numbers, and it's become what most people would probably consider the greatest unsolved problem in mathematics. In fact, there is a million-dollar bounty on the problem which will be given to whoever can prove it. Proving the Riemann hypothesis would have enormous implications for the world of mathematics and many other conjectures which depend on it being proven true. All of this is important because of one simple fact. There is no way to predict prime numbers, and there is no easy way to tell if a number is prime. If you are given some very large numbers, you're given some very large
Starting point is 00:05:37 number. The only way to know that it is a prime number would be to calculate it. There are different ways for how you can run a calculation to check to see if a number is prime, but they're all computationally intensive. The best system developed so far was announced in 2002 by a team from the Indian Institute of Technology Kampur, known as the Agrawal-Kaiol-Saxena primality test, or AKS primality test. It runs in what's known as polynomal time. It still isn't easy, but it's far easier than what it was. There are some special types of prime numbers. One of the most interesting are called Mersenne Primes. Mersenne Primes are all of the form 2 to the N minus 1. You're probably familiar with many of the powers of 2 from computers and storage, 128, 256, 512, 1024, etc. For example,
Starting point is 00:06:26 2 to the power 5 is 32, minus 1 is 31, which is a prime number, which makes 31 a Mersen prime. There are actually very few Mersenne primes, 51 so far to be precise, and it isn't even known if the number of Mersenne primes is finite or infinite. However, what makes them special is that this particular category of prime number can be checked relatively quickly via a method called the Lucas Lamer primality test. The implication of this is that if you want to find the largest known prime number, the easiest way to do it is to check for Mersen primes. Mersenne Primes were often used as a test for brand new supercomputers to show off their power. There is a distributed computing project known as the Great Internet Mersenne Prime Search, or GIMPS, where thousands of people contribute computing power to look for the next largest prime number. If you ever see a story on the news about the discovery of the largest prime number,
Starting point is 00:07:21 it's almost always going to be a Mersen Prime. The largest known prime number was discovered in 2018 by the GIMPS project. The number is, two raised to the power of 82,589,993 minus 1. That ginormous number, if written out in its entirety, would have 24,862,048 digits. Just to put that into perspective, the average book will have about half a million characters if you include spaces. So if you printed that number out without using any commas to format the number, it would take about 50,000. books, depending, of course, on the font.
Starting point is 00:08:03 The entire number written out in an ASCII file can be found online and downloaded. The plain text file is 13.64 megabytes, and I actually downloaded it when researching the show, and yeah, it's just a file with a whole bunch of numbers. I should also note that there are ways to test if a number is prime using probability. Pierre-Fermott discovered something known as Vermont's little theorem, not to be confused with his last theorem, which can check to see if a certain number is prime. The problem is, there are composite numbers that can also pass the test. These composite numbers are known as pseudoprimes.
Starting point is 00:08:39 I actually did a project on it from Mazlil theorem in my Mathematic Senior Seminar, and I wanted to give a shout out to Professor Stan Wagon, who taught the course and I know listens to the show. And he was also the guy who created the bicycle with square wheels that can ride smoothly. And if you want to know how that works, just do a search for it. By now you might be wondering, what is the point of all this? Sure, maybe prime numbers are interesting to a mathematician, but do they have any application beyond pure mathematics? For the longest time, most mathematicians didn't think there was any real application. The noted 20th century mathematician David Hilbert worked on number theory precisely because
Starting point is 00:09:15 he thought it was of no military value. Well, it turns out that prime numbers have an extremely important practical use. Cryptography. In 1977, three cryptographers from MIT, Ron Rivest, Adi Shamir, and Leonard Adelman announced a new algorithm called RSA. This was the birth of public key cryptography. The heart of the system was multiplying two large prime numbers together. Multiplying two large numbers is actually really easy. Any computer can do it quickly. Doing the opposite, finding the prime factors for a large number is really, really hard,
Starting point is 00:09:51 much harder than determining if a number is prime. This is called a trap door function. It's easy to calculate, but very hard to do in reverse. Prime numbers are also central to many cryptocurrencies for the creation of public and private keys. So, prime numbers have a dual nature. They are random and unpredictable, yet they also follow rules and have a type of predictability. They were known to the ancients who discovered the basics of how they work, yet they still have mysteries that befuddle the best mathematicians today.
Starting point is 00:10:22 And even though prime numbers were once thought to have no practical application, they are now critical to the functioning of the modern internet. Everything Everywhere Daily is an Airwave Media podcast. The associate producers are Thor Thompson and Peter Bennett. If you'd like to support the show, you can do so over at patreon.com. And remember, if you leave a review or send in a question, you two can have it read on the show.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.