![]() |
![]() |
#1 |
Sep 2002
4068 Posts |
![]()
When doing P-1 factoring the b1 is actually b1*M
suppose we test M=67 to b1=1000 It actually look for factor of the form (2*....*M*b1*M+1) If it is (2*...*M+1) then the factor is found right away. Would it become faster to do P-1 testing rather than trial at higher mersenne numbers? ex. 79299959 has been P-1 tested to 8000000 so 2*...*79299959*8000000*79299959+1 76bits+ trial shows 79299959,72 or Have I got the whole thing wrong ![]() ps I never do stage 2 as it messes stage 1 save files. I keep my files as it continues to higher level from where it leftoff. |
![]() |
![]() |
![]() |
#2 | |
"Richard B. Woods"
Aug 2002
Wisconsin USA
769210 Posts |
![]() Quote:
My understanding is that, in the Prime95 implementation of the P-1 algorithm, b1 is the upper limit on the prime factors of the "k" of potential factors 2kp+1 of 2p-1 that are to be found by the P-1 method. That is, stage 1 P-1 with b1 = 10000 performed on 2p-1 will find any factor 2kp+1 of 2p-1 in which the largest prime factor of k is less than (or equal to, if b1 were prime itself) 10000. Last fiddled with by cheesehead on 2006-01-08 at 04:42 |
|
![]() |
![]() |
![]() |
#3 | |
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
![]() Quote:
My understanding is that, in the Prime95 implementation of the P-1 algorithm, b1 is the upper limit on the power-of-a-prime factors of the "k" of potential factors 2kp+1 of 2p-1 that are to be found by the P-1 method. That is, stage 1 P-1 with b1 = 10000 performed on 2p-1 will find any factor 2kp+1 of 2p-1 in which the largest power-of-a-prime factor of k is less than (or equal to, if b1 were prime itself) 10000. Example: 59704785388637019242567 is a factor of 26049993 - 1. 59704785388637019242567 = 2 * 4934285493275531 * 6049993 + 1. Prime95's P-1 stage 1 with b1 = 4000 would find this factor because the largest prime-power factor of 4934285493275531 is less than 4000. 4934285493275531 = 612 * 593 * 983 * 1153 × 1973. 612 = 3721. In this example the factor 59704785388637019242567 could have been found in stage 1 with b1 as low as 3721. Also, Prime95's P-1 stage 2 with b1 = 2000 and b2 = 4000 would find this factor because the largest prime-power factor of 4934285493275531 is less than 4000 and all other prime-power factors are less than 2000. (In fact, b1/b2 as low as b1 = 1973, b2 = 3721 would have worked.) |
|
![]() |
![]() |
![]() |
#4 | |
Jun 2003
12FD16 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Sep 2002
10616 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#6 | |
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
![]() Quote:
jocelynl, I presume you've noted axn1's correction to my erroneous paragraph about stage 2. Last fiddled with by cheesehead on 2006-01-09 at 02:37 |
|
![]() |
![]() |
![]() |
#7 | |
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
![]()
BTW, let this be a lesson.
I failed to actually TRY running Pminus1=6049993,2000,4000,0,0 to confirm that stage 2 would find the 612 = 3721 prime-power factor of 4934285493275531 before I made my erroneous posting: Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 | |
Aug 2002
Buenos Aires, Argentina
17·79 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Sep 2002
1000001102 Posts |
![]() Quote:
Last fiddled with by jocelynl on 2006-02-01 at 14:13 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is Trial Factoring? | Unregistered | Information & Answers | 5 | 2012-08-02 03:47 |
How much Trial Factoring to do? | odin | Software | 4 | 2010-08-08 20:23 |
How far to do trial factoring | S485122 | PrimeNet | 1 | 2007-09-06 00:52 |
How to only do Trial Factoring? | michael | Software | 23 | 2004-01-06 08:54 |
About trial factoring | gbvalor | Math | 4 | 2003-05-22 02:04 |