The 15 primes up to 50: the Sieve of Eratosthenes
A prime is a number greater than 1 with exactly two factors. The Sieve of Eratosthenes crosses out multiples of 2, 3, 5 and 7, leaving the 15 primes up to 50. See why 1 is not prime and why stopping at 7 is enough.
Lesson script
How many prime numbers are there up to fifty? You can find them all with a two-thousand-year-old sieve.
A prime is a number greater than one with exactly two factors: one and itself. Seven is prime. Nine is not, because three divides nine.
The sieve: write two to fifty. Two is prime: cross out the multiples of two. Three is prime: cross out multiples of three. Then those of five and seven.
Fifteen primes are left: two, three, five, seven, eleven, thirteen, seventeen, nineteen, twenty-three, twenty-nine, thirty-one, thirty-seven, forty-one, forty-three and forty-seven.
Why stop at seven? The next prime is eleven, and eleven times eleven is one hundred twenty-one, more than fifty. Any composite up to fifty already has a factor up to seven.
And one? It is not prime. It has only one factor. And two is the only even prime.
Here's the whole calculation.
Now physics: drop a stone into a well. In two seconds, how far does it fall? Next episode: free fall.
Chapters
- 0:00 Intro
- 0:18 The sieve
- 0:41 Why it works
- 1:01 The whole calculation
Sources
- OpenStax. Prealgebra 2e. Marecek, L.; Anthony-Smith, M.; Honeycutt Mathis, A. Houston: OpenStax/Rice University, 2020. Seção 2.5 'Prime Factorization and the Least Common Multiple'.
- Weisstein, E. W. 'Prime Number'. MathWorld — A Wolfram Web Resource.
- Weisstein, E. W. 'Sieve of Eratosthenes'. MathWorld — A Wolfram Web Resource.
- Wikipédia (PT). 'Número primo'.
- Wikipédia (PT). 'Crivo de Eratóstenes'.
- Wikipédia (EN). 'Sieve of Eratosthenes'.
Factors, primes and divisibility · Open the course on Enneal Learning