Skip to content

Instantly share code, notes, and snippets.

@pawlos
Created December 23, 2017 15:08
Show Gist options
  • Save pawlos/dfce8ab3fe7a9fce529f51f33d5a1b1a to your computer and use it in GitHub Desktop.
Save pawlos/dfce8ab3fe7a9fce529f51f33d5a1b1a to your computer and use it in GitHub Desktop.
Solution to Day 23: Coprocessor Conflagration
h = 0
not_prime = False
for b in range(109300,126300+1,17):
not_prime = False
for d in range(2,b):
if b % d == 0:
not_prime = True
break
if not_prime:
h += 1
print h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment