Skip to main content

Primality Testing — A Deterministic Algorithm

  • Chapter
Secure Digital Communications

Part of the book series: International Centre for Mechanical Sciences ((CISM,volume 279))

  • 94 Accesses

Abstract

The most ancient and simple method for testing if a number is prime or not consists in factoring n. Using the fact that a non prime has a divisor r such that EquationSource<math display='block'> <mrow> <mn>1</mn><mo>&#x2264;</mo><mi>r</mi><mo>&#x2264;</mo><msqrt> <mi>n</mi> </msqrt> </mrow> </math>]]</EquationSource><EquationSource Format="TEX"><![CDATA[$$1 \leqslant r \leqslant \sqrt n$$. We obtain a method usable for numbers up to 1016 on a computer. It necessitates EquationSource<math display='block'> <mrow> <mn>0</mn><mrow><mo>(</mo> <mrow> <msqrt> <mi>n</mi> </msqrt> </mrow> <mo>)</mo></mrow></mrow> </math>]]</EquationSource><EquationSource Format="TEX"><![CDATA[$$0\left( {\sqrt n } \right)$$ operations, which is large when n is big. Remarkable improvements have been made. On a pocket calculator one can factor numbers up to 1018 and on a large computer up to 1040 with 0(n1/4) algorithms.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Reference

  1. Test de primalité d’après, Adleman, Rumely, Pomerance, Lenstra. H. Cohen. Université scientifique et medicale de Grenoble.

    Google Scholar 

  2. Lenstra, Tests de primalité, Seminaire Bourbaki, Juin 1981.

    Google Scholar 

  3. Rabin, Probabilistic algorithms for testing primality. J. Number theory 12 (1980) pp. 128–138.

    Google Scholar 

  4. Williams, Primality testing on a computer, Ars combina toria, 5(1978).

    Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1983 Springer-Verlag Wien

About this chapter

Cite this chapter

Harari, S. (1983). Primality Testing — A Deterministic Algorithm. In: Longo, G. (eds) Secure Digital Communications. International Centre for Mechanical Sciences, vol 279. Springer, Vienna. https://doi.org/10.1007/978-3-7091-2640-0_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-7091-2640-0_7

  • Publisher Name: Springer, Vienna

  • Print ISBN: 978-3-211-81784-1

  • Online ISBN: 978-3-7091-2640-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics