mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2009-01-24, 22:48   #1
Joshua2
 
Joshua2's Avatar
 
Sep 2004

13×41 Posts
Default 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!
Joshua2 is offline   Reply With Quote
Old 2009-01-25, 00:46   #2
Joshua2
 
Joshua2's Avatar
 
Sep 2004

13×41 Posts
Default

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
Joshua2 is offline   Reply With Quote
Old 2009-01-25, 12:05   #3
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·5·479 Posts
Default

Quote:
Originally Posted by Joshua2 View Post
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
ET_ is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me make a superhero jasong jasong 4 2016-05-27 01:44
I make music Orgasmic Troll Hobbies 9 2010-06-19 04:34
Would this make people mad? jasong Information & Answers 2 2007-11-01 06:26
You just can't make it up. xilman Lounge 11 2006-10-06 22:36
Yet another problem to make you think. Uncwilly Puzzles 3 2005-05-27 20:37

All times are UTC. The time now is 06:08.

Sat Jan 16 06:08:27 UTC 2021 up 44 days, 2:19, 0 users, load averages: 2.78, 2.78, 2.68

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.