Skip to content

Instantly share code, notes, and snippets.

@brianium
Created August 28, 2012 19:29
Show Gist options
  • Save brianium/3503057 to your computer and use it in GitHub Desktop.
Save brianium/3503057 to your computer and use it in GitHub Desktop.
euler problem 1
(for(i <- 1 to 999 if(i % 3 == 0 || i % 5 == 0)) yield i) reduceLeft(_ + _)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment