一、法一:一个合数的所有因数最大的不会超过这个数的开方 a b = n ab=n ab=n a < = s q r t ( n ) a<=sqrt(n) a<=sqrt(n) b < = s q r t ( n ) b<=sqrt(n) b<=