{"categories":["Project Euler"],"author_url":"https://blog.hatena.ne.jp/muchance/","url":"https://blog.muchance.jp/entry/2017/04/23/233000","title":"Project Euler 5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.muchance.jp%2Fentry%2F2017%2F04%2F23%2F233000\" title=\"Project Euler 5 - mu chance or much chance ?\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.muchance.jp/","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"blog_title":"mu chance or much chance ?","provider_name":"Hatena Blog","width":"100%","height":"190","type":"rich","published":"2017-04-23 23:30:00","author_name":"muchance","description":"\u554f\u984c Problem 5\uff1aSmallest multiple 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? \u89e3\u7b54\u4f8b def gcd(m, n): while n: m, n = n, m % n return m def lcm(m, \u2026"}