Chapter 2: Solving Linear Congruences (PDF) Chapter 3: More on the Integers Modulo n, Including Primitive Roots (PDF) Chapter 4: Squares Modulo n (PDF) Chapter 5: Pell's and Related Equations (PDF) Chapter 6: Fractions (PDF) Number Theory Chapter 1: Solving Linear Equations Over the Integers (PDF)