<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Project Euler and Calc Mode</title>
	<atom:link href="http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/</link>
	<description>Leveraging Perl and Emacs</description>
	<lastBuildDate>Tue, 07 May 2013 11:25:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Interesting Emacs Links - 2009 Week 9 &#171; A Curious Programmer</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7302</link>
		<dc:creator><![CDATA[Interesting Emacs Links - 2009 Week 9 &#171; A Curious Programmer]]></dc:creator>
		<pubDate>Sun, 01 Mar 2009 17:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7302</guid>
		<description><![CDATA[[...] others, I should also point out my own posts on solving mathematical problems using calc mode and on mapping aliases to dired [...]]]></description>
		<content:encoded><![CDATA[<p>[...] others, I should also point out my own posts on solving mathematical problems using calc mode and on mapping aliases to dired [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7279</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Sun, 22 Feb 2009 18:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7279</guid>
		<description><![CDATA[Hi Rider,

I&#039;d be interested to see that research, but I guess the story isn&#039;t _too_ incredible.]]></description>
		<content:encoded><![CDATA[<p>Hi Rider,</p>
<p>I&#8217;d be interested to see that research, but I guess the story isn&#8217;t _too_ incredible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rider of Giraffes</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7277</link>
		<dc:creator><![CDATA[Rider of Giraffes]]></dc:creator>
		<pubDate>Sun, 22 Feb 2009 10:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7277</guid>
		<description><![CDATA[Research suggests that Mel was real, and that the incidents recounted did actually happen.]]></description>
		<content:encoded><![CDATA[<p>Research suggests that Mel was real, and that the incidents recounted did actually happen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7276</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Sat, 21 Feb 2009 21:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7276</guid>
		<description><![CDATA[Ah yes, I know about that one, and also max-specpdl-size that is also often required at the same time.  I probably didn&#039;t know about it when I was trying to solve problem 26 though.

Thanks.


(let ((max-lisp-eval-depth 10000)
      (max-specpdl-size 10000))
  (length (primes 1 10000)))
]]></description>
		<content:encoded><![CDATA[<p>Ah yes, I know about that one, and also max-specpdl-size that is also often required at the same time.  I probably didn&#8217;t know about it when I was trying to solve problem 26 though.</p>
<p>Thanks.</p>
<p>(let ((max-lisp-eval-depth 10000)<br />
      (max-specpdl-size 10000))<br />
  (length (primes 1 10000)))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phayes</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7275</link>
		<dc:creator><![CDATA[phayes]]></dc:creator>
		<pubDate>Sat, 21 Feb 2009 19:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7275</guid>
		<description><![CDATA[Hi Jared,

(let ((max-lisp-eval-depth 1000)) (primes 2 997))

:)]]></description>
		<content:encoded><![CDATA[<p>Hi Jared,</p>
<p>(let ((max-lisp-eval-depth 1000)) (primes 2 997))<br />
 <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7274</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Sat, 21 Feb 2009 17:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7274</guid>
		<description><![CDATA[Hi Phayes,

No, it wouldn&#039;t have found it if the answer hadn&#039;t been in that range.  However, I originally ran it on all the numbers (not just prime) between 2 and 999.  It took a few seconds to run and determined the correct result.  It wasn&#039;t really necessary to restrict the search to just primes.

I actually solved the problem a few months ago so I forget why I chose a range of 900 to 1000.  Could it be because recursion is extremely limited in emacs and it was unable to generate primes from 2 to 999?]]></description>
		<content:encoded><![CDATA[<p>Hi Phayes,</p>
<p>No, it wouldn&#8217;t have found it if the answer hadn&#8217;t been in that range.  However, I originally ran it on all the numbers (not just prime) between 2 and 999.  It took a few seconds to run and determined the correct result.  It wasn&#8217;t really necessary to restrict the search to just primes.</p>
<p>I actually solved the problem a few months ago so I forget why I chose a range of 900 to 1000.  Could it be because recursion is extremely limited in emacs and it was unable to generate primes from 2 to 999?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phayes</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/21/project-euler-and-calc-mode/#comment-7273</link>
		<dc:creator><![CDATA[phayes]]></dc:creator>
		<pubDate>Sat, 21 Feb 2009 11:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=256#comment-7273</guid>
		<description><![CDATA[Did you only try the primes between 900 and 1000? I notice the largest prime d &lt; 1000 which generates a d-1 length cyclic (is a full reptend prime) is the 166th prime, 983  - so it must be the right answer - but not all primes do so. All you can say of any prime d is that the length of its reciprocal decimal digit cycle divides d-1. Would your program have been certain to find the right answer if there had been no full reptend primes in that interval?]]></description>
		<content:encoded><![CDATA[<p>Did you only try the primes between 900 and 1000? I notice the largest prime d &lt; 1000 which generates a d-1 length cyclic (is a full reptend prime) is the 166th prime, 983  &#8211; so it must be the right answer &#8211; but not all primes do so. All you can say of any prime d is that the length of its reciprocal decimal digit cycle divides d-1. Would your program have been certain to find the right answer if there had been no full reptend primes in that interval?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
