For the benefit of the members on this mailing list, I am cross-posting a <a href="http://bit.ly/JmB931">question </a>I asked on StackOverflow and the excellent answers therein. <div><br></div><div>&quot;<span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left">I hacked together several code snippets from various sources and created a</span><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left"> </span><a href="http://dl.dropbox.com/u/10901898/yearcalc.rkt" style="font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;color:rgb(74,107,130);text-decoration:none">crude implementation</a><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left"> </span><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left">of a Wolfram Blog article at</span><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left"> </span><a href="http://bit.ly/HWdUqK" style="font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;vertical-align:baseline;background-image:initial;color:rgb(74,107,130);text-decoration:none">http://bit.ly/HWdUqK</a><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left"> </span><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left">- for those of you that are mathematically inclined, this might be very interesting. </span><span style="background-color:rgb(255,255,255);font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left">Not surprisingly, given that I&#39;m still a novice at Racket, the code takes too much time to calculate the results (&gt;90 min versus 49 seconds for the author) and eats up a lot of memory. I suspect it is all about the definition (expListY) which needs to be reworked. A</span><span style="font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;font-size:14px;line-height:18px;text-align:left">nybody want to take a stab at improving the performance and efficiency? I apologize for the unintelligible code and lack of better code comments.&quot;</span></div>
<div><br></div><div>  % ashok</div>