gcd(74360, 84942) = 286
74360 = 23 x 5 x 11 x 132
84942 = 2 x 33 x 112 x 13
gcd = 2 x 11 x 13 = 286
GCD(125, 225) = 25 GCD(125, 225) = 25 GCD(125, 225) = 25 GCD(125, 225) = 25
GCD: 1 LCM: 170
Euclid's algorithm is a popular algorithm to compute the GCD of two numbers. Algorithm: Gcd(a,b) = Gcd(b, a mod b), where a>=b and Gcd(a,0) = a Say we want to find the GCD of 72 and 105. 105 mod 72 = 33, so GCD(72,105) = GCD(33,72) 72 mod 33 = 6, so GCD(33,72) = GCD(6,33) 33 mod 6 = 3 so GCD(6,33) = GCD(3,6) 6 mod 3 = 0 so GCD(3,6) = GCD(0,3) = 3. So the GCD of 72 and 105 is 3.
If that's greatest common factor and greatest common divisor, there is no difference between them.
GCD: 75
GCD: 4
GCD: 73
GCD: 1
GCD: 1
GCD: 648
GCD: 3
GCD: 21