precision, an integer relation algorithm will either find an integer relation between them, or will determine that no integer relation exists with coefficients...
8 KB (1,036 words) - 05:33, 24 October 2024
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,980 words) - 10:09, 4 September 2024
the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers (numbers), the...
124 KB (15,172 words) - 06:45, 5 November 2024
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) - 21:35, 3 November 2024
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,832 words) - 08:09, 25 October 2024
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,668 words) - 12:34, 5 October 2024
A division algorithm is an algorithm which, given two integers N and D (respectively the numerator and the denominator), computes their quotient and/or...
39 KB (5,530 words) - 16:52, 18 September 2024
The Karatsuba algorithm is a fast multiplication algorithm. It was discovered by Anatoly Karatsuba in 1960 and published in 1962. It is a divide-and-conquer...
13 KB (2,044 words) - 21:24, 21 July 2024
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,128 words) - 03:20, 13 October 2024
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,747 words) - 13:11, 30 September 2024
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,805 words) - 15:08, 22 October 2024
Let y {\displaystyle y} and k {\displaystyle k} be non-negative integers. Algorithms that compute (the decimal representation of) y {\displaystyle {\sqrt...
24 KB (3,067 words) - 23:24, 16 October 2024
(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) - 06:56, 17 October 2024
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,250 words) - 01:11, 18 April 2024
Greatest common divisor (section Euclid's algorithm)
of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers x, y, the greatest...
36 KB (4,717 words) - 14:59, 13 October 2024
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) - 17:26, 26 October 2024
AKS primality test (redirect from AKS algorithm)
with the AKS algorithm. The AKS primality test is based upon the following theorem: Given an integer n ≥ 2 {\displaystyle n\geq 2} and integer a {\displaystyle...
20 KB (2,448 words) - 11:38, 24 October 2024
Gaussian integers share many properties with integers: they form a Euclidean domain, and have thus a Euclidean division and a Euclidean algorithm; this implies...
35 KB (4,797 words) - 10:03, 29 October 2024
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
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,773 words) - 06:12, 2 November 2024
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,602 words) - 15:41, 1 November 2024
Quadratic sieve (category Integer factorization algorithms)
The quadratic sieve algorithm (QS) is an integer factorization algorithm and, in practice, the second-fastest method known (after the general number field...
27 KB (4,487 words) - 20:50, 13 October 2024
exponential-time algorithm, practical only for small groups G. More sophisticated algorithms exist, usually inspired by similar algorithms for integer factorization...
17 KB (2,043 words) - 00:20, 24 September 2024
Pi (section Computer era and iterative algorithms)
Ramanujan–Sato series. In 2006, mathematician Simon Plouffe used the PSLQ integer relation algorithm to generate several new formulae for π, conforming to the following...
148 KB (17,578 words) - 10:10, 1 November 2024
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
computational problem equivalent to integer factorization. An equivalent, but slightly more redundant version of this algorithm was developed by Alberto Tonelli...
18 KB (3,730 words) - 22:13, 18 January 2024
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...
39 KB (4,792 words) - 21:43, 24 October 2024
integer values are superficial, i.e., the solutions satisfy these restrictions anyway. In the general case, a specialized algorithm or an algorithm that...
58 KB (6,735 words) - 18:51, 30 October 2024
"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...
33 KB (4,068 words) - 22:30, 20 September 2024
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...
25 KB (4,165 words) - 20:02, 24 October 2024