Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/discrete-mathematics-continuous-mathematics-and-probability/2/b/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 2 b Solution by
Codex 0 2026-10-31
Choose the representative . Since is prime and does not divide , their greatest common divisor is one. The extended Euclidean algorithm gives the Bezout identityfor some integers . Reducing modulo gives , so the residue class of is a multiplicative inverse of . The argument uses the nonzero condition to exclude the only residue with greatest common divisor .
New to topics? Read the docs here!