mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-01-07, 14:01   #45
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by Citrix View Post
Is this the fastest program available to trial factor a single k,b,n,+-1 pair? If not, which program is the fastest.
Please be more specific.
rogue is offline   Reply With Quote
Old 2018-01-07, 21:26   #46
Citrix
 
Citrix's Avatar
 
Jun 2003

2·7·113 Posts
Default

I have a set of numbers k*b^n+-1 where k,b,n have no particular pattern. PFGW is extremely slow to trial factor them before PRP testing.

Srsieve is much faster... but I was wondering if there was anything else that could be faster?
Citrix is offline   Reply With Quote
Old 2018-01-07, 23:43   #47
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by Citrix View Post
I have a set of numbers k*b^n+-1 where k,b,n have no particular pattern. PFGW is extremely slow to trial factor them before PRP testing.

Srsieve is much faster... but I was wondering if there was anything else that could be faster?
If you have fixed k, b, and c then sr2sieve. If fixed b, n, and c, then fbncsieve. If more than one vary, then you are somewhat out of luck unless there is a pattern.
rogue is offline   Reply With Quote
Old 2018-01-08, 05:49   #48
Citrix
 
Citrix's Avatar
 
Jun 2003

30568 Posts
Default

Quote:
Originally Posted by rogue View Post
If more than one vary, then you are somewhat out of luck unless there is a pattern.
That is what I am trying to do. Trial factor one candidate at a time. What is the best software for this?

ppsieve is the fastest I have found. Is there anything faster?
Citrix is offline   Reply With Quote
Old 2018-01-08, 06:33   #49
axn
 
axn's Avatar
 
Jun 2003

2·3·7·112 Posts
Default

Quote:
Originally Posted by Citrix View Post
That is what I am trying to do. Trial factor one candidate at a time. What is the best software for this?

ppsieve is the fastest I have found. Is there anything faster?
You can use NewPGen. Use the "k*b^n+1" form, with kmin = kmax = your k. But doing that one candidate at a time is inefficient.

Hence rogue was suggesting that you combine all your candidates and sieve them in one go -- provide it is one of the forms that he suggested. If you have a range of k values and n values both, it might be doable with ppsieve.

To reiterate, one at a time, bad, all at once, good.
axn is offline   Reply With Quote
Old 2018-01-08, 13:57   #50
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by Citrix View Post
That is what I am trying to do. Trial factor one candidate at a time. What is the best software for this?

ppsieve is the fastest I have found. Is there anything faster?
That only works for base 2 and is used when you have a range of n and a range of k.
rogue is offline   Reply With Quote
Old 2018-01-08, 15:07   #51
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

26538 Posts
Default

Can you compile it with all dll-s that program need? It is little problem to start program few times until you find and download dll files program need to start
Thanks
pepi37 is online now   Reply With Quote
Old 2018-01-08, 16:45   #52
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D216 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Can you compile it with all dll-s that program need? It is little problem to start program few times until you find and download dll files program need to start
Possibly. Can you install the mingw64 runtime? You can probably do that before I have time to build an exe with static libraries.
rogue is offline   Reply With Quote
Old 2018-01-08, 18:03   #53
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

You should test the speed. srsieve was faster than newpgen for me when factoring 1*2^n-3 but that was for very few n values, so if it is a large range newpgen might be faster.
ATH is offline   Reply With Quote
Old 2018-07-23, 23:14   #54
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

C5616 Posts
Default

When I use fnsieve to sieve a c-range of 10^9 it takes like 2min before it says "Beginning sieve at p=3." and even longer if I use a range of 4*10^9. It is on a slow laptop but still takes sometimes on my newest computer as well.

I'm just wondering what it is doing? Is it actually trial factoring with p=3 during that time even if it says beginning sieve afterwards?

Last fiddled with by ATH on 2018-07-23 at 23:14
ATH is offline   Reply With Quote
Old 2018-07-24, 02:50   #55
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default

Quote:
Originally Posted by ATH View Post
When I use fnsieve to sieve a c-range of 10^9 it takes like 2min before it says "Beginning sieve at p=3." and even longer if I use a range of 4*10^9. It is on a slow laptop but still takes sometimes on my newest computer as well.

I'm just wondering what it is doing? Is it actually trial factoring with p=3 during that time even if it says beginning sieve afterwards?
Looking for algebraic factors?!
axn is offline   Reply With Quote
Reply



All times are UTC. The time now is 17:40.


Sun Aug 1 17:40:37 UTC 2021 up 9 days, 12:09, 0 users, load averages: 2.31, 1.76, 1.55

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.