Created
November 5, 2015 14:46
-
-
Save testfirstcoder/d4ca4442e0044fa12aec to your computer and use it in GitHub Desktop.
ProjectEuler in Erlang
This file contains hidden or 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
lists:sum([X || X <- lists:seq(1, 1000 - 1), (X rem 3 == 0) or (X rem 5 == 0)]). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment