This is terrible, terrible code. Just stupendously terrible. The only reason I wrote it is because I was idly factoring by hand using dc(1) for about twenty minutes and got tired of it.
So please don't judge my coding, or Scheme, by the quality of the below. I know that the algorithm is braindead too.
(define (find-factors-seeded num . start-
(
Read more... )