P1 factoring Q&A thread
After completing the P1 test, the program started testing for GCD. I got this result:
[code] Stage 1 GCD complete. Time: 492.051 sec. Not enough memory available to run stage 2 now. Will try again at a later time. Starting Primality test of M[...] [/code] And then it went ahead and started doing the LucasLehmer testing. I have reserved 32 of 256 MB of memory for Prime95 during the day. How much should I increase it by so I won't see this error again? Also, when will stage 2 of the GCD test commence? 
This is normal and nothing to worry about. Stage 2 will run at night when you have told prime95 it can use more memory. In the meantime, it will start the LucasLehmer test assuming that stage 2 won't find a factor (about a 2% chance).

Do you mean a 98 percent chance?

Oops. Right, a 98% chance it won't find a factor.

Chances
A couple quick questions. I'm currently testing an exponent that will yield a 10,300,000+ digit prime. It is currently 91.35% done with Stage 1 LL. Since it has not found a factor yet, what are the odds that it is prime? Also, since I don't think I have enough memory to do Stage2, who will do that and who will get creditshould the number turn out to be prime. (not to be stingy, but I wouldn't mind collecting the $50,000 :lol:)
Thanks. Kyle 
When you do a Stage1, you don't do a LL test, but P1 factoring.
As a result, you can only find factors with this test (and thus prove the number nonprime). A LL test is done after Stage2 of P1 factoring (which can even done with ~20 MB RAM  with lower bounds and hence less chance of success, though). Concerning the chances, they are said to be near 1/250,000  depending on factoring attempts already done for that number. So, every completed LL test gives you $0.20 in average (mean value). :wink: 
If you go to "Test > Status" you will get a popup window telling you the chances that your exponent will yield a prime.
As for the second question, I don't know who gets assigned those doublechecks when a prime is found, but if you find that it is a prime and the double (or triple) check verifies that is the case you should receive the credit. Only if you find erroneously that it is a prime and the double check makes this clear you would lose the credit for the discovery (which is fair enough, anyway). At least that is my understanding. Someone please correct me if that is wrong! [edited] ooops! Mystwalker just gave you a better answer and beat me by a millisecond or so :redface: [/edited] 
If you are doing the P1 factoring, you are not proving the number to be prime, you are rather looking for a factor to disprove its primeness. Because, you can't find a prime with P1, you don't get credit as having found it, therefore you don't share as a discoverer.
If you are doing the LL primality checking, you do get credit. To answer blackguard's question about double checking: To ensure that a newly discovered prime is real, Geogre has some volunteers that have access to nonx86 computers that are fast to do double checking. 
Okay thanks. That answers about half of the question. I know you can go to test and status to find out the chances. My question though is since the program is now nearly 92% done with Stage1, how much have the odds improved? And another question. For an exponent of this size, what is the ideal memory size needed? Thanks.

P1 factoring and LL testing won't have a result until they have completed (with P1, some factors can already be found after stage1). Hence, the current status doesn't enhance your chances compared to before the beginning of P1 factoring. After P1 factoring (stage1 as well as stage2), the chances increase  but I don't know the exact values. Maybe one or two percent...
Concerning the memory requirements for P1 factoring, there is a table in the readme file of prime95: [quote] Exponent Minimum Reasonable Desirable     6000000 12MB 23MB 33MB 10000000 19MB 36MB 53MB 33000000 65MB 125MB 185MB [/quote] Plus some more text which I don't want to quote here  it's all in the readme file... So, contrary to my guess above, 65MB are the minimum for a number of that size. 
[QUOTE=Mystwalker]So, contrary to my guess above, 65MB are the minimum for a number of that size.[/QUOTE]
AFAIK those numbers are for Stage2. 
All times are UTC. The time now is 05:04. 
Powered by vBulletin® Version 3.8.11
Copyright ©2000  2021, Jelsoft Enterprises Ltd.