Using the Prime factorization formula, we can find the greatest common factor (GCF) of 12 and 18. To find the GCF we divide the number by the square root of the number (as in the formula). When we divide the number by the square root of both numbers, we get the greatest common factor (HCF)….