Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created June 4, 2012 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/2866484 to your computer and use it in GitHub Desktop.
Save dLobatog/2866484 to your computer and use it in GitHub Desktop.
Project euler 1
(reduce +
(filter (fn[x] (or (zero? (rem x 5))
(zero? (rem x 3))))
(range 0 1000)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment