-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hello,
I am iterating through a large sequence of primes starting from 5 and ending near 10 bln. and for specific primes call SIQR.factor(prime - 1). But after the very first iterations the loop hangs. After a short debugging found out that when SIQR.factor() is given 180 as a parameter, the algorithm behaves unpredictably. It sometimes returns the correct factorization (but it takes several seconds), but almost every time hangs forever. Probably there is a bug in factor_recurrent.
the code I use is as follows:
SIQS siqs = new SIQS(0.32F, 0.37F, null, 0.16F, new PowerOfSmallPrimesFinder(), new SIQSPolyGenerator(), new Sieve03g(), new TDiv_QS_1Large_UBI(), 10, new MatrixSolver01_Gauss(), false); siqs.factor(BigInteger.valueOf(180))
Are the parameters correct for the range of numbers specified above?