Expand description

拡張ユークリッド互除法

Functions

  • 拡張ユークリッド互除法により, $ax + by = \gcd(a, b)$ を満たす $(x, y, \gcd(a,b))$ を求める.
  • 拡張ユークリッド互除法によりモジュラ逆元を計算する.