Grades 4–7 · CCSS 4.OA · 6.NS

🔢 Prime Number Sieve

Watch the Sieve of Eratosthenes eliminate composite numbers one by one — until only the primes are left glowing!

Speed: Fast ↔ Slow
Ready to sieve!
Press Start to watch the Sieve of Eratosthenes find all primes up to 100
✨ Primes Found So Far

How the Sieve Works

Start with all numbers 2–100. The first number (2) is prime — circle it, then cross out all its multiples (4, 6, 8...). Move to 3 — prime! Cross out 6, 9, 12... Keep going. Any number not yet crossed out is prime!

What Makes a Number Prime?

A prime number has exactly two factors: 1 and itself. Examples: 2, 3, 5, 7, 11, 13... A composite number has more than two factors. The number 1 is neither prime nor composite.

Finding Prime Numbers with the Sieve of Eratosthenes

Prime numbers — numbers divisible only by 1 and themselves — are the building blocks of all mathematics. Every whole number can be broken down into a unique combination of primes, a fact so fundamental it is called the Fundamental Theorem of Arithmetic. This interactive Sieve of Eratosthenes lets students discover primes the way ancient Greek mathematicians did: by systematically eliminating multiples and watching the primes emerge.

The sieve algorithm is beautifully simple: start with a grid of numbers. Cross out multiples of 2 (except 2 itself), then multiples of 3, then 5, then 7. The numbers left standing are prime. Watching this process unfold visually reveals patterns — primes get sparser as numbers grow, they never end in 0 or an even digit (except 2), and they seem to cluster in unpredictable ways that mathematicians still study today.

Why Primes Matter for Students

Practically, prime factorization is the key to finding GCF and LCM, simplifying fractions, and understanding the structure of numbers. But primes also introduce students to one of math's great mysteries: despite being the building blocks of all numbers, there is no formula to predict where the next prime will appear. This combination of deep importance and unsolved mystery makes primes a gateway to appreciating mathematics as a living, evolving field of inquiry.

Use the sieve as a hands-on activity: have students color-code each round of elimination (multiples of 2 in red, multiples of 3 in blue) to see the visual patterns. Ask: why do we stop checking at the square root of the grid size? This question leads to a beautiful proof and introduces students to mathematical reasoning at a level that feels both challenging and accessible.

Last reviewed: May 2026 · Aligned with CCSS 4.OA.4

🌟 Keep Exploring
🔢GCF & LCM 📋Multiplication Table 📈Exponents