mersenneforum.org How to make llr do a prp on +3 or +5
 Register FAQ Search Today's Posts Mark Forums Read

 2009-01-24, 22:48 #1 Joshua2     Sep 2004 13·41 Posts How to make llr do a prp on +3 or +5 I assume the best way to test K*2^n + 3 or + 5 is prp-with llr. What is the format to use? I was able to figure out how to get it to do -1 and +1 by copying the newpgen output for a +1 or -1 sieve. Thanks!
 2009-01-25, 00:46 #2 Joshua2     Sep 2004 13·41 Posts It seems I should be able to use ABC format, like ABC $a*2^34000+3 //+1 and -1 didn't work either. 61570182 430131372 ... But it doesn't seem to work. EDIT: Found this seems to work. However it was slower than pfgw, about 25% as slow actually. Instead of like 3.2 something seconds each its 4.2 something. ABC$a*2^$b+3 61570182 34000 430131372 34000 Maybe I'm doing something wrong? LLR and Proth take 1.2-1.5 seconds, with LLR program. Also I discovered that ABC$a*2^$b+5 LLR does in the same fast 1.5 seconds, whereas pfgw again takes 3.2. I suspect it is because I was testing +3 and +5 instead of +5 and +7? Last fiddled with by Joshua2 on 2009-01-25 at 01:43 2009-01-25, 12:05 #3 ET_ Banned "Luigi" Aug 2002 Team Italia 113468 Posts Quote:  Originally Posted by Joshua2 It seems I should be able to use ABC format, like ABC$a*2^34000+3 //+1 and -1 didn't work either. 61570182 430131372 ... But it doesn't seem to work. EDIT: Found this seems to work. However it was slower than pfgw, about 25% as slow actually. Instead of like 3.2 something seconds each its 4.2 something. ABC $a*2^$b+3 61570182 34000 430131372 34000 Maybe I'm doing something wrong? LLR and Proth take 1.2-1.5 seconds, with LLR program. Also I discovered that ABC $a*2^$b+5 LLR does in the same fast 1.5 seconds, whereas pfgw again takes 3.2. I suspect it is because I was testing +3 and +5 instead of +5 and +7?
IIRC, LLR is best optimized for k small.

Luigi

 Similar Threads Thread Thread Starter Forum Replies Last Post jasong jasong 4 2016-05-27 01:44 Orgasmic Troll Hobbies 9 2010-06-19 04:34 jasong Information & Answers 2 2007-11-01 06:26 xilman Lounge 11 2006-10-06 22:36 Uncwilly Puzzles 3 2005-05-27 20:37

All times are UTC. The time now is 20:12.

Fri Jan 21 20:12:37 UTC 2022 up 182 days, 14:41, 0 users, load averages: 2.02, 1.69, 1.58