{"author_name":"inamori","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"height":"190","title":"Project Euler 130","image_url":null,"url":"https://inamori.hateblo.jp/entry/20100719/p1","blog_title":"inamori\u2019s diary","author_url":"https://blog.hatena.ne.jp/inamori/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100719%2Fp1\" title=\"Project Euler 130 - 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>","width":"100%","version":"1.0","provider_name":"Hatena Blog","type":"rich","blog_url":"https://inamori.hateblo.jp/","description":"http://projecteuler.net/index.php?section=problems&id=130 \u524d\u56de\u306e\u65b9\u6cd5\u3067\u3082\u5341\u5206\u901f\u304f\u7b54\u3048\u304c\u51fa\u307e\u3059\u304c\u3001\u3082\u3063\u3068\u901f\u3044\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u524d\u56de\u306f\u5c0f\u3055\u3044\u9577\u3055\u306erepunit\u304b\u3089\u4e00\u3064\u305a\u3064\u9806\u306b\u5272\u308a\u5207\u308c\u308b\u304b\u3069\u3046\u304b\u8abf\u3079\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u5168\u3066\u3092\u8abf\u3079\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u307e\u305a9\u304c\u7d9a\u304f\u6570\u3092\u8003\u3048\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u306f10k - 1\u3068\u8868\u305b\u307e\u3059\u3002\u3053\u308c\u304cn\u3067\u5272\u308a\u5207\u308c\u308b\u3068\u3059\u308b\u3068\u3057\u307e\u3059\u3002 10k \u2261 1(mod n) GCD(n, 10) = 1\u3060\u304b\u3089\u30aa\u30a4\u30e9\u30fc\u306e\u5b9a\u7406\u3088\u308a\u3001 10\u03c6(n) \u2261 1(mod n) \u3088\u3063\u3066\u3001\u4e0a\u3092\u6e80\u305f\u3059\u6700\u5c0f\u306ek\u306f\u03c6(n)\u306e\u7d04\u6570\u3068\u306a\u308a\u307e\u3059\u3002\u7d04\u6570\u3092\u5217\u6319\u3057\u3066\u6607\u9806\u306b\u2026","published":"2010-07-19 00:00:00","provider_url":"https://hatena.blog"}