mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2006-11-28, 07:24   #34
michaf
 
michaf's Avatar
 
Jan 2005

47910 Posts
Default

Quote:
Originally Posted by fatphil View Post
I presume that's not just _size_ 2^100000, but of _form_ k*2^100000+/-1.
That's basically LLR/PRP/PFGW's sweet spot - absolutely no point in running Phrot for those forms on an x86 machine. That and GW's SSE2 convoluions work, and YEAFFT's don't, so I have to stick with 8 plain old FPU registers.

This is the 'base 5' project, after all, so it matters not.
Oh right :) think I shopped in the wrong store... trying again with base 5
michaf is offline   Reply With Quote
Old 2006-11-28, 09:45   #35
michaf
 
michaf's Avatar
 
Jan 2005

47910 Posts
Default

A second try gives:

F:\Math\phrot.0.45.cygp3>phrot -q "75076*5^103583-1"
Actually testing 1876900*1953125^11509-1 (11510/24576 limbs)
75076*5^103583-1 [] is PRP. (t=364.20s)

LLR give 664 seconds!

(So even a build for the P3 is waaay faster on an athlon64 :) )
michaf is offline   Reply With Quote
Old 2006-11-28, 12:15   #36
thommy
 

2·2,207 Posts
Default

48820*72^48820-1 [] is PRP. (t=1070.17s)
83660*72^83660-1 [] is PRP. (t=4642.49s)

So it works fine on 150,000+ digits an my Athlon 2400+. I did run other programms in the background.

Great piece of software, Phil
  Reply With Quote
Old 2006-11-28, 15:43   #37
fatphil
 
fatphil's Avatar
 
May 2003

23110 Posts
Default Request for LLR residues of small composites

Thanks everyone for helping test!

Can people attach, URL, or mail me (yahoo.co.uk - thefatphil) some *small* composite results. So I can do tests by the hundred or thousand.

Partial good news is that I seem to reproduce 32-bits of what I think the LLR residue will be (I've written a Pari/GP script to just perform the calculation). It's not totally clear what LLR does in terms of the signedness of the residues yet. FFTs are done with balanced limbs - my result is signed; I don't know if LLR's is.
I have no idea why it craps out at 32 bits though. That would be enough to put almost complete confidence in the results, if they were to always agree.
fatphil is offline   Reply With Quote
Old 2006-11-28, 15:44   #38
fatphil
 
fatphil's Avatar
 
May 2003

111001112 Posts
Default

Quote:
Originally Posted by thommy View Post
48820*72^48820-1 [] is PRP. (t=1070.17s)
83660*72^83660-1 [] is PRP. (t=4642.49s)

So it works fine on 150,000+ digits an my Athlon 2400+. I did run other programms in the background.

Great piece of software, Phil
After R/S5, I was going straight over to the GC/W searchers to offer them access to this code too - I'd not forgotten about them!
fatphil is offline   Reply With Quote
Old 2006-11-28, 17:02   #39
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Phil,

I've emailed you a result-file with 3232 composites of form k*5^100-1
I hope this is what you meant :>

Cheers, Micha
michaf is offline   Reply With Quote
Old 2006-11-29, 13:46   #40
fatphil
 
fatphil's Avatar
 
May 2003

3·7·11 Posts
Default Residue double-check seems to work

Attached - Version 0.46, with a new -b switch to select the witness. b=3 will replicate a RES64 as from PFGW or LLR.
Be warned, this still doesn't do roundoff error checking, and may not be safe for very big numbers. I don't know how big 'very big' is.

Note to admin - can you enable '.tgz' as a recognised extension please? I much prefer that to '.tar.gz'.
Attached Files
File Type: gz phrot.0.46.cygp3.tar.gz (65.1 KB, 95 views)
fatphil is offline   Reply With Quote
Old 2006-11-29, 14:39   #41
fatphil
 
fatphil's Avatar
 
May 2003

111001112 Posts
Default

Quote:
Originally Posted by axn1 View Post
Code:
LLR tests only k*2^n±1 numbers, so, we will do a PRP test of 164852*5^100524-1
164852*5^100524-1 is not prime.  RES64: A850C2F3D5ABB57E  Time: 1082.993 sec.
Code:
$ ./phrot.cygp3 -b=3 -q 164852*5^100524-1
Actually testing 20606500*1953125^11169-1 (11171/24576 limbs)
164852*5^100524-1 [-721640,-696027,-954307,-805292] is composite LLR64=A850C2F3D5ABB57E. (t=1529.02s)
Imagine dancing bananas here if that presses your buttons.

Phil
fatphil is offline   Reply With Quote
Old 2006-11-29, 21:38   #42
axn
 
axn's Avatar
 
Jun 2003

31×163 Posts
Default

Quote:
Originally Posted by fatphil View Post
Imagine dancing bananas here if that presses your buttons.

Had to be done!

There doesn't appear to be any loss in speed by using b=3. Will there be any change in the FFT break points because of base 3?

Time to run all the small composites thru the program.
axn is online now   Reply With Quote
Old 2006-11-29, 22:19   #43
fatphil
 
fatphil's Avatar
 
May 2003

111001112 Posts
Default Stinky cheese.

Quote:
Originally Posted by axn1 View Post

Had to be done!

There doesn't appear to be any loss in speed by using b=3. Will there be any change in the FFT break points because of base 3?

Time to run all the small composites thru the program.
Heheh - my adblock filter at home removes all those icons, so I have no idea what you've just inserted into the thread!

For S/R5's candidates (and GC/W), the witness shouldn't make any difference to FFT sizes, which will occur at the predictable places where the exponent increases beyond the FFT size. Presently, I stick 9 fives into the FFT limb, but as the size increases, I'll need to reduce that to 8. I don't think the program can work out when that is required presently. There's an undocumented switch -a<num> for increased paranoia which will almost certainly kick it down to 8.
fatphil is offline   Reply With Quote
Old 2006-11-29, 22:19   #44
masser
 
masser's Avatar
 
Jul 2003
wear a mask

2×829 Posts
Default

Does anyone know if the residues from PRP match the residues of LLR?


Via phrot with b = 3:

254*5^474558-1 [-316717,355923,344018,772502] is composite LLR64=34691A2F4DA6F620. (t=9989.12s)

Via PRP:

254*5^474558-1 is not prime. RES64: EF65F8011E5542EE. OLD64: FBE69A2253DBFA1A

Could someone test this number with LLR?
masser is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Request pinhodecarlos Lounge 3 2017-10-26 18:58
Bug/request Dubslow YAFU 4 2012-03-31 03:07
Odd request? Xyzzy Lounge 23 2011-03-08 17:50
GMP-ECM Request rogue GMP-ECM 4 2009-11-23 15:07
A little request 10metreh Aliquot Sequences 8 2009-10-07 18:13

All times are UTC. The time now is 09:34.


Sat Jul 17 09:34:39 UTC 2021 up 50 days, 7:21, 1 user, load averages: 1.25, 1.33, 1.44

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.