Abstract
In the previous two chapters we have seen that there are infinitely many primes and showed that as we move through larger and larger integers the density of primes thins out. In particular, we proved that
where π(x) represents the number of primes less than the positive real number x. This result, the prime number theorem, could be interpreted as saying that the probability of randomly choosing a prime number less than or equal to a positive real number x is approximately 1/ln x as x gets large. In this chapter we consider the question of determining whether a particular given positive integer n is prime or not prime. The methods concerning this problem are called primality testing and consist of algorithms to determine whether an inputted positive integer is prime. Primality testing has become extremely important and has been of great interest in recent years due to its close ties to cryptography and especially public key cryptography. Cryptography is the science of encoding and decoding secret messages. Many of the most powerful and secure encoding methods depend on number theory, especially on the computational difficulty of factoring large integers. It turns out, somewhat surprisingly, that relative to ease of computation, determining whether a number is prime is easier than actually factoring it.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Birkhäuser Boston
About this chapter
Cite this chapter
(2007). Primality Testing: An Overview. In: Number Theory. Birkhäuser Boston. https://doi.org/10.1007/978-0-8176-4541-0_5
Download citation
DOI: https://doi.org/10.1007/978-0-8176-4541-0_5
Publisher Name: Birkhäuser Boston
Print ISBN: 978-0-8176-4472-7
Online ISBN: 978-0-8176-4541-0
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)