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>≤</mo><mi>r</mi><mo>≤</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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Reference
Test de primalité d’après, Adleman, Rumely, Pomerance, Lenstra. H. Cohen. Université scientifique et medicale de Grenoble.
Lenstra, Tests de primalité, Seminaire Bourbaki, Juin 1981.
Rabin, Probabilistic algorithms for testing primality. J. Number theory 12 (1980) pp. 128–138.
Williams, Primality testing on a computer, Ars combina toria, 5(1978).
Editor information
Editors and Affiliations
Rights 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