The Euclidean Algorithm: difficulty 5

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Work modulo m=2021m = 2021.

  1. Use the Euclidean algorithm to find gcd⁡(645,2021)\gcd(645, 2021).
  2. Does 645 have a multiplicative inverse modulo 2021? Justify your answer without trying all residues.
  3. Use the extended Euclidean algorithm to find integers s,ts, t with 646s+2021t=1646s + 2021t = 1 and 0<s<20210 < s < 2021.
  4. Give the inverse of 646 modulo 2021 and use it to find the unique xx with 0≤x<20210 \le x < 2021 such that 646x≡5(mod2021)646x \equiv 5 \pmod{2021}.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More The Euclidean Algorithm Questions: