Skip to content

Instantly share code, notes, and snippets.

@seamaner
Created August 16, 2021 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seamaner/1d3d656f1344a6c394dc44ca0b53bde3 to your computer and use it in GitHub Desktop.
Save seamaner/1d3d656f1344a6c394dc44ca0b53bde3 to your computer and use it in GitHub Desktop.
Chinese Remainder Theorem
for k in range(100):
a=17*k+5
if a % 11 == 3 and a % 5 == 2:
print a%935
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment