Abstract
We study the complexity of expressing the greatest common divisor of n positive numbers as a linear combination of the numbers. We prove the NP-completeness of finding an optimal set of multipliers with respect to either the L 0 metric or the L ∞ norm. We present and analyze a new method for expressing the gcd of n numbers as their linear combination and give an upper bound on the size of the largest multiplier produced by this method, which is optimal.
partially supported by the Australian Research Council.
Preview
Unable to display preview. Download preview PDF.
References
W.A. Blankinshlp. A new version of the Euclidean algorithm. Amer. Math. Monthly, 70:742–745, 1963.
G.H. Bradley. Algorithm and bound for the greatest common divisor of n integers. Communications of the ACM, 13:433–436, 1970.
N.G. de Bruijn and W.M. Zaring. On invariants of g.c.d. algorithms. Nieuw Archief voor Wiskunde, I(3):105–112, 1953.
M.R. Garey and D.S. Johnson. Computers and Intractibility: A Guide to the Theory of NP-completness. W.H. Freeman, San Francisco, 1979.
G. Havas and B.S. Majewski. Integer matrix diagonalization. Technical Report TR0277, The University of Queensland, Brisbane, 1993.
G. Havas and B.S. Majewski. Hermite normal form computation for integer matrices. Technical Report TR0295, The University of Queensland, Brisbane, 1994.
C.S. Iliopoulos. Worst case complexity bounds on algorithms for computing the canonical structure of finite abelian groups and the Hermite and Smith normal forms of an integer matrix. SIAM J. Computing, 18:658–669, 1989.
D.E. Knuth. The Art of Computer Programming, Vol. 2: Seminumerical Algorithms. Addison-Wesley, Reading, Mass., 2nd edition, 1973.
R.J. Levit. A minimum solution to a Diophantine equation. Amer. Math. Monthly, 63:647–651, 1956.
D. M. Mandelbaum. New binary Euclidean algorithms. Electron. Lett., 24:857–858, 1988.
G. Norton. A shift-remainder gcd algorithm. In Proc. 5th International Conference on Applied Algebra, Algebraic Algorithms and Error-correcting Codes — AAECC'87, Lecture Notes in Computer Science 356, pages 350–356, Menorca, Spain, 1987.
J. Sorenson. Two fast GCD algorithms. Journal of Algorithms, 16:110–144, 1994.
P. van Emde Boas. Another NP-complete partition problem and the complexity of computing short vectors in a lattice. Technical Report MI/UVA 81-04, The University of Amsterdam, Amsterdam, 1981.
M.S. Waterman. Multidimensional greatest common divisor and Lehmer algorithms. BIT, 17:465–478, 1977.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Majewski, B.S., Havas, G. (1994). The complexity of greatest common divisor computations. In: Adleman, L.M., Huang, MD. (eds) Algorithmic Number Theory. ANTS 1994. Lecture Notes in Computer Science, vol 877. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58691-1_56
Download citation
DOI: https://doi.org/10.1007/3-540-58691-1_56
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58691-3
Online ISBN: 978-3-540-49044-9
eBook Packages: Springer Book Archive