<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Project Euler Problem 3</title>
	<link>http://basildoncoder.com/blog/2008/04/07/project-euler-problem-3/</link>
	<description>Incoherent and disjointed opinionated drivel from somewhere near London</description>
	<pubDate>Sat, 22 Nov 2008 16:17:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: -jn-</title>
		<link>http://basildoncoder.com/blog/2008/04/07/project-euler-problem-3/#comment-913</link>
		<dc:creator>-jn-</dc:creator>
		<pubDate>Sun, 20 Apr 2008 00:09:18 +0000</pubDate>
		<guid>http://basildoncoder.com/blog/2008/04/07/project-euler-problem-3/#comment-913</guid>
		<description>Interesting! I learned a bit more Python by reading your post.

With respect to "only generate primes up to the square root of N", no fudge-factor is needed. Simply keep track of the running quotient. After dividing 15 by 3 to get a quotient of 5, and verifying that 4 is &#62; &#8730;15, you know that 5 is prime.

It can't have two factors greater than &#8730;15 else it woud be &#62; 15 itself. It can't have a factor less than &#8730;15, because all of those factors have already been eliminated.

Thanks for keeping it going!</description>
		<content:encoded><![CDATA[<p>Interesting! I learned a bit more Python by reading your post.</p>
<p>With respect to &#8220;only generate primes up to the square root of N&#8221;, no fudge-factor is needed. Simply keep track of the running quotient. After dividing 15 by 3 to get a quotient of 5, and verifying that 4 is &gt; &radic;15, you know that 5 is prime.</p>
<p>It can&#8217;t have two factors greater than &radic;15 else it woud be &gt; 15 itself. It can&#8217;t have a factor less than &radic;15, because all of those factors have already been eliminated.</p>
<p>Thanks for keeping it going!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prime time programming &#171; Sliding up the banister</title>
		<link>http://basildoncoder.com/blog/2008/04/07/project-euler-problem-3/#comment-912</link>
		<dc:creator>Prime time programming &#171; Sliding up the banister</dc:creator>
		<pubDate>Sat, 19 Apr 2008 23:32:29 +0000</pubDate>
		<guid>http://basildoncoder.com/blog/2008/04/07/project-euler-problem-3/#comment-912</guid>
		<description>[...] noticed that Basildon Coder had a post on this same problem. I held off reading it until after working through my own approach, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] noticed that Basildon Coder had a post on this same problem. I held off reading it until after working through my own approach, [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.226 seconds -->
