from Part I - Elementary Methods
Published online by Cambridge University Press: 27 March 2026
This chapter begins with elementary results concerning Euclidean division and the Euclidean algorithm. We show that the algorithm’s complexity, measured in division steps, has logarithmic growth.
Gently introducing the reader to analytic methods in number theory, we present a proof of the divergence of the Euler series that sums the reciprocals of prime numbers. This not only provides an elegant analytic proof of the infinitude of primes but also offers insight into their distribution.
We then turn to classical arithmetic functions and derive recursive formulas for the partition function, culminating in a complete proof of Euler’s pentagonal number theorem.
This chapter also includes the first of three proofs in this book of Gauss’s theorema fundamentale, the law of quadratic reciprocity, which reveals a remarkable symmetry in the solvability of quadratic congruences modulo two distinct odd primes.
These theoretical foundations underpin practical applications, including the Miller–Rabin primality test – a probabilistic method for identifying prime numbers – and RSA encryption, a cornerstone of modern cryptography that relies on the computational difficulty of factoring large integers.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.