<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Project Euler: Add all the natural numbers below one thousand that are multiples of 3 or 5.'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 17:32:48 GMT</pubDate>
<item>
<title>marcospereira said on 12/22/08</title>
<link>http://snipplr.com/view/10460/project-euler-add-all-the-natural-numbers-below-one-thousand-that-are-multiples-of-3-or-5/</link>
<description><![CDATA[ Or maybe the math way if you consider that multiples will form a [arithmetic progression](http://en.wikipedia.org/wiki/Arithmetic_progression). ]]></description>
<pubDate>Mon, 22 Dec 2008 13:29:00 GMT</pubDate>
<guid>http://snipplr.com/view/10460/project-euler-add-all-the-natural-numbers-below-one-thousand-that-are-multiples-of-3-or-5/</guid>
</item>
<item>
<title>marcospereira said on 12/22/08</title>
<link>http://snipplr.com/view/10460/project-euler-add-all-the-natural-numbers-below-one-thousand-that-are-multiples-of-3-or-5/</link>
<description><![CDATA[ Or you could just write one single line:

    (1..999).findAll { it % 3 == 0 || it % 5 ==0 }.sum()

Kind Regards ]]></description>
<pubDate>Mon, 22 Dec 2008 13:16:50 GMT</pubDate>
<guid>http://snipplr.com/view/10460/project-euler-add-all-the-natural-numbers-below-one-thousand-that-are-multiples-of-3-or-5/</guid>
</item>
</channel>
</rss>