Skip to content

Instantly share code, notes, and snippets.

@bretkoppel
Last active December 21, 2015 05:38
Show Gist options
  • Save bretkoppel/6257933 to your computer and use it in GitHub Desktop.
Save bretkoppel/6257933 to your computer and use it in GitHub Desktop.
Clojure solution to Project Euler problem 1.
(reduce + (filter #(or (= 0 (mod % 3)) (= 0 (mod % 5))) (range 3 1000)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment