T TestsWorld
Lesson 5 of 11 Prime and composite numbers ⏱ 5 min

The Sieve of Eratosthenes

🤔
Think first
Can you find every prime up to 100 without dividing a single number?
🎯 In this lesson you'll learn
  • ✓Use the Sieve of Eratosthenes
  • ✓Spot patterns among primes

Listing all primes up to 100:

  1. Cross out 1 (neither prime nor composite).
  2. Circle 2, then cross out every multiple of 2 after it: 4, 6, 8, …
  3. The next number not crossed out is 3. Circle it and cross out its multiples: 6, 9, 12, …
  4. The next is 5: circle it and cross out 10, 15, 20, …
  5. Carry on until every number is circled or crossed out.

The circled numbers are the primes:

📌

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

That is 25 primes below 100. This method is the Sieve of Eratosthenes, after a Greek mathematician of about 2200 years ago. It works because each crossed-out number is a multiple of a smaller number, so it has an extra factor.

Patterns (Figure it Out): the smallest gap between successive primes is 1 (2 and 3); the largest below 100 is 8 (89 to 97). The decades 1–10 and 11–20 have the most primes (4 each); 91–100 has the fewest (only 97).

Primes through the ages: is there a largest prime? Euclid found the answer, and you will too in a later class. The largest prime anyone has written down would fill about 6500 pages.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100

Tap the diagram to enlarge it

Crossing out the multiples of 2, 3, 5 and 7 leaves the 25 primes below 100 circled.
✨
Did you know?
Eratosthenes also estimated the size of the Earth more than 2000 years ago, using shadows at two cities.
📌 Remember these
  1. Cross out 1 first
  2. Circle a prime, cross out its multiples
  3. 25 primes below 100
✅ Quick check
← →