Skip to content

Instantly share code, notes, and snippets.

@dholbrook
Created March 30, 2013 15:37
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 dholbrook/5277130 to your computer and use it in GitHub Desktop.
Save dholbrook/5277130 to your computer and use it in GitHub Desktop.
Euler 1
scala> (1 until 1000).filter{n => n % 5 == 0 || n % 3 == 0}.sum
res0: Int = 233168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment