Created
August 4, 2011 13:51
-
-
Save ddeaguiar/1125190 to your computer and use it in GitHub Desktop.
Project Euler problem #1 solution in clojure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(apply + | |
(filter #(or (= 0 (mod % 3)) | |
(= 0 (mod % 5))) | |
(range 1 1000))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/xmlblog/euler-clj/blob/b361035d2bb5bf8ccd28808ffbd13b3691c2f886/src/euler/core.clj
I started the same way...