greatest common divisor 1280 x 1024