Rosetta Problems

拡張ユークリッドの互除法

整数 a,ba, b が与えられ、ax+by=gcd⁡(a,b)ax + by = \gcd(a, b) を満たす整数 (x,y)(x, y) を 11 つ求める。

関連リンク