Published online by Cambridge University Press: 05 September 2012
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 b − a or, in other words, b − a is an integer multiple of n. In this case, we write a ≡ b 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.
Show that ≡ is reflexive, that is, that a ≡ a mod n.
Show that ≡ is symmetric; that is, if a ≡ b mod n, then b ≡ a mod n.
Show that ≡ is transitive; that is, if a ≡ b mod n and b ≡ c mod n, then a ≡ c mod n.
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.