Skip to content

Instantly share code, notes, and snippets.

@goyuninfo
Created May 19, 2014 23:41
Show Gist options
  • Save goyuninfo/f711eb4cc15e79e97b48 to your computer and use it in GitHub Desktop.
Save goyuninfo/f711eb4cc15e79e97b48 to your computer and use it in GitHub Desktop.
Project Euler Smallest multiple
i=19
while 1:
i=i+19
if i%17 !=0:
continue
if i%16 !=0:
continue
if i%15 !=0:
continue
if i%14 !=0:
continue
if i%13 !=0:
continue
if i%11 !=0:
continue
if i%9 !=0:
continue
break
print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment