{"image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/158934417/1702097020779738","description":"\u89e3\u8aac\u52d5\u753b\u306f\u3053\u3061\u3089\u3067\u3059\uff0e 1. \u6982\u8981 \u672c\u8a18\u4e8b\u3067\u306f\uff0cEuclid \u306e\u4e92\u9664\u6cd5\uff08Euclidean Algorithm\uff09\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\uff0e Euclid \u306e\u4e92\u9664\u6cd5\u306f 2 \u3064\u306e\u6574\u6570\u306e\u6700\u5927\u516c\u7d04\u6570\uff08gcd\uff09\u3092\u6c42\u3081\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u3057\u3066\u6709\u540d\u3067\u3059\uff0e\u3057\u304b\u3057\uff0c\u305d\u306e\u5fdc\u7528\u306f\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b\u3053\u3068\u3060\u3051\u306b\u7559\u307e\u308a\u307e\u305b\u3093\uff0e \u7279\u306b Euclid \u306e\u4e92\u9664\u6cd5\u306e\u5fdc\u7528\u3068\u3057\u3066\u5c0e\u304b\u308c\u308b B\u00e9zout \u306e\u7b49\u5f0f\u306f\u91cd\u8981\u3067\uff0c\u305d\u3053\u304b\u3089\u6b21\u306e\u3088\u3046\u306a\u521d\u7b49\u6574\u6570\u8ad6\u306e\u7d50\u679c\uff08\u3042\u308b\u3044\u306f\u305d\u308c\u3092\u6c42\u3081\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\uff09\u304c\u6b21\u3005\u3068\u5c0e\u304b\u308c\u307e\u3059\uff0e $\\mathrm{mod}$ \u4e57\u7b97\u306b\u95a2\u3059\u308b\u9006\u5143\u306e\u5b58\u5728\u6761\u4ef6\uff0c\u8a08\u7b97\u65b9\u6cd5\uff0e $1$ \u6b21\u5408\u540c\u5f0f $ax\\equiv b\\pmod{m}$ \u306e\u89e3\u6cd5\u2026","height":"190","provider_url":"https://hatena.blog","author_name":"atcoder","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Feuclidean_algorithm\" title=\"Euclid \u306e\u4e92\u9664\u6cd5 - AtCoderInfo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/atcoder/","blog_url":"https://info.atcoder.jp/","published":"2026-04-10 14:15:59","title":"Euclid \u306e\u4e92\u9664\u6cd5","provider_name":"Hatena Blog","version":"1.0","blog_title":"AtCoderInfo","url":"https://info.atcoder.jp/entry/algorithm_lectures/euclidean_algorithm","categories":["\u6574\u6570\u8ad6","Euclid \u306e\u4e92\u9664\u6cd5","B\u00e9zout \u306e\u7b49\u5f0f"]}