Comments 7
На clojure можно и без «for» чисто функционально написать:

(defn factors [number]
(filter #(is-factor? % number) (range 1 number)))

Также можно «удешевить» sum-factors:

(defn sum-factors [number]
(apply + (factors number)))
UFO landed and left these words here
Only those users with full accounts are able to leave comments. Log in, please.