You can use Euclid's algorithm to calculate the gcf of two of
the numbers - then use Euclid's algorithm again with the result and
the third number.Or you can factor all the numbers into prime
factors, and check which prime factors occur in all three
numbers.