Project Euler Problem 014 in Clojure