{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://inamori.hateblo.jp/entry/2025/02/01/090711","blog_url":"https://inamori.hateblo.jp/","height":"190","width":"100%","version":"1.0","categories":[],"image_url":null,"description":"https://projecteuler.net/problem=100\u30c8\u30fc\u30bf\u30eb\u306e\u30c7\u30a3\u30b9\u30af\u306e\u6570\u3092n\u3001\u9752\u3044\u30c7\u30a3\u30b9\u30af\u306e\u6570\u3092m\u3068\u3059\u308b\u3068\u3001 \u3053\u308c\u3092\u5909\u5f62\u3057\u3066\u3001 \u3053\u308c\u306fPell\u65b9\u7a0b\u5f0f\u3067\u3059\u3002\u89e3\u306f\u3001 \u3068\u66f8\u3051\u307e\u3059\u3002 import sys #################### process #################### # x^2 - 2y^2 = -1 fn next_solution(x: Int, y: Int) -> Tuple[Int, Int]: return (x*3 + y*4, x*2 + y*3) fn f(N: Int) -> Int: # (2n-1)^2 - 2(2m-\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F02%2F01%2F090711\" title=\"Mojo\u3067Project Euler 100 - 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>","published":"2025-02-01 09:07:11","title":"Mojo\u3067Project Euler 100","type":"rich","author_name":"inamori","blog_title":"inamori\u2019s diary","author_url":"https://blog.hatena.ne.jp/inamori/"}