<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi Ken --<div><br></div><div>Just a quick question to make sure we are all on the &quot;same page,&quot; as it were: have you completed all exercises in prior sections?</div>

<div><br></div><div>Dave</div></span><br><div class="gmail_quote">On Sat, Nov 6, 2010 at 2:24 PM, Ken Hegeland <span dir="ltr">&lt;<a href="mailto:hegek87@yahoo.com">hegek87@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Something that looks like this:<br><br>(define(tabulate1 n i)<br>(cond<br>[(&gt; i n)empty]<br>[(=(remainder n i)0)(cons i(tabulate1 n(add1 i)))]<br>

[else(tabulat1 n(add1 i))]))<br><br>(define(tabulate n)<br>(tabulate1 n 1))<br><br>I
 feel like I understand how it works recursively, just the generative 
recursion method makes me struggle. I do fully understand how move-ball,
 quick-sort, and gcd-generative work, this problem eludes me though. I 
have been re-reading what you say and nothing is really standing out 
just yet. I think whats really hurting me here is the fact that in the 
other examples the type of output matches the input(i.e ball becomes a 
ball with + x-delta and + y-delta, a list becomes a new list, 2 <span>natural numbers</span> become one.) It&#39;s throwing me off that a natural number should create a list.</td></tr></tbody></table><br>

      <br>_________________________________________________<br>
  For list-related administrative tasks:<br>
  <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br></blockquote></div><br>