{"type":"rich","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090722%2Fp1\" title=\"Project Euler 228 - 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>","categories":["\u6570\u5b66","Python"],"height":"190","blog_url":"https://inamori.hateblo.jp/","description":"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30a4\u30e9\u30fc http://projecteuler.net/ Q228. Sn\u3092\u3001\u9802\u70b9\u304c xk = cos(\u03c0(2k - 1) / n) yk = sin(\u03c0(2k - 1) / n) \u306e\u6b63n\u89d2\u5f62\u3068\u3059\u308b\u3002 \u30df\u30f3\u30b3\u30d5\u30b9\u30ad\u30fc\u548c\u3001S + T\u3092\u3001\u305d\u308c\u305e\u308c\u306e\u591a\u89d2\u5f62\u306e\u5185\u90e8\u306e\u70b9\u306e\u4f4d\u7f6e\u30d9\u30af\u30c8\u30eb\u540c\u58eb\u306e\u548c\u304b\u3089\u306a\u308b\u591a\u89d2\u5f62\u3068\u3059\u308b\u3002S1864 + S1865 + ... + S1909\u306f\u4f55\u89d2\u5f62\u304b\u3002 \u666e\u901a\u306b\u7d44\u3093\u3060\u3089\u3084\u3063\u3071\u308a\u9045\u304b\u3063\u305f\u306e\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4e0a\u306e\u5de5\u592b\u3068\u6570\u5b66\u7684\u306a\u5de5\u592b\u3092\u4e00\u3064\u305a\u3064\u5165\u308c\u305f\u3089\u3001\u306a\u3093\u3068\u304b\u7b54\u3048\u304c\u51fa\u305f\u3002\u975e\u5e38\u306b\u9045\u3044\u3057\u3001\u307e\u3060\u5de5\u592b\u3059\u308b\u4f59\u5730\u306f\u3042\u308b\u304c\u3001\u3082\u3046\u6c17\u529b\u304c\u306a\u3044\u3002","provider_name":"Hatena Blog","title":"Project Euler 228","url":"https://inamori.hateblo.jp/entry/20090722/p1","author_url":"https://blog.hatena.ne.jp/inamori/","published":"2009-07-22 00:00:00","provider_url":"https://hatena.blog","width":"100%","blog_title":"inamori\u2019s diary","author_name":"inamori"}