![]() |
|
|
#1 |
|
Aug 2006
3·1,993 Posts |
I would like to factor a special-form number of 537 bits (which, as I understand, is quite doable with SNFS). I've run 1000 curves at B1 = 10^6 so the number seems to have no small factors. What is the easiest way to factor the number?
I have ggnfs, factmsieve.py, yafu, cado-nfs, etc. but I haven't used any of them for a long time and I'm not sure about syntax, and so forth. I'm even a little hazy on the right way to form a good poly but I'll manage I think. |
|
|
|
|
|
#2 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
100101000101102 Posts |
You could be done in 1 core-day with this SNFS.
The only trick is to build a polynomial. If it is of an obligatory ugly degree, then the fun starts, otherwise it should be a press play and forget. (I am not using the .py script, but .pl will do everything for you. You can leave limits and other parameters off the .poly file it will fill them in.) What is the general form of the number? PM if you want to keep it secret - I am reliable! ;-) Last fiddled with by Batalov on 2012-12-02 at 21:06 |
|
|
|
|
|
#3 | |
|
"Ben"
Feb 2007
3,517 Posts |
Quote:
Code:
n: 1279722376069429882674916783738587645201002727982137842794710157040169036868965821113429393 skew: 222414.44 type: snfs size: NNN c0: 1055355831583822265944960 c1: 110053741356789971224 c2: 155632423969639 c3: -2603265818 c4: 6120 Y0: -3802720129719817966849 Y1: 269924026471 Code:
ggnfs_dir=..\relative\path\to\your\ggnfs\directory Code:
yafu-x64.exe "nfs(the number)" -j snfs.job -threads X |
|
|
|
|
|
|
#4 | |
|
Aug 2006
10111010110112 Posts |
Quote:
|
|
|
|
|
|
|
#5 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
Ok, let's try this. (I will use the compositeness of 84 to get a slightly better poly)
Code:
84^84 - 83^83 2^168*21^84 - 83^83 #let's multiply by 21 to get a degrees divisible by 5 2^168*21^85 - 21*83^83 8*(2^33*21^17)^5 - 21*83^3*(83^16)^5 Code:
n: 434052638949540480062453005064516466387568940273504907959561408643897140840774339200963955774565218462487550271836485609508404988323997310781276887844297986477749 skew: 17.2 type: snfs size: 162 c5: 8 c0: -12007527 Y1: 5072820298953863752478356399681 Y0: -258058321049377015072521738780672 Last fiddled with by Batalov on 2012-12-02 at 22:33 |
|
|
|
|
|
#6 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
At what size for snfs does a quartic become optimal?
|
|
|
|
|
|
#7 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
251616 Posts |
For this size it could work, but some trial sieving is needed to decide. The poly would look like this:
Code:
n: 434052638949540480062453005064516466387568940273504907959561408643897140840774339200963955774565218462487550271836485609508404988323997310781276887844297986477749 skew: 0.331 type: snfs size: 162 c4: 83 c0: -1 Y1: 19982045332214679702896737836182611234883 Y0: -25695969452033992329379379343259582070784 Last fiddled with by Batalov on 2012-12-03 at 00:35 |
|
|
|
|
|
#8 | |
|
Aug 2006
3·1,993 Posts |
Quote:
Code:
> ./yafu-linux64 "nfs(84^84-83^83)" -j snfs.job -threads 2 invalid option -j Last fiddled with by CRGreathouse on 2012-12-03 at 01:33 |
|
|
|
|
|
|
#9 |
|
"Ben"
Feb 2007
3,517 Posts |
Sorry
![]() -job |
|
|
|
|
|
#10 |
|
Aug 2006
175B16 Posts |
Well, that works. But neither of the above polys seem to work:
Code:
> yafu-x64 "nfs(84^84-83^83)" -job test.job nfs: checking for data file nfs: commencing nfs on c162: 434052638949540480062453005064516466387568940273504 90795956140864389714084077433920096395577456521846248755027183648560950840498832 3997310781276887844297986477749 nfs: continuing with sieving - could not determine last special q; using default startq nfs: commencing rational side lattice sieving over range: 2500000 - 2660000 Error: m is not a common root of the polynomials: c0: -1 c1: 0 c2: 0 c3: 0 c4: 83 Y0: 0 Y1: 19982045332214679702896737836182611234883 n: 43405263894954048006245300506451646638756894027350490795956140864389714084077 43392009639557745652184624875502718364856095084049883239973107812768878442979864 77749 Received signal -1... please wait |
|
|
|
|
|
#11 |
|
"Ben"
Feb 2007
3,517 Posts |
Y0 not set correctly?
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SNFS polynomials. | chris2be8 | FactorDB | 1 | 2012-03-10 16:49 |
| SNFS polynomials for k*b^n+-1 | mdettweiler | Factoring | 15 | 2010-01-14 21:13 |
| fun with snfs | masser | Sierpinski/Riesel Base 5 | 36 | 2008-04-18 02:39 |
| SNFS download | roger | Factoring | 12 | 2007-10-24 08:45 |
| SNFS Polynomial | R.D. Silverman | NFSNET Discussion | 4 | 2007-04-11 20:39 |