Algorithm and bound for the greatest common divisor of n integers
- 1 July 1970
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 13 (7), 433-436
- https://doi.org/10.1145/362686.362694
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.Keywords
This publication has 4 references indexed in Scilit:
- Algorithm 237: Greatest common divisorCommunications of the ACM, 1964
- A New Version of the Euclidean AlgorithThe American Mathematical Monthly, 1963
- Algorithm 139: Solutions of the diophantine equationCommunications of the ACM, 1962
- A Minimum Solution of a Diophantine EquationThe American Mathematical Monthly, 1956