awholenumber
- 200
- 10
When we try to find the Greatest common factor (GCF) of two numbers , does it only involve prime factorization ?


The discussion centers on the methods for calculating the Greatest Common Factor (GCF) and Least Common Multiple (LCM) of two numbers. Prime factorization is identified as one method to find the GCF, but it is not the only approach. Euclid's algorithm and the binary GCD algorithm are highlighted as efficient alternatives for calculating the GCD without requiring prime factorization. The relationship between GCF and LCM is established through the formula LCM(a, b) = a * b / GCD(a, b).
PREREQUISITESMathematicians, educators, students studying algebra, and anyone interested in number theory and efficient computational methods for GCD and LCM calculations.

Yes.rosekidcute said:Ok , so the same prime factorization is used to find the LCM too , right ?
rosekidcute said:Thanks for the information mfb , i am just trying to cover the algebra 1 for dummies book .
It doesn't have a method like this LCM(a, b)=a*b/GCD(a, b) mentioned in it .
rosekidcute said:lol ok , first let me somehow finish this one book properly![]()

FactChecker said:Yes. The GCF is a product of primes but is not usually a prime itself. Prime factorization of both numbers is the way to find out what the GCF is. If you have the prime factorization of both numbers, it is easy to calculate the GCF.
This is wrong. Euclid's very efficient algorithm for finding GCDs does not require doing anything at all with prime numbers.FactChecker said:Yes. The GCF is a product of primes but is not usually a prime itself. Prime factorization of both numbers is the way to find out what the GCF is. If you have the prime factorization of both numbers, it is easy to calculate the GCF.
Yes, that has been mentioned in post 6 for example.Michael Hardy said:But you don't need to know anything about prime factorizations to find the GCD; you can use Euclid's algorithm, which is very efficient.