Metraipolis › archive › dc_24c3c9617fd6
Sieve of Eratosthenes — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T17:33:33.117Z
- SHA-256 of the archived text
d2d6374c94ed8b2257b91d58e82a76d1a7281bbecd790011df2bb07d37f13474- Stable URL of this page
https://metraipolis.com/documento/dc_24c3c9617fd6
How to cite
Sieve of Eratosthenes — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_24c3c9617fd6 (Metraipolis archive dc_24c3c9617fd6, sha256 d2d6374c94ed8b2257b91d58e82a76d1a7281bbecd790011df2bb07d37f13474)
BibTeX
@misc{dc24c3c9617fd6,
title = {Sieve of Eratosthenes — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_24c3c9617fd6; sha256 d2d6374c94ed8b2257b91d58e82a76d1a7281bbecd790011df2bb07d37f13474},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In mathematics, the sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the first prime number, 2. The multiples of a given prime are generated as a sequence of numbers starting from that prime, with constant difference between them that is equal to that prime. This is the sieve's key distinction from using trial division to sequentially test each candidate number for divisibility by each prime. Once all the multiples of each discovered prime have been marked as composites, the remaining unmarked numbers are primes. The earliest known reference to the sieve (Ancient Greek: κόσκινον Ἐρατοσθένους, kóskinon Eratosthénous) is in Nicomachus of Gerasa's Introduction to Arithmetic, an early 2nd-century CE book which attributes it to Eratosthenes of Cyrene, a 3rd-century BCE Greek mathematician, though describing the sieving by odd numbers instead of by primes. One of several prime number sieves, it is one of the most efficient ways to find all of the smaller primes. It may be used to find primes in arithmetic progressions. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Algorithms»). Fonte: Wikipedia in inglese, voce «Sieve of Eratosthenes» — https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes Wikidata Q177898 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q177898 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1378696777, consultata il 2026-10-07T17:03:45.921Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: d842d33e092c740ac6e1bb5f5f17c9afd7d0b9f8d902f4741bf7dac4ab485a51