Allen Chou says to YSITD https://crypto.stackexchange.com/questions/1970/how-are-primes-generated-for-rsa 找到了