Skip to content

Instantly share code, notes, and snippets.

@boxp
Created June 22, 2013 14:15
Show Gist options
  • Save boxp/5841027 to your computer and use it in GitHub Desktop.
Save boxp/5841027 to your computer and use it in GitHub Desktop.
clojureでproject-eulerに挑戦 〜第一問〜
(reduce +
(filter
(fn [x]
(or (= 0 (rem x 5))
(= (rem x 3))))
(range 1 1001)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment