Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-wg55d Total loading time: 0 Render date: 2024-05-01T13:22:27.409Z Has data issue: false hasContentIssue false

Interlude 4 - Modular Arithmetic

Published online by Cambridge University Press:  05 September 2012

Jeffrey Stopple
Affiliation:
University of California, Santa Barbara
Get access

Summary

Traditional books on number theory that emphasize the algebraic aspects begin with the subject of modular arithmetic. This is a very powerful technique, based on the work of Fermat, Euler, and Gauss. The idea is to fix an integer, n, and group all the rest of the integers into one of n classes, depending on what remainder you get when you divide by n. A more elegant way of saying this is that two integers, a and b, are in the same class if n divides ba or, in other words, ba is an integer multiple of n. In this case, we write ab mod n. (This is pronounced “a is congruent to b modulo n.”) For example, with n = 6, 5 ≡ 17 mod 6, −2 ≡ 4 mod 6, and even 6 ≡ 0 mod 6. Because there are seven days in a week, the fact that 3 ≡ 10 mod 7 means that the 3rd of the month and the 10th of the month fall on the same weekday.

Example 14.0.1. The following steps show that ≡ is an equivalence relation.

  1. Show that ≡ is reflexive, that is, that aa mod n.

  2. Show that ≡ is symmetric; that is, if ab mod n, then ba mod n.

  3. Show that ≡ is transitive; that is, if ab mod n and bc mod n, then ac mod n.

Type
Chapter
Information
A Primer of Analytic Number Theory
From Pythagoras to Riemann
, pp. 254 - 259
Publisher: Cambridge University Press
Print publication year: 2003

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.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@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.

  • Modular Arithmetic
  • Jeffrey Stopple, University of California, Santa Barbara
  • Book: A Primer of Analytic Number Theory
  • Online publication: 05 September 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755132.015
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.

  • Modular Arithmetic
  • Jeffrey Stopple, University of California, Santa Barbara
  • Book: A Primer of Analytic Number Theory
  • Online publication: 05 September 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755132.015
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.

  • Modular Arithmetic
  • Jeffrey Stopple, University of California, Santa Barbara
  • Book: A Primer of Analytic Number Theory
  • Online publication: 05 September 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755132.015
Available formats
×