gcd math application