Who’s exploring?

PLAY · ARTICLE

Prime Numbers: The Atoms of Arithmetic

Every whole number is built from primes multiplied together - here is how to hunt them with a 2,300-year-old sieve.

Colourful wooden abacus beads

The building blocks

A prime number is a whole number greater than 1 that can be divided evenly only by 1 and itself: 2, 3, 5, 7, 11, 13 and so on. Every other whole number is a product of primes - 12 is 2 x 2 x 3, 30 is 2 x 3 x 5 - in exactly one way, which is why mathematicians call primes the atoms of arithmetic. The number 1 is politely excluded from being prime, precisely so that this unique building recipe stays true.

Up to 50 there are exactly 15 primes: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43 and 47. The only even prime is 2; every other even number is divisible by 2 and so cannot be prime. Already the hunt has a shape: primes thin out as numbers grow, but - as we will see - they never stop.

The sieve and Euclid's proof

The Greek mathematician Eratosthenes devised the classic prime-finding machine around 200 BC. Write the numbers to 50, keep 2 and cross out its multiples, keep 3 and cross out its multiples, then 5, then 7 - and you can stop there, because 7 is the largest prime below the square root of 50. Every survivor is prime. The sieve works because any composite number up to 50 must have a factor no bigger than its square root.

And do primes ever run out? Euclid proved they do not, with one of the most beautiful arguments in mathematics. Multiply any finite list of primes together and add 1: 2 x 3 x 5 x 7 x 11 x 13 + 1 = 30,031. That number is not divisible by any prime on your list - it always leaves remainder 1 - so it must contain a new prime factor (in fact 30,031 = 59 x 509). Any list of primes can be extended, so the list is endless.

Try it yourself

Run the sieve up to 100 and count the survivors: there are 25 primes. Then hunt for twin primes - pairs of primes differing by 2, like (3, 5), (11, 13) and (29, 31). How many twin pairs can you find below 100? (There are eight.)

Nobody knows whether the twin primes ever run out - it is one of the most famous unsolved problems in mathematics, simple enough to explain in a paragraph and hard enough to have resisted centuries of effort. The frontier of maths is closer than you think.

Keep reading? Spark picked your next article.

When Patterns Break: The Circle That Refused to DoubleMore about Maths and logic

More in Maths and logic

— forget which articles you’ve read on this device.

Sources, credits & transparency

Development reference photograph · Unsplash. Reference use; provenance and final image approval pending; see public/images/manifest.json.

Created with AI assistance as part of a bulk seed pack approved by the SparkKindly site owner on 15 November 2026. No independent specialist review is claimed.

Report a mistake on this page