title: Can't seem to get this function to work in scheme
body: <p>Here is what I have done so far:</p>
  
  <pre><code>(define sumOdd
      (lambda(n)
          (cond((&gt; n 0)1)
               ((odd? n) (* (sumOdd n (-(* 2 n) 1)
  </code></pre>
  
  <p>output would look something like this:</p>
  
  <pre><code> (sumOdd 1)  ==&gt; 1
   (sumOdd 4)  ==&gt; 1 + 3 + 5 + 7 ==&gt; 16
   (sumOdd 5)  ==&gt; 1 + 3 + 5 + 7 + 9 ==&gt; 25 
  </code></pre>
  
  <p>This is what I am trying to get it to do: find the sum of the first N odd positive integers</p>
  
  <p>I can not think of a way to only add the odd numbers.</p>