When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Primality test - Wikipedia

    en.wikipedia.org/wiki/Primality_test

    The first deterministic primality test significantly faster than the naive methods was the cyclotomy test; its runtime can be proven to be O((log n) c log log log n), where n is the number to test for primality and c is a constant independent of n. Many further improvements were made, but none could be proven to have polynomial running time.

  3. Lucas primality test - Wikipedia

    en.wikipedia.org/wiki/Lucas_primality_test

    In computational number theory, the Lucas test is a primality test for a natural number n; it requires that the prime factors of n − 1 be already known. [ 1 ] [ 2 ] It is the basis of the Pratt certificate that gives a concise verification that n is prime.

  4. AKS primality test - Wikipedia

    en.wikipedia.org/wiki/AKS_primality_test

    The AKS primality test (also known as Agrawal–Kayal–Saxena primality test and cyclotomic AKS test) is a deterministic primality-proving algorithm created and published by Manindra Agrawal, Neeraj Kayal, and Nitin Saxena, computer scientists at the Indian Institute of Technology Kanpur, on August 6, 2002, in an article titled "PRIMES is in P". [1]

  5. Fermat primality test - Wikipedia

    en.wikipedia.org/wiki/Fermat_primality_test

    Using fast algorithms for modular exponentiation and multiprecision multiplication, the running time of this algorithm is O(k log 2 n log log n) = Õ(k log 2 n), where k is the number of times we test a random a, and n is the value we want to test for primality; see Miller–Rabin primality test for details.

  6. Miller–Rabin primality test - Wikipedia

    en.wikipedia.org/wiki/Miller–Rabin_primality_test

    The idea beneath this test is that when n is an odd prime, it passes the test because of two facts: by Fermat's little theorem, () (this property alone defines the weaker notion of probable prime to base a, on which the Fermat test is based); the only square roots of 1 modulo n are 1 and −1.

  7. 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.

  8. Baillie–PSW primality test - Wikipedia

    en.wikipedia.org/wiki/Baillie–PSW_primality_test

    The Baillie–PSW test is a combination of a strong Fermat probable prime test to base 2 and a standard or strong Lucas probable prime test. The Fermat and Lucas test each have their own list of pseudoprimes, that is, composite numbers that pass the test. For example, the first ten strong pseudoprimes to base 2 are

  9. Pollard's rho algorithm - Wikipedia

    en.wikipedia.org/wiki/Pollard's_rho_algorithm

    If the pseudorandom number = occurring in the Pollard ρ algorithm were an actual random number, it would follow that success would be achieved half the time, by the birthday paradox in () (/) iterations. It is believed that the same analysis applies as well to the actual rho algorithm, but this is a heuristic claim, and rigorous analysis of ...