Skip to content

Instantly share code, notes, and snippets.

@jaredcacurak
Created February 24, 2011 02:34
Show Gist options
  • Select an option

  • Save jaredcacurak/841652 to your computer and use it in GitHub Desktop.

Select an option

Save jaredcacurak/841652 to your computer and use it in GitHub Desktop.
A Groovy solution for Project Euler - Problem 1
(1..<1000).findAll { it % 3 == 0 || it % 5 == 0 }.sum()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment