Cryptography, Cybersecurity.
(len(factors)>1): print(f"Factors found: {int(factors[0])}, {int(factors[1])}") else: print("No factors discovered") print(f"\nThe originally generator factors were: p={p}, q={q}") And a sample run is [here]: Number of bits in prime=16 and 233-powersmooth Result: True Factors found: 48337, 23663