![]() |
|
|
#23 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
Edit: I need a place to ask questions, and until someone says otherwise this thread is as good as any. So: Am I right in thinking that since a given congruence of squares is not guaranteed to produce a factorization, that Dixon's method (i.e. finding a linear dependence) may need to be run more than once in case the corresponding congruence doesn't produce a factor? Last fiddled with by Dubslow on 2012-04-19 at 05:52 |
|
|
|
|
|
|
#24 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101010000000012 Posts |
Quote:
Last fiddled with by xilman on 2012-04-19 at 06:31 |
|
|
|
|
|
|
#25 | ||
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
Quote:
Last fiddled with by Dubslow on 2012-04-19 at 06:54 |
||
|
|
|
|
|
#26 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
|
|
|
|
|
|
#27 | |
|
Nov 2003
11101001001002 Posts |
Quote:
This is mis-worded. Rather than "any of NFS, QS, CFRAC, ......." it should say "any given congruence of squares that arises in NFS, QS ...." Saying just "Any of NFS, QS, CFRAC" etc. gives the impression that when the algorithm is run, there is a 50% chance of success. This is false. One gets multiple congruences of squares and each one has a 50% chance of success. If there are k such congruences, the chance that they all fail is 1/2^k. i.e. for each congruence A^2 = B^2 mod N there is a 50% chance of success assuming that N is the product of two primes. Note that if N has more than two factors the probability increases. Indeed. If N has k distinct prime factors, the probability of success per congruence is 1 - 1/2^(k-1). Hint: consider the congruence modulo each of the prime factors of N. then apply the Chinese Remainder Theorem to the product of the primes. To see where the 50% comes from: For A^2 = q mod p, p prime, there are two solutions. For A^2 = B^2 mod p there are 4: two choices each for A and B. But of these 4 exactly two are trivial: A=B or A=-B (mod p). |
|
|
|
|
|
|
#28 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
101010000000012 Posts |
|
|
|
|
|
|
#29 | |
|
"Ben"
Feb 2007
351310 Posts |
Quote:
|
|
|
|
|
|
|
#30 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
bsquared's g(x) above is not actually different from the 'basic' QS polynomial, it just explicitly samples the one QS polynomial at very widely spaced points on the arithmetic progression ax+b, and the constants 'a' and 'b' are chosen so that g(x) is always divisible by 'a' for every x, leaving a cofactor that is smaller and thus more likely to yield a good relation during sieving.
Contini's paper is one of very few that give all the low-level details for implementing SIQS. |
|
|
|