greatest common divisor (Dijkstra)
gcd(
,
)