Skip to main content Accessibility help
×
Hostname: page-component-7b7567c8c-7pwfn Total loading time: 0 Render date: 2026-11-15T21:08:32.326Z Has data issue: false hasContentIssue false

1 - Congruences and Primes

from Part I - Elementary Methods

Published online by Cambridge University Press:  27 March 2026

Jorge Morales
Affiliation:
Louisiana State University
Get access

Summary

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.

Information

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Book purchase

Temporarily unavailable

Save book to Kindle

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.

  • Congruences and Primes
  • Jorge Morales, Louisiana State University
  • Book: Topics in Number Theory
  • Online publication: 27 March 2026
  • Chapter DOI: https://doi.org/10.1017/9781009760508.003
Available formats
×

Save book 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 Dropbox.

  • Congruences and Primes
  • Jorge Morales, Louisiana State University
  • Book: Topics in Number Theory
  • Online publication: 27 March 2026
  • Chapter DOI: https://doi.org/10.1017/9781009760508.003
Available formats
×

Save book to Google Drive

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.

  • Congruences and Primes
  • Jorge Morales, Louisiana State University
  • Book: Topics in Number Theory
  • Online publication: 27 March 2026
  • Chapter DOI: https://doi.org/10.1017/9781009760508.003
Available formats
×