{"width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/","author_name":"inamori","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090608%2Fp1\" title=\"Project Euler 182 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc http://projecteuler.net/index.php Q182. p = 1009\u3001q = 3643\u306e\u3068\u304d\u3001n = pq\u3001\u03c6(n) = (p - 1)(q - 1)\u3068\u3057\u3066\u30011 < e < \u03c6(n)\u304b\u3064(e, \u03c6(n)) = 1\u306ee\u306b\u3064\u3044\u3066\u3001me \u2261 m(mod n)\u3068\u306a\u308b0 \u2264 m < n\u306em\u306e\u500b\u6570\u3092\u5f97\u305f\u3068\u304d\u3001\u6700\u5c0f\u306em\u306e\u500b\u6570\u3092\u6301\u3064e\u306e\u7dcf\u548c\u3092\u6c42\u3081\u3088\u3002 e\u3067\u306f\u306a\u304f\u3001m\u306b\u3064\u3044\u3066\u8003\u3048\u308b\u3002(m, n) = 1\u306e\u3068\u304d\u3001me \u2261 1(mod n)\u3068\u306a\u308be\u304c\u3042\u308b\u304b\u3089\u3001\u305d\u306e\u3088\u3046\u306a\u6700\u5c0f\u306ee\u3092\u6c42\u3081\u308c\u3070\u3088\u3044\u3002\u305d\u3046\u3059\u308b\u3068e\u306e\u500d\u6570\u306b\u3064\u3044\u3066\u3082\u3001\u3053\u306e\u5270\u4f59\u5f0f\u304c\u6210\u308a\u7acb\u3061\u3001e\u306e\u500d\u6570\u4ee5\u5916\u3067\u306f\u6210\u308a\u7acb\u2026","url":"https://inamori.hateblo.jp/entry/20090608/p1","image_url":null,"type":"rich","version":"1.0","provider_url":"https://hatena.blog","categories":["\u6570\u5b66","Python"],"provider_name":"Hatena Blog","title":"Project Euler 182","published":"2009-06-08 00:00:00","blog_url":"https://inamori.hateblo.jp/","blog_title":"inamori\u2019s diary"}