precision, an integer relation algorithm will either find an integer relation between them, or will determine that no integer relation exists with coefficients...
9 KB (1,082 words) - 06:13, 14 April 2025
the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers, the largest number...
126 KB (15,349 words) - 16:35, 30 April 2025
general algorithm for integer factorization, any integer can be factored into its constituent prime factors by repeated application of this algorithm. The...
25 KB (2,977 words) - 21:02, 19 June 2025
Euclidean algorithm is an extension to the Euclidean algorithm, and computes, in addition to the greatest common divisor (gcd) of integers a and b, also...
28 KB (4,467 words) - 20:39, 9 June 2025
The algorithm can be used to find integer solutions to many problems. In particular, the LLL algorithm forms a core of one of the integer relation algorithms...
15 KB (2,154 words) - 23:50, 19 June 2025
Pollard's rho algorithm is an algorithm for integer factorization. It was invented by John Pollard in 1975. It uses only a small amount of space, and...
13 KB (1,755 words) - 06:12, 18 April 2025
The Schönhage–Strassen algorithm is an asymptotically fast multiplication algorithm for large integers, published by Arnold Schönhage and Volker Strassen...
26 KB (4,580 words) - 11:43, 4 June 2025
Linear programming (redirect from 0-1 integer programming)
(reciprocal) licenses: MINTO (Mixed Integer Optimizer, an integer programming solver which uses branch and bound algorithm) has publicly available source code...
61 KB (6,690 words) - 17:57, 6 May 2025
Shor's algorithm is a quantum algorithm for finding the prime factors of an integer. It was developed in 1994 by the American mathematician Peter Shor...
40 KB (5,809 words) - 23:45, 1 July 2025
Let y {\displaystyle y} and k {\displaystyle k} be non-negative integers. Algorithms that compute (the decimal representation of) y {\displaystyle {\sqrt...
26 KB (3,191 words) - 07:11, 19 May 2025
(GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with...
17 KB (1,993 words) - 13:05, 28 January 2025
A division algorithm is an algorithm which, given two integers N and D (respectively the numerator and the denominator), computes their quotient and/or...
43 KB (5,900 words) - 09:48, 30 June 2025
The Karatsuba algorithm is a fast multiplication algorithm for integers. It was discovered by Anatoly Karatsuba in 1960 and published in 1962. It is a...
13 KB (2,046 words) - 20:43, 4 May 2025
optimal bound, although this remains a conjecture today. Integer multiplication algorithms can also be used to multiply polynomials by means of the method...
47 KB (6,871 words) - 23:29, 19 June 2025
Pollard's p − 1 algorithm is a number theoretic integer factorization algorithm, invented by John Pollard in 1974. It is a special-purpose algorithm, meaning...
9 KB (1,251 words) - 18:33, 16 April 2025
"ABC ABCDAB ABCDABCDABDE". At any given time, the algorithm is in a state determined by two integers: m, denoting the position within S where the prospective...
34 KB (4,204 words) - 06:50, 30 June 2025
empty_list for k = 1 , 2 , … {\displaystyle k=1,2,\ldots } Using an integer factorization algorithm optimized for smooth numbers, try to factor g k mod q {\displaystyle...
11 KB (1,763 words) - 17:23, 21 June 2025
discrete logarithms in a finite abelian group whose order is a smooth integer. The algorithm was introduced by Roland Silver, but first published by Stephen...
7 KB (1,035 words) - 18:44, 19 October 2024
TWIRL (redirect from The Weizmann Institute Relation Locator)
Institute Relation Locator) is a hypothetical hardware device designed to speed up the sieving step of the general number field sieve integer factorization...
2 KB (261 words) - 06:28, 11 March 2025
theory, Williams's p + 1 algorithm is an integer factorization algorithm, one of the family of algebraic-group factorisation algorithms. It was invented by...
5 KB (831 words) - 21:06, 30 September 2022
conquer), its running time is described by a recurrence relation. A simple example is the time an algorithm takes to find an element in an ordered vector with...
26 KB (4,204 words) - 08:22, 19 April 2025
Fisher–Yates shuffle (redirect from Algorithm P)
following algorithm (for a zero-based array). -- To shuffle an array a of n elements (indices 0..n-1): for i from n−1 down to 1 do j ← random integer such...
42 KB (5,224 words) - 12:32, 31 May 2025
of distinct integers AND the integers are all in S AND the integers sum to 0 THEN OUTPUT "yes" and HALT This is a polynomial-time algorithm accepting an...
63 KB (7,784 words) - 06:53, 25 April 2025
Gaussian integers share many properties with integers: they form a Euclidean domain, and thus have a Euclidean division and a Euclidean algorithm; this implies...
35 KB (4,835 words) - 07:01, 5 May 2025
binary relation Traveling salesman problem Christofides algorithm Nearest neighbour algorithm Vehicle routing problem Clarke and Wright Saving algorithm Warnsdorff's...
72 KB (7,951 words) - 17:13, 5 June 2025
Collatz conjecture (redirect from Syracuse algorithm)
an integer n ≥ 1 such that fn(k) = 1. In 1972, John Horton Conway proved that a natural generalization of the Collatz problem is algorithmically undecidable...
58 KB (7,126 words) - 15:20, 25 June 2025
RSA cryptosystem (redirect from RSA algorithm)
calculated through the Euclidean algorithm, since lcm(a, b) = |ab|/gcd(a, b). λ(n) is kept secret. Choose an integer e such that 1 < e < λ(n) and gcd(e...
60 KB (7,783 words) - 17:53, 28 June 2025
Bailey–Borwein–Plouffe formula (redirect from BBP algorithm)
to many digits, and then using an integer relation-finding algorithm (typically Helaman Ferguson's PSLQ algorithm) to find a sequence A that adds up...
14 KB (2,538 words) - 17:02, 1 May 2025
P-adic number (redirect from P-adic integer)
integer (possibly negative), and each a i {\displaystyle a_{i}} is an integer such that 0 ≤ a i < p . {\displaystyle 0\leq a_{i}<p.} A p-adic integer...
44 KB (7,716 words) - 17:25, 28 May 2025
Modular arithmetic (redirect from Integers mod n)
if there is an integer k such that a − b = k m. Congruence modulo m is a congruence relation, meaning that it is an equivalence relation that is compatible...
29 KB (3,646 words) - 13:08, 26 June 2025