mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2002-11-16, 11:35   #1
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

373 Posts
Default Factoring

Quote:
I wonder whether it would be worth anyone's while following on from a trial factoring test with a p-1 testing of the same exponent. Certainly those who have dedicated P4s to the task (along with a good slug of memory) may find their strike rate in finding factors might increase quite a bit.

Has anyone actually tried doing this, or are there good reasons not to?
Ok, I did try this out and no I didn't find a factor.

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 .....
bayanne is offline   Reply With Quote
Old 2002-11-16, 14:58   #2
Deamiter
 
Deamiter's Avatar
 
Sep 2002

1658 Posts
Default

just out of curiosity, how can you automatically get the program to follow factoring with a p-1 test?
Deamiter is offline   Reply With Quote
Old 2002-11-16, 15:01   #3
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

37310 Posts
Default

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. :)
bayanne is offline   Reply With Quote
Old 2002-11-16, 21:06   #4
Deamiter
 
Deamiter's Avatar
 
Sep 2002

1658 Posts
Default

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.
Deamiter is offline   Reply With Quote
Old 2002-11-17, 06:25   #5
binarydigits
 
Aug 2002

22·13 Posts
Default

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.
binarydigits is offline   Reply With Quote
Old 2002-11-17, 08:00   #6
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

373 Posts
Default

Yes, that's a good to way to go 8)

Certainly it should increase the strike rate in finding factors ....
bayanne is offline   Reply With Quote
Old 2002-11-17, 22:44   #7
Deamiter
 
Deamiter's Avatar
 
Sep 2002

32·13 Posts
Default

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.
Deamiter is offline   Reply With Quote
Old 2002-11-17, 23:30   #8
philmoore
 
philmoore's Avatar
 
"Phil"
Sep 2002
Tracktown, U.S.A.

100011000012 Posts
Default P-1 vs. trial factoring

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.
philmoore is offline   Reply With Quote
Reply



All times are UTC. The time now is 13:56.


Fri Jul 7 13:56:15 UTC 2023 up 323 days, 11:24, 0 users, load averages: 0.83, 1.19, 1.17

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔