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. The multiples of a given prime are generated as a sequence of numbers starting from that ...

  3. Generation of primes - Wikipedia

    en.wikipedia.org/wiki/Generation_of_primes

    Generation of primes. In computational number theory, a variety of algorithms make it possible to generate prime numbers efficiently. These are used in various applications, for example hashing, public-key cryptography, and search of prime factors in large numbers. For relatively small numbers, it is possible to just apply trial division to ...

  4. Primality test - Wikipedia

    en.wikipedia.org/wiki/Primality_test

    Primality test. A primality test is an algorithm for determining whether an input number is prime. Among other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating whether the input number is prime or not.

  5. Miller–Rabin primality test - Wikipedia

    en.wikipedia.org/wiki/Miller–Rabin_primality_test

    Miller–Rabin primality test. The Miller–Rabin primality test or Rabin–Miller primality test is a probabilistic primality test: an algorithm which determines whether a given number is likely to be prime, similar to the Fermat primality test and the Solovay–Strassen primality test . It is of historical significance in the search for a ...

  6. Sieve of Atkin - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Atkin

    In mathematics, the sieve of Atkin is a modern algorithm for finding all prime numbers up to a specified integer. Compared with the ancient sieve of Eratosthenes, which marks off multiples of primes, the sieve of Atkin does some preliminary work and then marks off multiples of squares of primes, thus achieving a better theoretical asymptotic ...

  7. Sieve of Pritchard - Wikipedia

    en.wikipedia.org/wiki/Sieve_of_Pritchard

    Sieve of Pritchard: algorithm steps for primes up to 150. In mathematics, the sieve of Pritchard is an algorithm for finding all prime numbers up to a specified bound. Like the ancient sieve of Eratosthenes, it has a simple conceptual basis in number theory. [1] It is especially suited to quick hand computation for small bounds.

  8. AKS primality test - Wikipedia

    en.wikipedia.org/wiki/AKS_primality_test

    AKS is the first primality-proving algorithm to be simultaneously general, polynomial-time, deterministic, and unconditionally correct. Previous algorithms had been developed for centuries and achieved three of these properties at most, but not all four. The AKS algorithm can be used to verify the primality of any general number given.

  9. Integer factorization - Wikipedia

    en.wikipedia.org/wiki/Integer_factorization

    The ease of primality testing is a crucial part of the RSA algorithm, as it is necessary to find large prime numbers to start with. Factoring algorithms Special-purpose. A special-purpose factoring algorithm's running time depends on the properties of the number to be factored or on one of its unknown factors: size, special form, etc.