Oracle Interview Question

One is to find gcd and another mathematical question.