Algorithm and bound for the greatest common divisor of n integers

Gordon H. Bradley

Communications of the ACM · 1970 · 49 citations · 5 references

DOIFull text

Open access

Concepts

Abstract

A new version of the Euclidean algorithm for finding the greatest common divisor of n integers a i and multipliers x i such that gcd = x 1 a 1 + ··· + x n a n is presented. The number of arithmetic operations and the number of storage locations are linear in n . A theorem of Lamé that gives a bound for the number of iterations of the Euclidean algorithm for two integers is extended to the case of n integers. An algorithm to construct a minimal set of multipliers is presented. A Fortran program for the algorithm appears as Comm. ACM Algorithm 386.

References

5