![]() |
|
|
#23 |
|
Jun 2003
31·163 Posts |
put the number between "":
phrot -q "285728*5^411274-1" |
|
|
|
|
|
#24 | |
|
Jun 2003
31·163 Posts |
Quote:
Some samples for your testing: 164852*5^100524-1 RES64: A850C2F3D5ABB57E 252872*5^100524-1 RES64: 0EB3F09D33962912 Last fiddled with by axn on 2006-11-27 at 19:28 |
|
|
|
|
|
|
#25 | |
|
May 2003
3×7×11 Posts |
Quote:
I suspect the final problem will go away too in a cygwin window. Sticking anything that contains '$', '*', or '^' in single quotes is always a good precaution. FatPhil |
|
|
|
|
|
|
#26 | |
|
May 2003
3×7×11 Posts |
Quote:
It's not entirely trivial. We'll see what transpires... Phil |
|
|
|
|
|
|
#27 | |
|
Jun 2003
31×163 Posts |
Quote:
Yes, it is a regular PRP test. Some preliminary results: Code:
phrot.cygp3.exe -q "164852*5^100524-1" Actually testing 20606500*1953125^11169-1 (11171/24576 limbs) 164852*5^100524-1 [798766,-273453,133316,695627] is composite. (t=451.46s) phrot.cygp3.exe -q "119098*5^130509-1" Actually testing 119098*1953125^14501-1 (14502/32768 limbs) 119098*5^130509-1 [517504,242017,399396,-286254] is composite. (t=765.21s) 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. LLR tests only k*2^n±1 numbers, so, we will do a PRP test of 119098*5^130509-1 119098*5^130509-1 is not prime. RES64: D1A84329ACA14FB6 Time: 1696.001 sec. |
|
|
|
|
|
|
#28 |
|
Oct 2006
7·37 Posts |
it do the job in a "dos window"
thanks. Last fiddled with by tnerual on 2006-11-27 at 20:09 |
|
|
|
|
|
#29 |
|
Jan 2005
479 Posts |
Out of curiosity:
for numbers of size +- 2^100000 phrot takes 64 seconds and PRP3.1.0 takes 24. Thats on an athlon 64 X2 3800+ Just couldn't resist
|
|
|
|
|
|
#30 | |
|
May 2003
3×7×11 Posts |
Quote:
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. |
|
|
|
|
|
|
#31 |
|
Oct 2006
25910 Posts |
impressive :
llrnet: 285728*5^411274-1 is not prime. RES64: 5C1971CB15E8C2BE Time: 31575.377 sec. phrot... 285728*5^411274-1 [-872160,-901141,235457,-385997] is composite. (t=11274.15s) :surprised this with high exponent, on a centrino 1400 with win XP |
|
|
|
|
|
#32 |
|
May 2003
3×7×11 Posts |
For reference, I'd rather you verified known primes rather than composites. Until I can reproduce the LLR residue, composite results don't prove that the calculation has worked OK. PRPs do. I've never _ever_ tested it on a number that large (heck, my development machine is a PentiumIII/800), so have no idea if there are roundoff issues with exponents that high. I don't have maxerr checking yet, so the above *might* be complete garbage.
|
|
|
|
|
|
#33 | |
|
Oct 2006
7·37 Posts |
Quote:
Last fiddled with by tnerual on 2006-11-28 at 00:20 |
|
|
|
|
![]() |
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 |