Skip to content

Instantly share code, notes, and snippets.

@austindoeswork
Created December 6, 2017 20:04
Show Gist options
  • Save austindoeswork/8fd70ae2e677324fec395dcc5562fc02 to your computer and use it in GitHub Desktop.
Save austindoeswork/8fd70ae2e677324fec395dcc5562fc02 to your computer and use it in GitHub Desktop.
for i in range(100):
for j in range(100):
print("%2d, %2d -- %2d %s" % (i, j, (i**2 - j**2)%4, (i**2 - j**2)%4==2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment