GCD function

Greatest Common Divisor and Least Common Multiple