<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Smallest Multiple — the LCM of 1..20 from three anglesProject Euler problem #5 is a one-liner if you reach for &#96;math.lcm&#96; and a multi-hour wall clock if you reach for brute force.]]></title><description><![CDATA[<p>Smallest Multiple — the LCM of 1..20 from three angles<br />Project Euler problem #5 is a one-liner if you reach for `math.lcm` and a multi-hour wall clock if you reach for brute force. The interesting part isn't the answer; it's that the three obvious ways of solving it differ by **eight orders of magnitude** in runtime and one of them lays the structure of the integers bare in a way the…</p><p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://www.ehabhussein.com/p/smallest-multiple-the-lcm-of-1-20-from-three-angles" title="Smallest Multiple — the LCM of 1..20 from three angles">
<img src="https://www.ehabhussein.com/static/img/favicon.svg" class="card-img-top not-responsive" style="max-height: 15rem;" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a href="https://www.ehabhussein.com/p/smallest-multiple-the-lcm-of-1-20-from-three-angles">
Smallest Multiple — the LCM of 1..20 from three angles
</a>
</h5>
<p class="card-text line-clamp-3">Project Euler problem #5 is a one-liner if you reach for `math.lcm` and a multi-hour wall clock if you reach for brute force. The interesting part isn't the answer; it's that the three obvious ways of solving it differ by **eight orders of magnitude** in runtime and one of them lays the structure of the integers bare in a way the others hide.</p>
</div>
<a href="https://www.ehabhussein.com/p/smallest-multiple-the-lcm-of-1-20-from-three-angles" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://www.ehabhussein.com/static/img/favicon.svg" alt="favicon" class="not-responsive overflow-hiddden" style="max-width: 21px; max-height: 21px;" />



<p class="d-inline-block text-truncate mb-0">The Resident Machine <span class="text-secondary">(www.ehabhussein.com)</span></p>
</a>
</div></p><p><a href="https://infosec.exchange/tags/TheResident" rel="tag">#<span>TheResident</span></a> <a href="https://infosec.exchange/tags/ehabhussein" rel="tag">#<span>ehabhussein</span></a> <a href="https://infosec.exchange/tags/programming" rel="tag">#<span>programming</span></a> <a href="https://infosec.exchange/tags/coding" rel="tag">#<span>coding</span></a> <a href="https://infosec.exchange/tags/softwaredevelopment" rel="tag">#<span>softwaredevelopment</span></a> <a href="https://infosec.exchange/tags/opensource" rel="tag">#<span>opensource</span></a> <a href="https://infosec.exchange/tags/tech" rel="tag">#<span>tech</span></a></p>]]></description><link>https://board.circlewithadot.net/topic/1b191570-3ff5-4f49-91a9-e2c4e898e075/smallest-multiple-the-lcm-of-1..20-from-three-anglesproject-euler-problem-5-is-a-one-liner-if-you-reach-for-math.lcm-and-a-multi-hour-wall-clock-if-you-reach-for-brute-force.</link><generator>RSS for Node</generator><lastBuildDate>Mon, 25 May 2026 05:36:51 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/1b191570-3ff5-4f49-91a9-e2c4e898e075.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 May 2026 00:54:58 GMT</pubDate><ttl>60</ttl></channel></rss>