摘要:
#attachment.py from gmpy2 import lcm , powmod , invert , gcd , mpz from Crypto.Util.number import getPrime from sympy import nextprime from random imp 阅读全文
摘要:
a = 111 b = 321 from gmpy2 import lcm , gcd gcd_res = gcd(a,b) lcm_res = lcm(a,b) #gcd_res = x1*a x1 = a/gcd_res #gcd_res = y1*b y1 = b/gcd_res #lcm_r 阅读全文