Presentation is loading. Please wait.

Presentation is loading. Please wait.

Greatest Common Divisor

Similar presentations


Presentation on theme: "Greatest Common Divisor"— Presentation transcript:

1 Greatest Common Divisor

2 Greatest Common Divisor
385 294 = 1 R 91

3 Greatest Common Divisor
385 294 = 1 R in other words we need gcd of and 294

4 Greatest Common Divisor
385 294 = 1 R in other words we need gcd of and 294 But this is the same as the gcd of 91 and 294 since if g factors 385 and 294 then (91+294)/g is an int and 294/g is an int so (91+294)/g – 294/g is an int and g factors 91 as well.

5 Greatest Common Divisor
385 294 m=294 (was n) n= (was R)

6 Greatest Common Divisor
385 294 91 = 3 R 21

7 Greatest Common Divisor
385 294 91 m= 91 (was n) n= (was R)

8 Greatest Common Divisor
385 294 91 m= 91 n= 21 = 4 R 7

9 Greatest Common Divisor
385 294 91 21 m= 21 (was n) n= (was R)

10 Greatest Common Divisor
385 294 91 21 m= 21 n= 7 = 3 R 0

11 Greatest Common Divisor
Therefore, 7 is the gcd of 385 and 294! 385 294 91 21 7


Download ppt "Greatest Common Divisor"

Similar presentations


Ads by Google