20081211, 04:34  #12 
Nov 2003
3622_{10} Posts 
And you have a level of arrogance approaching infinity
Code:
b=5684341886080801486968994140701; n=2481892977737648921240994084183; p=3433683820292512484657849089373; m=1;while(n>0,if(n%2>0,m=(m*b)%p);b=(b*b)%p;n=n>>1); m=1721733593148639177176135185028 
20081211, 04:57  #13 
Aug 2006
3·1,993 Posts 
Sure, though
Code:
lift(Mod(b,p)^n) 
20081211, 05:23  #14  
May 2007
Kansas; USA
3^{3}×17×23 Posts 
Quote:
In my experience, use sr2sieve for 3 k's or more, regardless of the size or nature of the kvalue. Use 1 or 2 instances of sr1sieve for 1 or 2 k's. I believe the kvalue must be > 2^n where n is the lowest nvalue being sieved, although I think that restriction also exists in NewPGen. I haven't done any testing with exotic forms but I'm confident that this is the fastest way for the standard k*2^n1 and +1 forms. In no case is NewPGen more efficient for these forms. Keep in mind that you have to run srsieve first to get a "starting file" before using its output file as input to sr1sieve or sr2sieve. I generally use srsieve to sieve to P=250M, 500M, or 1G before changing over. Once you get used to running them at the command prompt instead of using the GUI like NewPGen has, it's child's play to use them. Gary Last fiddled with by gd_barnes on 20081211 at 05:26 

20081211, 05:32  #15 
A Sunny Moo
Aug 2007
USA (GMT5)
3×2,083 Posts 

20081211, 07:43  #16  
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2·2,969 Posts 
Quote:
i have used srsieve and sr1sieve for a bit but i have never used sr2sieve although i should be able to work it out when i need to i usually work on ks in pairs so i have been using sr1sieve 

20081211, 11:46  #17  
I quite division it
"Chris"
Feb 2005
England
31·67 Posts 
Quote:
http://mersenneforum.org/showpost.ph...9&postcount=67 ( I think you can ignore the cache sizes parameters and reference to Core(). ) 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
NewPgen  Cybertronic  Factoring  0  20140322 10:07 
NewPgen question  pepi37  Software  12  20131225 18:59 
NewPGen k value problem  roger  Information & Answers  0  20070404 22:38 
NewPGen reliability  Cruelty  Riesel Prime Search  3  20060215 05:15 
Problem with Newpgen  Zenmastur  Software  4  20030802 19:43 