Skip to content

Instantly share code, notes, and snippets.

@truncs
Created July 17, 2012 07:40
Show Gist options
  • Save truncs/3127839 to your computer and use it in GitHub Desktop.
Save truncs/3127839 to your computer and use it in GitHub Desktop.
Project Euler
f = lambda x : x * (x + 1) / 2
f(999/3)*3 + f(999/5)*5 - f(999/15)*15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment