The greatest common factor of two (or more) numbers is the product of all the prime factors the numbers have in common. There are three 2's common to both numbers, so 2*2*2 = 8 is the "greatest common factor" (GCF) of 16 and 24.