![]() |
|
|
#12 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
1110111010012 Posts |
Hopefully it's not too early to claim success, but I copied the following section of code in factmsieve.py:
Code:
m = re.search('prp', l)
if m:
tmp = int(re.sub('.*factor: ', '', l))
if 1 < len(str(tmp)) < fact_p['dec_digits']:
fact_p['divisors'].append(tmp)
Code:
m = re.search(' factor: ', l)
if m:
tmp = int(re.sub('.*factor: ', '', l))
if 1 < len(str(tmp)) < fact_p['dec_digits']:
fact_p['divisors'].append(tmp)
|
|
|
|
|
|
#13 |
|
Sep 2009
2·1,039 Posts |
I think you will have problems with a 3 (or more) way split.
I've dug up some output from various versions of msieve with more that 2 factors: Code:
Thu Aug 25 17:44:55 2016 Msieve v. 1.52 (SVN 956) Thu Aug 25 17:45:00 2016 found factor: 709721709761207119267114609162209121 Thu Aug 25 17:45:04 2016 found factor: 709721709761207119267114609162209121 Thu Aug 25 17:45:08 2016 prp27 factor: 694252367117125307114583259 Thu Aug 25 17:45:08 2016 prp36 factor: 202952563227217748487822304015976827 Thu Aug 25 17:45:08 2016 prp36 factor: 709721709761207119267114609162209121 Code:
Sun Jun 5 06:36:22 2016 Msieve v. 1.53 (SVN 988M) Sun Jun 5 06:43:25 2016 found factor: 1918765498657738825183679613663123166289011628683 Sun Jun 5 06:45:46 2016 p49 factor: 1918765498657738825183679613663123166289011628683 Sun Jun 5 06:45:46 2016 p68 factor: 14200533162507666436434648509544081144056643030084489018590680193131 Sun Jun 5 06:45:46 2016 p70 factor: 2955008600658532912101064869317444928677769566075973337951057995503471 Your fix will probably match the "found factor:" lines as well as the "pnn factor:" lines (if I understand the Python correctly). Note you only get the "found factor:" lines in a 3 or more way split. That's why my fix for looks for "pnn factor:". But I don't know how to code that in Python. Chris |
|
|
|
|
|
#14 | |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
11·347 Posts |
Quote:
As to programming it to search, instead of looking for pnn factor:, I could simply look for "factor:" located at address 16 past the first colon. I'll play with that if my running test fails, or, maybe even if it doesn't... Last fiddled with by EdH on 2016-09-05 at 20:05 Reason: Added programming thought |
|
|
|
|
|
|
#15 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
11·347 Posts |
Looks like it ran fine. The ggnfs.log shows only the three factors, with no duplication:
Code:
Number: test N = 100000000000000000000000040000000000000000000008474000000000000000000001694000000000000000000179353 factor: 694252367117125307114583259 factor: 202952563227217748487822304015976827 factor: 709721709761207119267114609162209121 Code:
... Mon Sep 5 16:50:11 2016 found factor: 709721709761207119267114609162209121 7 lines Mon Sep 5 16:50:35 2016 found factor: 709721709761207119267114609162209121 15 lines Mon Sep 5 16:51:23 2016 found factor: 709721709761207119267114609162209121 8 lines Mon Sep 5 16:51:47 2016 p27 factor: 694252367117125307114583259 Mon Sep 5 16:51:47 2016 p36 factor: 202952563227217748487822304015976827 Mon Sep 5 16:51:47 2016 p36 factor: 709721709761207119267114609162209121 Anyway, Aliqueit never saw any duplicates, so everything ran fine. Thanks for the help. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running YAFU via Aliqueit doesn't find yafu.ini | EdH | YAFU | 8 | 2018-03-14 17:22 |
| Msieve can't find procrels | LegionMammal978 | Msieve | 3 | 2017-01-21 02:12 |
| Apparent aliqueit issue with specifying factors | pakaran | Aliquot Sequences | 2 | 2015-09-12 23:10 |
| Best Way to find large factors | mahnouman | Information & Answers | 19 | 2013-02-22 06:11 |
| Tried out aliqueit.exe: ggnfs failing | Greebley | Aliquot Sequences | 35 | 2010-02-13 15:23 |