Prime number facts: building blocks of arithmetic and RSA

Prime number facts: every integer >1 factors uniquely into primes, there are infinitely many primes, and RSA uses them in cryptography.

Play this story's trivia (4 questions)

Prime number facts start with a simple idea that keeps showing up everywhere in mathematics: primes are the building blocks of the natural numbers. The reason is the fundamental theorem of arithmetic, which says every natural number greater than 1 is either prime itself or can be factorized as a product of primes, uniquely up to the order of the factors.

That statement gives primes their special place in number theory. It also explains why 1 is not considered a prime number: if 1 were prime, factorization into primes would not be unique.

Why every number breaks into primes

The fundamental theorem of arithmetic says every integer greater than 1 is either prime or can be represented uniquely as a product of prime numbers, up to the order of the factors. In one example, 1200 can be represented as a product of primes, and no matter how that is done, there will always be exactly four 2s, one 3, two 5s, and no other primes in the product.

That kind of uniqueness is what makes primes central in arithmetic. A composite number can be split into prime factors, but the prime factors themselves stay fixed in count, even when their order changes.

Are there infinitely many prime numbers?

Yes. There are infinitely many prime numbers.

The first result in that direction is the prime number theorem, proven at the end of the 19th century. It says roughly that the probability of a randomly chosen large number being prime is inversely proportional to its number of digits, that is, to its logarithm. In other words, primes keep coming, but they become thinner among larger numbers.

There are no known simple formula separates prime numbers from composite numbers. That makes primes both orderly and elusive: they obey a clean factorization law, yet they do not fall into a simple shortcut for telling them apart from every composite number.

Why primes matter in cryptography

Primes are used in several routines in information technology, especially public-key cryptography. This relies on the difficulty of factoring large numbers into their prime factors.

The idea that prime numbers had few applications outside of pure mathematics was shattered in the 1970s when public-key cryptography and the RSA cryptosystem were invented, using prime numbers as their basis. That move put primes at the center of a major practical use: securing information through number theory.

The link between primes and computing has also fueled a wider hunt for very large examples. The search for ever larger primes has generated interest outside mathematical circles, through the Great Internet Mersenne Prime Search and other distributed computing projects. Since 1951 all the largest known primes have been found using these tests on computers.

How many prime numbers are there under 100?

The first 25 prime numbers are exactly the prime numbers less than 100.

Those 25 primes are the starting point for seeing the pattern in action: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, and 97.

That short list hints at the broader story. Prime numbers begin with a tiny set, but they never run out, they control factorization, and they now help power cryptography as well as mathematical research.

Test yourself with the quiz and see how much of prime number facts you kept.

Quick quiz

How much do you know?

4 questions from this story. No sign-up. No XP: it's to see how much stuck.

Question 1 of 40 right
Easy
Primes are the basic building blocks of what?

Tap an answer

How players did

153 answers from Quizpato players to this story's questions, signed in or not. Here's what they got right:

The hardest: “Why isn't 1 prime?” (only 20% got it right)

  1. Primes are the basic building blocks of what? · 84% got it right
  2. Why isn't 1 prime? · 20% got it right
  3. Which field uses primes in public-key cryptography? · not enough answers yet
  4. Since 1951, what has found the largest known primes? · not enough answers yet

Want more Science trivia?

Keep playing — it's free and you don't need an account. Sign up only if you want to save your score and climb the leaderboard.

Play Science trivia

Sources

We write each story from these sources, and every quiz answer is checked automatically against them.

More stories