Skip to main content

The complexity of greatest common divisor computations

  • Conference paper
  • First Online:
Algorithmic Number Theory (ANTS 1994)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 877))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W.A. Blankinshlp. A new version of the Euclidean algorithm. Amer. Math. Monthly, 70:742–745, 1963.

    Google Scholar 

  2. G.H. Bradley. Algorithm and bound for the greatest common divisor of n integers. Communications of the ACM, 13:433–436, 1970.

    Google Scholar 

  3. N.G. de Bruijn and W.M. Zaring. On invariants of g.c.d. algorithms. Nieuw Archief voor Wiskunde, I(3):105–112, 1953.

    Google Scholar 

  4. M.R. Garey and D.S. Johnson. Computers and Intractibility: A Guide to the Theory of NP-completness. W.H. Freeman, San Francisco, 1979.

    Google Scholar 

  5. G. Havas and B.S. Majewski. Integer matrix diagonalization. Technical Report TR0277, The University of Queensland, Brisbane, 1993.

    Google Scholar 

  6. G. Havas and B.S. Majewski. Hermite normal form computation for integer matrices. Technical Report TR0295, The University of Queensland, Brisbane, 1994.

    Google Scholar 

  7. 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.

    Google Scholar 

  8. D.E. Knuth. The Art of Computer Programming, Vol. 2: Seminumerical Algorithms. Addison-Wesley, Reading, Mass., 2nd edition, 1973.

    Google Scholar 

  9. R.J. Levit. A minimum solution to a Diophantine equation. Amer. Math. Monthly, 63:647–651, 1956.

    Google Scholar 

  10. D. M. Mandelbaum. New binary Euclidean algorithms. Electron. Lett., 24:857–858, 1988.

    Google Scholar 

  11. 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.

    Google Scholar 

  12. J. Sorenson. Two fast GCD algorithms. Journal of Algorithms, 16:110–144, 1994.

    Google Scholar 

  13. 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.

    Google Scholar 

  14. M.S. Waterman. Multidimensional greatest common divisor and Lehmer algorithms. BIT, 17:465–478, 1977.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Leonard M. Adleman Ming-Deh Huang

Rights and permissions

Reprints 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

Publish with us

Policies and ethics