Created
May 28, 2013 23:59
-
-
Save gdeer81/5667037 to your computer and use it in GitHub Desktop.
sum all numbers that are a multiple of 3 or 5 below 1000
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
(reduce + (flatten (conj (range 0 1000 5) (range 0 1000 3))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment