{"image_url":null,"author_url":"https://blog.hatena.ne.jp/inamori/","provider_name":"Hatena Blog","width":"100%","description":"Q28. 1\u3092\u539f\u70b9\u306b\u30b9\u30d1\u30a4\u30e9\u30eb\u72b6\u306b\u81ea\u7136\u6570\u30921001*1001\u500b\u4e26\u3079\u305f\u3068\u304d\u306e\u3001\u5bfe\u89d2\u7dda\u4e0a\u306b\u3042\u308b\u6570\u306e\u548c \u53f3\u4e0b\uff1a4n2-2n+1 \u5de6\u4e0b\uff1a4n2 +1 \u5de6\u4e0a\uff1a4n2+2n+1 \u53f3\u4e0a\uff1a4n2+4n+1\u3068\u3044\u3046\u6570\u5217\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u548c\u3092\u53d6\u3063\u3066\u3001\u3055\u3089\u306b\u516c\u5f0f\u3092\u4f7f\u3063\u3066\u7dcf\u548c\u3092\u6c42\u3081\u308c\u3070\u3088\u3044\u3002 N = 1001 n = N / 2 print ( (16 * n + 30) * n + 26) * n / 3 + 1","height":"190","blog_url":"https://inamori.hateblo.jp/","blog_title":"inamori\u2019s diary","type":"rich","title":"Project Euler 28 \u5225\u89e3","version":"1.0","published":"2009-04-24 00:00:02","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090424%2Fp3\" title=\"Project Euler 28 \u5225\u89e3 - 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>","url":"https://inamori.hateblo.jp/entry/20090424/p3","provider_url":"https://hatena.blog","author_name":"inamori","categories":["\u6570\u5b66","Python"]}