1

Euclidean Algorithm and GCD

easy15 pts

Statement#

Using the Euclidean algorithm:

  1. Find gcd(1071,462)\gcd(1071, 462)
  2. Express the GCD as a linear combination: gcd(1071,462)=1071s+462t\gcd(1071, 462) = 1071s + 462t for integers ss and tt

Required Topics#

  • Division algorithm
  • Euclidean algorithm
  • Greatest common divisor (GCD)
  • Bézout's identity
  • Extended Euclidean algorithm

The Euclidean Algorithm#

For integers aa and bb with a>b>0a > b > 0:

  1. Divide: a=bq+ra = bq + r where 0r<b0 \leq r < b
  2. If r=0r = 0, then gcd(a,b)=b\gcd(a,b) = b
  3. Otherwise, replace (a,b)(a,b) with (b,r)(b,r) and repeat

What to Find#

  1. Show all steps of the Euclidean algorithm
  2. Find the GCD
  3. Work backwards to find integers ss and tt

Solution#

Solution coming soon.

Hints (4)

Topics Needed

euclidean-algorithmgcdbezouts-identity

Prerequisites

  • division-algorithm
  • basic-number-theory

Statistics

0
Total Attempts
0%
Success Rate
0%
First Try Success
0%
Completion Rate