Number theory Divisibility and primes Concept
Sieve of Eratosthenes
Summary
The sieve of Eratosthenes is an algorithm that finds all the prime numbers up to a given bound . It writes the integers from to . It takes the smallest number that is not crossed out, which is a prime , and crosses out the multiples up to . It repeats this step while . The numbers that are not crossed out at the end are the primes up to .
Remarks
It is enough to start at , because a smaller multiple of has a smaller prime factor, and an earlier step crossed it out. The algorithm needs about operations. The idea of the sieve is the basis of sieve methods in analytic number theory.
Where this leads
2 pages build on this one.
Further reading
About this page
| Tag | 0XM8ZA9RNM |
|---|---|
| URI | m2://0XM8ZA9RNM |
| Kind | concept |
| Writing | W1 stated |
| MSC | 11Y11 |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W2
- edge defines in: at least one definition (0 of 1)
- edge instance_of in: at least two examples (0 of 2)
- edge not_instance_of in: at least one non-example (0 of 1)
- edge specializes both: the more general notions and the special cases (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.