The greatest common factor (GCF) can be found in a similar fashion. In this case, the product of the prime factors common to all the numbers gives the HCF.
For example, if we wish to find the HCF of 60, 12 and 102 we write
Now the GCF is .
Two numbers which have an HCF of 1, for example 12 and 5, are said to be coprime - they have no factors in common (except 1).