Name: sage 2010-12-06 17:54
(defun problem-5 (n i)
(cond
((< i 20) (if (equalp (mod n i) 0)
(problem-5 n (+ i 1))
((setq i 1) (problem-5 (+ n 1) i))))
((equalp i 20) (print n))))The error is in the
(setq i 1) line, it's an illegal function call but I can't see what I'm doing wrong.