Global Information Lookup Global Information

Sieve of Pritchard information


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.

Whereas the sieve of Eratosthenes marks off each non-prime for each of its prime factors, the sieve of Pritchard avoids considering almost all non-prime numbers by building progressively larger wheels, which represent the pattern of numbers not divisible by any of the primes processed thus far. It thereby achieves a better asymptotic complexity, and was the first sieve with a running time sublinear in the specified bound. Its asymptotic running-time has not been improved on, and it deletes fewer composites than any other known sieve. It was created in 1979 by Paul Pritchard.[2]

Since Pritchard has created a number of other sieve algorithms for finding prime numbers,[3][4][5] the sieve of Pritchard is sometimes singled out by being called the wheel sieve (by Pritchard himself[1]) or the dynamic wheel sieve.[6]

  1. ^ a b Pritchard, Paul (1982). "Explaining the Wheel Sieve". Acta Informatica. 17 (4): 477–485. doi:10.1007/BF00264164. S2CID 122592488.
  2. ^ Pritchard, Paul (1981). "A Sublinear Additive Sieve for Finding Prime Numbers". Communications of the ACM. 24 (1): 18–23. doi:10.1145/358527.358540. S2CID 16526704.
  3. ^ Pritchard, Paul (1983). "Fast Compact Prime Number Sieves (Among Others)". Journal of Algorithms. 4 (4): 332–344. doi:10.1016/0196-6774(83)90014-7. hdl:1813/6313. S2CID 1068851.
  4. ^ Pritchard, Paul (1987). "Linear prime-number sieves: A family tree". Science of Computer Programming. 9 (1): 17–35. doi:10.1016/0167-6423(87)90024-4. S2CID 44111749.
  5. ^ Pritchard, Paul (1980). "On the prime example of programming". Language Design and Programming Methodology. Lecture Notes in Computer Science. Vol. 877. pp. 280–288. CiteSeerX 10.1.1.52.835. doi:10.1007/3-540-09745-7_5. ISBN 978-3-540-09745-7. S2CID 9214019.
  6. ^ Dunten, Brian; Jones, Julie; Sorenson, Jonathan (1996). "A Space-Efficient Fast Prime Number Sieve". Information Processing Letters. 59 (2): 79–84. CiteSeerX 10.1.1.31.3936. doi:10.1016/0020-0190(96)00099-3. S2CID 9385950.

and 23 Related for: Sieve of Pritchard information

Request time (Page generated in 0.8399 seconds.)

Sieve of Pritchard

Last Update:

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

Word Count : 3285

Sieve of Eratosthenes

Last Update:

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

Word Count : 3035

Sieve of Atkin

Last Update:

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

Word Count : 1995

General number field sieve

Last Update:

In number theory, the general number field sieve (GNFS) is the most efficient classical algorithm known for factoring integers larger than 10100. Heuristically...

Word Count : 1786

Generation of primes

Last Update:

required wheel representations; Pritchard's variation of the linear time complexity sieve of Eratosthenes/wheel sieve takes O ( N 1 / 2 log ⁡ log ⁡ N...

Word Count : 1154

Sieve of Sundaram

Last Update:

In mathematics, the sieve of Sundaram is a variant of the sieve of Eratosthenes, a simple deterministic algorithm for finding all the prime numbers up...

Word Count : 1419

Quadratic sieve

Last Update:

quadratic sieve algorithm (QS) is an integer factorization algorithm and, in practice, the second-fastest method known (after the general number field sieve)....

Word Count : 4476

Wheel factorization

Last Update:

the halfway point. Sieve of Sundaram Sieve of Atkin Sieve of Pritchard Sieve theory Pritchard, Paul, "Linear prime-number sieves: a family tree," Sci...

Word Count : 3059

Special number field sieve

Last Update:

branch of mathematics, the special number field sieve (SNFS) is a special-purpose integer factorization algorithm. The general number field sieve (GNFS)...

Word Count : 1427

Integer factorization

Last Update:

completed with a highly optimized implementation of the general number field sieve run on hundreds of machines. No algorithm has been published that can...

Word Count : 2981

Discrete logarithm

Last Update:

However none of them runs in polynomial time (in the number of digits in the size of the group). Baby-step giant-step Function field sieve Index calculus...

Word Count : 2042

Primality test

Last Update:

giving the Sieve of Eratosthenes. One way to speed up these methods (and all the others mentioned below) is to pre-compute and store a list of all primes...

Word Count : 3792

Karatsuba algorithm

Last Update:

divide-and-conquer algorithm that reduces the multiplication of two n-digit numbers to three multiplications of n/2-digit numbers and, by repeating this reduction...

Word Count : 2044

Index calculus algorithm

Last Update:

onto the sieve (i.e., increasing the number of equations while reducing the number of variables). The third stage searches for a power s of the generator...

Word Count : 1720

Euclidean algorithm

Last Update:

algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers (numbers), the largest number that divides them both without...

Word Count : 15118

Trachtenberg system

Last Update:

The Trachtenberg system is a system of rapid mental calculation. The system consists of a number of readily memorized operations that allow one to perform...

Word Count : 6481

Trial division

Last Update:

up to 655372 = 4,295,098,369. Preparing such a table (usually via the Sieve of Eratosthenes) would only be worthwhile if many numbers were to be tested...

Word Count : 1345

Rational sieve

Last Update:

the rational sieve is a general algorithm for factoring integers into prime factors. It is a special case of the general number field sieve. While it is...

Word Count : 914

Modular exponentiation

Last Update:

over a modulus. It is useful in computer science, especially in the field of public-key cryptography, where it is used in both Diffie–Hellman key exchange...

Word Count : 2802

AKS primality test

Last Update:

from sieve theory to O ~ ( log ⁡ ( n ) 7.5 ) {\displaystyle {\tilde {O}}(\log(n)^{7.5})} . In 2005, Pomerance and Lenstra demonstrated a variant of AKS...

Word Count : 2448

Fermat primality test

Last Update:

by p and see whether the congruence holds. If it does not hold for a value of a, then p is composite. This congruence is unlikely to hold for a random a...

Word Count : 1134

Integer square root

Last Update:

root (isqrt) of a non-negative integer n is the non-negative integer m which is the greatest integer less than or equal to the square root of n, isqrt ⁡...

Word Count : 2410

Extended Euclidean algorithm

Last Update:

computes, in addition to the greatest common divisor (gcd) of integers a and b, also the coefficients of Bézout's identity, which are integers x and y such that...

Word Count : 4452

PDF Search Engine © AllGlobal.net