ExamBank Scot · AH Maths question bank · All AH Maths questions
4 marks · Number theory
Use the Euclidean algorithm to find integers and such that
•1 start process 1 •2 obtain remainder of 17 •3 express gcd in terms of 306 and 119 •4 obtain and 2,3 •1 306 = 2×119 + 68 (119 = 1×68 + 51) •2 68 = 1×51 + 17 (51 = 3×17) •3 17 = −1×119 + 2 (306 − 2 × 119) •4 = −5 Notes: 1. At •2 the gcd and the final line of working do not have to be stated explicitly. 2. The minimum requirement for •4 is 306 × 2 + 119 × (−5) = 17. 3. Do not accept 306 × 2 − 119 × 5 = 17 where the values of and have not been explicitly stated. Commonly Observed Responses: