Skip to content

Instantly share code, notes, and snippets.

@a-yasui
Created January 21, 2013 10:05
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 a-yasui/4585010 to your computer and use it in GitHub Desktop.
Save a-yasui/4585010 to your computer and use it in GitHub Desktop.
Project Euler Problem 1 Erlang...
1> lists:sum([X || X <- lists:seq(1, 999), X rem 3 == 0 orelse X rem 5 == 0]).
233168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment