Undergraduate Mathematics/Greatest common divisor