<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60570</integer>
    </number>
    <user>
      <string>foof</string>
    </user>
    <title>
      <string>simple factor implementation</string>
    </title>
    <contents>
      <string>(define (factor n)
  (cond
    ((negative? n)
     (cons -1 (factor (- n))))
    ((&lt;= n 2)
     (list n))
    (else
     (let lp ((n n) (limit (inexact-&gt;exact (ceiling (sqrt n)))) (res (list)))
       (cond
         ((even? n)
          (lp (quotient n 2) (quotient limit 2) (cons 2 res)))
         ((= n 1)
          (reverse res))
         (else
          (let lp ((i 3) (n n) (limit limit) (res res))
            (cond
              ((&gt; i limit)
               (reverse (cons n res)))
              ((zero? (remainder n i))
               (lp i (quotient n i) (quotient limit i) (cons i res)))
              (else
               (lp (+ i 2) n limit res))))))))))
</string>
    </contents>
    <universal-time>
      <integer>3419475621</integer>
    </universal-time>
    <channel>
      <string>#scheme</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>