Created
November 2, 2019 13:16
-
-
Save tounan/356e27d0200b8a2e796f78a1c8037113 to your computer and use it in GitHub Desktop.
Computes the largest known prime up to now
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gmpy2 import mpz | |
mp = mpz('2') ** mpz('82589933') - mpz('1') | |
prime = str(mp) | |
open('prime82589933.txt', 'wt').write(prime) | |
exit(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment