The largest positive integer that divides two or more numbers without leaving a remainder.

Implementation

Usage

var result = Arithmetic.GCD(10, 20);

Tests