Mathematics Atlas

How Proof Is Made
Sign In
Text size
100%
Theme
Concept

Prime Number

Also Known As Prime
Number Theory

A natural number greater than 1 with no positive divisors other than 1 and itself: 2, 3, 5, 7, 11 and so on. Every other whole number greater than 1 can be built by multiplying primes together in exactly one way (order aside), the fundamental theorem of arithmetic, which is why primes are often called the atoms of arithmetic. Euclid gave the first surviving proof that they never run out, in Book IX of the Elements around 300 BCE, an argument students still meet essentially unchanged today (the atlas carries this as its own theorem, Infinitude of Primes). Eratosthenes' sieve, an ancient method of systematically striking out multiples to leave only primes behind, is still taught as the simplest way to find every prime below a given bound. Their apparent randomness within a rigid rule (no formula predicts where the next one falls, yet their distribution follows precise statistical laws) has made them a central object of number theory ever since, and, in a development none of the ancient sources could have anticipated, the practical difficulty of factoring a large number back into its prime components is what modern RSA encryption relies on to keep data secure.

Facts
Origin Year
300 BCE 1
The concept itself was almost certainly informally known earlier; 300 BCE marks Euclid's Elements, the earliest surviving rigorous treatment.
Learn More
The Atoms of Arithmetic

This article records tradition as it has been passed down and reported. Its sources are not yet part of the atlas's verified catalogue.

Chemistry has its periodic table because every substance breaks down into a fixed, finite list of elements combined in different ratios. Arithmetic has an equivalent, and it is older by more than two thousand years: every whole number greater than one is built from primes, multiplied together, in exactly one way. Twelve is two times two times three and nothing else; there is no second recipe. Euclid proved, in Book IX of the Elements, that the supply of these atoms never runs out, with an argument that remains one of the cleanest in all of mathematics: assume there is a longest possible list of primes, multiply them all together and add one, and the new number must either be prime itself or divisible by a prime not on the supposed complete list, either way contradicting the assumption. What Euclid could not have anticipated is how strange the primes would turn out to be at larger scales. No formula predicts where the next one falls; twin primes, pairs two apart like 11 and 13, keep appearing at every scale mathematicians have checked, and nobody has proved they do not eventually stop (the atlas's own Twin Prime Conjecture is exactly that unresolved question). And in the twentieth century, the very unpredictability that made primes a matter of pure curiosity for two millennia became the foundation of a very practical problem: modern encryption relies on the fact that multiplying two large primes together is easy, and working backward from the product to find the original primes is, for now, hard enough to keep secrets safe.

Why the Internet Trusts a Hard Problem

This article records tradition as it has been passed down and reported. Its sources are not yet part of the atlas's verified catalogue.

RSA encryption, the scheme quietly securing an enormous share of the traffic moving across the internet, rests on an asymmetry that has nothing to do with computers and everything to do with a fact Euclid would have recognized: multiplying two large prime numbers together is fast, but taking the resulting product and working backward to find the two primes that made it is, for numbers large enough, so slow that no known method does it in any practical amount of time. A computer can multiply two three-hundred-digit primes in a fraction of a second; recovering those same two primes from the product alone, with every classical computer on earth working together, could take longer than the universe has existed. RSA's public-key system builds a lock directly out of that gap: the product of the two primes is published openly as part of the public key, doing no harm because reversing it is infeasible, while the two primes themselves stay private and let their owner, and only their owner, decrypt what the public key was used to encrypt. It is worth being honest about the asymmetry's limits rather than treating it as permanent: a sufficiently large quantum computer, running an algorithm published by Peter Shor in 1994, could factor these products efficiently, which is why cryptographers are already building the next generation of schemes that do not depend on this particular hard problem holding forever.

FAQs

Is 1 a prime number?

No; a prime needs exactly two divisors, and 1 has only one.

No, by the standard modern definition a prime number must have exactly two positive divisors, 1 and itself, and 1 has only one. Excluding 1 also keeps the fundamental theorem of arithmetic true as stated: every integer greater than 1 factors into primes in exactly one way, which would fail if 1 counted as a prime, since any number could then pick up extra factors of 1 without changing its value.
Connections

Associated With

Euclid, Mathematicians

Elements Book IX proves the primes never run out, c. 300 BCE.

Source MacTutor History of Mathematics Archive

The theorem states every integer factors into primes in an essentially unique way, so its statement is the prime number concept applied.

Additional Source MacTutor History of Mathematics ArchiveHistory Topics: Prime numbers

The atlas's own theorem proving there are infinitely many primes.

Source Mathematics Atlas Long-Form Articles, First Edition
Prime Number Theorem, Theorems

The theorem quantifies how the density of prime numbers thins out among the integers.

Additional Source Prime Number Theorem (Wikipedia)lead paragraph

The atlas's own still-open conjecture about pairs of primes two apart.

Source Mathematics Atlas Long-Form Articles, First Edition

Attributed To

Euclid, Mathematicians
Source Wikipedia: Prime Number

In Branch

Source Mathematics Atlas Long-Form Articles, First Edition

Long-Form Articles

Source Mathematics Atlas Long-Form Articles, First Edition
Source Mathematics Atlas Long-Form Articles, First Edition
Sources
1. MacTutor History of Mathematics Archive
University of St Andrews, School of Mathematics and StatisticsAssociated With: Fundamental Theorem of Arithmetic, History Topics: Prime numbers
Quote, Associated With: Fundamental Theorem of Arithmetic, History Topics: Prime numbers
Euclid also gives a proof of the Fundamental Theorem of Arithmetic: Every integer can be written as a product of primes in an essentially unique way.
View the Source
Wikipedia: Prime Number
Wikimedia Foundation
  • Definition and examples
    A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers.
  • Attributed To: Euclid, Lead section
    There are infinitely many primes, as demonstrated by Euclid around 300 BC.
View the Source
Prime Number Theorem (Wikipedia)
Wikimedia FoundationAssociated With: Prime Number Theorem, lead paragraph
Quote, Associated With: Prime Number Theorem, lead paragraph
It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying the rate at which this occurs.
View the Source

Take a Related Quiz

Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.