Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

Appendix 4: Number theory

Appendix 4: Number theory

pp. 625-639

Authors

, , Massachusetts Institute of Technology
  • Add bookmark
  • Cite
  • Share

Summary

Understanding some elementary number theory is necessary if we are to understand cryptosystems and how quantum computers can be used to break them. In this appendix we review some basic facts about number theory.

Fundamentals

Let's start off by agreeing about a few conventions for nomenclature and notation. The set of integers is the set {…, −2, −1, 0, 1, 2, …}, denoted Z. We may occasionally refer to the natural numbers, meaning non-negative integers, but more often we'll say non-negative integer or positive integer, in order to make the distinction between the case when zero is included, and when zero is not included.

Suppose n is an integer. An integer d divides n (written d|n) if there exists an integer k such that n = dk. We say in this case that d is a factor or divisor of n. Notice that 1 and n are always factors of n. When d does not divide (is not a factor of) n we write dn. For example, 3|6 and 3|18, but 3∤|5 and 3∤7.

Exercise A4.1: (Transitivity) Show that if a|b and b|c then a|c.

Exercise A4.2: Show that if d|a and d|b then d also divides linear combinations of a and b, ax + by, where x and y are integers.

Exercise A4.3: Suppose a and b are positive integers. Show that if a|b then ab. Conclude that if a|b and b|a then a = b.

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$89.00
Hardback
US$89.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers