Skip to content

Instantly share code, notes, and snippets.

@testfirstcoder
Created November 5, 2015 14:46
Show Gist options
  • Save testfirstcoder/d4ca4442e0044fa12aec to your computer and use it in GitHub Desktop.
Save testfirstcoder/d4ca4442e0044fa12aec to your computer and use it in GitHub Desktop.
ProjectEuler in Erlang
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