A2 October 2021 Q3

EdexcelCurrent spec8 marksNumber Theory

3.

(a) Use the Euclidean Algorithm to find integers \(a\) and \(b\) such that\[125a + 87b = 1\] (5)
(b) Hence write down a multiplicative inverse of 87 modulo 125 (1)
(c) Solve the linear congruence\[87x \equiv 16 \pmod{125}\] (2)