enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Sieve of Eratosthenes - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Eratosthenes

    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.

  3. Sieve of Sundaram - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Sundaram

    The sieve of Sundaram sieves out the composite numbers just as the sieve of Eratosthenes does, but even numbers are not considered; the work of "crossing out" the multiples of 2 is done by the final double-and-increment step. Whenever Eratosthenes' method would cross out k different multiples of a prime 2i + 1, Sundaram's method crosses out i ...

  4. Sieve of Atkin - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Atkin

    The following is pseudocode which combines Atkin's algorithms 3.1, 3.2, and 3.3 [1] by using a combined set s of all the numbers modulo 60 excluding those which are multiples of the prime numbers 2, 3, and 5, as per the algorithms, for a straightforward version of the algorithm that supports optional bit-packing of the wheel; although not specifically mentioned in the referenced paper, this ...

  5. Sieve theory - Wikipedia

    en.wikipedia.org/wiki/Sieve_theory

    Correspondingly, the prototypical example of a sieve is the sieve of Eratosthenes, or the more general Legendre sieve. The direct attack on prime numbers using these ...

  6. Generation of primes - Wikipedia

    en.wikipedia.org/wiki/Generation_of_primes

    A prime sieve or prime number sieve is a fast type of algorithm for finding primes. There are many prime sieves. The simple sieve of Eratosthenes (250s BCE), the sieve of Sundaram (1934), the still faster but more complicated sieve of Atkin [1] (2003), sieve of Pritchard (1979), and various wheel sieves [2] are most common.

  7. Wikipedia : Featured picture candidates/Sieve of Eratosthenes

    en.wikipedia.org/.../Sieve_of_Eratosthenes

    Just use three colours, one for the number used is the current step of the sieve, one for non-primes and then one for primes. And highlight clearly you start fron n 2 when using n in the sieve by making the number flash or something. C e n t y 22:02, 28 September 2007 (UTC) Oppose per centy.

  8. Sieve of Pritchard - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Pritchard

    A prime number is a natural number that has no natural number divisors other than the number 1 and itself.. To find all the prime numbers less than or equal to a given integer N, a sieve algorithm examines a set of candidates in the range 2, 3, …, N, and eliminates those that are not prime, leaving the primes at the end.

  9. Talk:Sieve of Eratosthenes - Wikipedia

    en.wikipedia.org/wiki/Talk:Sieve_of_Eratosthenes

    The Sieve of Eratosthenes is the oldest and the simplest of a family of algorithms, which proceed similarly and are therefore called sieves. Some, the prime number sieves, are used for fast computation of small primes. Other sieves are used for generating other subsets of the natural numbers, and for estimating the number of their elements up ...