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

10258 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

22×7×173 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 12:02.


Mon May 23 12:02:35 UTC 2022 up 39 days, 10:03, 0 users, load averages: 1.68, 1.69, 1.61

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

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