![]() |
|
|
#1 | |
|
"Tony Gott"
Aug 2002
Yell, Shetland, UK
373 Posts |
Quote:
However what it did make me wonder is if there is a mechanism in place, such that if a factor is found under normal trial-factoring, that this would then stop the p-1 factoring from then taking place? George, can you advise ..... |
|
|
|
|
|
|
#2 |
|
Sep 2002
1658 Posts |
just out of curiosity, how can you automatically get the program to follow factoring with a p-1 test?
|
|
|
|
|
|
#3 |
|
"Tony Gott"
Aug 2002
Yell, Shetland, UK
37310 Posts |
Factor=20346577,58
Pfactor=20346577,66,0 However this is not automatic. You have to manually place the Pfactor command into the worktodo.ini file. :) |
|
|
|
|
|
#4 |
|
Sep 2002
1658 Posts |
right. that makes sense. Thanks a lot.
Now I'd assume that a successful factoring would write something unique to the results file. Seems to me that it wouldn't be too difficult to write up a script to delete all mention of 'xxxxxx' in the worktodo file if the expression "xxxxxx is not prime" (or whatever) is found in the results file. |
|
|
|
|
|
#5 |
|
Aug 2002
22·13 Posts |
If the client does a "send new expected completion dates to server" after finding the trial factor but before starting the P-1, it will get an "error 11 exponent already tested" and remove the "pfactor=" from the worktodo. But it would undoubtedly have already started the P-1 before checking in (as it does not usually do a checkin when sending results), and it will not delete a line from worktodo if the work has already started.
You could stagger them in the worktodo as: Factor=xxx,58 Factor=yyy,58 Pfactor=xxx,66,0 Factor=zzz,58 Pfactor=yyy,66,0 etc., and set "days between sending new end dates" to 1. Then it should take care of itself without having to worry about a script. |
|
|
|
|
|
#6 |
|
"Tony Gott"
Aug 2002
Yell, Shetland, UK
373 Posts |
Yes, that's a good to way to go 8)
Certainly it should increase the strike rate in finding factors .... |
|
|
|
|
|
#7 |
|
Sep 2002
32·13 Posts |
I don't know. Does straight factoring, or P-1 find more factors per time alloted. Seems to me that you'd be more likely to find a factor in basic factoring than in p-1, but that'd just intuition.
|
|
|
|
|
|
#8 |
|
"Phil"
Sep 2002
Tracktown, U.S.A.
100011000012 Posts |
According to George, it actually makes sense to do all but the final one or two bits of trial factoring first, then do P-1 factoring, and then finish the trial factoring. So the answer depends upon how far you have gotten in the trial factoring process.
|
|
|
|