Binary GCD algorithm
Algorithm that computes the greatest common divisor of two integers using only arithmetic shifts, comparisons, and subtraction
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction.
Nº Q622328 ★
Common · Knowledge
Binary GCD algorithm
Algorithm that computes the greatest common divisor of two integers using only arithmetic shifts, comparisons, and subtraction
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction.
From Wikipedia
The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor (GCD) of two nonnegative integers. Stein's algorithm uses simpler arithmetic operations than the conventional Euclidean algorithm; it replaces division with arithmetic shifts, comparisons, and subtraction. Although the algorithm in its contemporary form was first published by the physicist and programmer Josef Stein in 1967, it was known by the 2nd century BCE, in ancient China.
Text: Wikipédia, CC BY-SA 4.0. · Image: Cmglee (CC BY-SA 3.0) ·
Related cards
-
Steiner tree problem
Class of problems in combinatorial mathematics
Nº Q1764144 ★
Not listed
-
B
B, C, K, W system
Combinatory logic system
Nº Q845546 ★
Not listed
-
Quine–McCluskey algorithm
Algorithm
Nº Q621409 ★
Not listed
-
H
Hilbert's tenth problem
Mathematics problem
Nº Q986147 ★★
Not listed
-
G
Greedy algorithm
Algorithm that makes locally optimal choices in a sequence of steps with the goal of reaching a global optimum
Nº Q504353 ★★★
Not listed
-
K
Knuth's up-arrow notation
Method of notation of very large integers
Nº Q908427 ★★★
Not listed
-
R
Risch algorithm
Algorithm used to compute integrals of functions, especially used in computer algebra systems
Nº Q1382512 ★
Not listed
-
Bresenham's line algorithm
Algorithm for rasterizing a straight line
Nº Q549860 ★★
Not listed
-
Note G
First algorithm specifically for a computer
Nº Q123509784 ★
Not listed
-
C
Common Scrambling Algorithm
Algorithm
Nº Q1029168 ★
Not listed
-
Gibbs sampling
Algorithm
Nº Q1191905 ★
Not listed
-
Binary search
Search algorithm in sorted lists that operates by decreasing the search space by half each pass
Nº Q243754 ★★★
Not listed
-
Gauss–Newton algorithm
Algorithm used to solve non-linear least squares problems
Nº Q1496373 ★★
Not listed
-
Method of complements
Method of subtraction
Nº Q4741052 ★
Not listed
-
S
Singmaster's conjecture
Conjecture in combinatorial number theory
Nº Q2993335 ★★
Not listed
-
U
Unique games conjecture
Conjecture in computational complexity
Nº Q7886950 ★
Not listed
-
Prim's algorithm
Algorithm for finding the minimum spanning tree for weighted undirected graphs
Nº Q470813 ★★
Not listed
-
F
Fubini's theorem
Theorem
Nº Q1149022 ★★★
Not listed