"[The Euclidean algorithm] is the granddaddy of all algorithms, because it is the oldest nontrivial algorithm
that has survived to the present day."

-- Donald Knuth, The Art of Computer Programming, Vol. 2: Seminumerical Algorithms, 2nd edition (1981).

The Greatest Common Divisor

The greatest common divisor (GCD), also known as the greatest common factor of two or more integers (at least one of which is not zero), is the largest positive integer that divides a number without a remainder. For example, the GCD of 8 and 12 is 4.

You are given an arbitrary number of positive integers. You...

You should be an authorized user in order to see the full description and start solving this mission.