<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Project-Euler on Daniel Mejía R.</title>
		<link>https://daniel-m.github.io/tags/project-euler/</link>
		<description>Recent content in Project-Euler on Daniel Mejía R.</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Wed, 05 Aug 2026 18:37:09 -0500</lastBuildDate>
		
			<atom:link href="https://daniel-m.github.io/tags/project-euler/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Project Euler - Problem 1 - Multiples of 3 and 5</title>
				<link>https://daniel-m.github.io/2026/08/project-euler-problem-1-multiples-of-3-and-5/</link>
				<pubDate>Wed, 05 Aug 2026 18:37:09 -0500</pubDate>
				<guid>https://daniel-m.github.io/2026/08/project-euler-problem-1-multiples-of-3-and-5/</guid>
				<description>&lt;h1 id=&#34;problem-1---multiples-of-3-and-5&#34;&gt;&#xA;  Problem 1 - Multiples of 3 and 5&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#problem-1---multiples-of-3-and-5&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://projecteuler.net/problem=1&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;problem statement&lt;/a&gt; asks to find the sum of all multiples of 3 and 5 not greater than 1000.&lt;/p&gt;&#xA;&lt;h2 id=&#34;bruteforcing-solution&#34;&gt;&#xA;  Bruteforcing solution&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#bruteforcing-solution&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;To bruteforce the solution it is enough to generate a list of multiples, prevent double counting and then perform the sum. In order to test Object Oriente Design I&amp;rsquo;ll be overengineering the solution.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
