Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created November 11, 2016 14:58
Show Gist options
  • Save AndyNovo/8ceca9584b5f7e3378002fe6b6e9d835 to your computer and use it in GitHub Desktop.
Save AndyNovo/8ceca9584b5f7e3378002fe6b6e9d835 to your computer and use it in GitHub Desktop.
p = 22382653690331959336999665583284427801
print p.is_prime()
for factor in (p-1).factor():
print factor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment