mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2013-03-02, 14:46   #177
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,451 Posts
Default

Quote:
Originally Posted by rogue View Post
I don't understand. -q takes a number or expression as input, not a file. You would have pfgw -od -lprime.txt infile.txt or pfgw -od -lprime.txt -q"number"

Can you give me a specific example of what you are trying to do so that I can understand?
Quotes was problem!
If you put pfgw -od -lprime2.txt -q"11*2^2897409+1" then you got error, but if you write pfgw -od -lprime2.txt -q11*2^2897409+1 (without quotes around number) then everything is ok, and got decimal expansion.
Thanks for reply!
pepi37 is online now   Reply With Quote
Old 2013-03-02, 14:49   #178
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2·1,303 Posts
Default

The quote are needed only when you use the command line. If you are using the GUI, you don't need the quote.
firejuggler is online now   Reply With Quote
Old 2013-03-02, 15:27   #179
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Quotes was problem!
If you put pfgw -od -lprime2.txt -q"11*2^2897409+1" then you got error, but if you write pfgw -od -lprime2.txt -q11*2^2897409+1 (without quotes around number) then everything is ok, and got decimal expansion.
Thanks for reply!
For the command line, quotes are sometimes needed if the expression has "^" in it as Windows treats that as an escape sequence. They are not needed when using the U/I.

Last fiddled with by rogue on 2013-03-02 at 15:29
rogue is offline   Reply With Quote
Old 2013-03-02, 20:36   #180
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

145110 Posts
Default

Thanks for explanation!
pepi37 is online now   Reply With Quote
Old 2013-03-25, 12:45   #181
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D216 Posts
Default

I've posted pfgw 3.7.5 over at sourceforge. I removed the tree factoring code as it missed factors and had other issues. I also found and fixed another Win64 bug, this one found when using -e. The Mac and Linux builds will follow later today.
rogue is offline   Reply With Quote
Old 2013-06-08, 09:08   #182
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22×32×19 Posts
Default

I couldn't find this in the PFGW documentation neither in the forum:

For a PRP or a primality test, I get an output containing two timings
Code:
<Number> is composite: RES64: [896434D6F48089DD] (666.9374s+163.6538s)
what do those two timings mean? They're both quite substantial, so I'd like to know what they measure.

Last fiddled with by Puzzle-Peter on 2013-06-08 at 09:08
Puzzle-Peter is offline   Reply With Quote
Old 2013-06-08, 13:36   #183
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by Puzzle-Peter View Post
I couldn't find this in the PFGW documentation neither in the forum:

For a PRP or a primality test, I get an output containing two timings
Code:
<Number> is composite: RES64: [896434D6F48089DD] (666.9374s+163.6538s)
what do those two timings mean? They're both quite substantial, so I'd like to know what they measure.
I believe that the second is the time used for trial factoring and the first is the time for the test, but I'd have to look at the code to verify.
rogue is offline   Reply With Quote
Old 2013-06-11, 19:38   #184
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22×32×19 Posts
Default

Thanks. I'm fooling around writing a script for one of my less than sensible ideas and need to reduce the runtimes if I want to live to see a result...
Puzzle-Peter is offline   Reply With Quote
Old 2013-06-20, 17:19   #185
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2·1,303 Posts
Default

hi. I found a slight problem...
When I run the newbase script on b642 and it hit the specific value of 8000*642^3+1, it enter a infinite loop

Code:
8000*642^3+1 is 3-PRP! (0.0000s+0.0017s)
Primality testing 8000*642^3+1 [N-1, Brillhart-Lehmer-Selfridge]

Running N-1 test using base 11
Running N-1 test using base 13
Running N-1 test using base 17
.....
Running N-1 test using base 4013
Running N-1 test using base 4019
....
while factordb manage to factor it into
2116874304001<13> = 31 · 73 · 97 · 751 · 12841
I have found another prime at n=11 so that's not really a problem for me. Might concern some others.
firejuggler is online now   Reply With Quote
Old 2013-06-21, 03:41   #186
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default

8000*642^3+1 is a sum of cubes, too.
Batalov is offline   Reply With Quote
Old 2013-07-20, 21:56   #187
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143228 Posts
Default

Quote:
Originally Posted by firejuggler View Post
hi. I found a slight problem...
When I run the newbase script on b642 and it hit the specific value of 8000*642^3+1, it enter a infinite loop

Code:
8000*642^3+1 is 3-PRP! (0.0000s+0.0017s)
Primality testing 8000*642^3+1 [N-1, Brillhart-Lehmer-Selfridge]

Running N-1 test using base 11
Running N-1 test using base 13
Running N-1 test using base 17
.....
Running N-1 test using base 4013
Running N-1 test using base 4019
....
while factordb manage to factor it into
2116874304001<13> = 31 · 73 · 97 · 751 · 12841
I have found another prime at n=11 so that's not really a problem for me. Might concern some others.
Please e-mail me the specific script you are let me know which OS you are running on.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) Batalov Software 77 2015-04-14 09:01
PFGW 3.2.0 has been Released rogue Software 94 2010-09-14 21:39
PFGW 3.2.3 has been Released rogue Software 10 2009-10-28 07:07
PFGW 3.2.2 has been Released rogue Software 20 2009-08-23 12:14
PFGW 3.2.1 has been released rogue Software 5 2009-08-10 01:43

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


Sun Aug 1 19:34:33 UTC 2021 up 9 days, 14:03, 0 users, load averages: 1.32, 1.60, 1.74

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.