Home :: Windows 7 :: Sydney PCUG :: PIC Club :: Web Design :: Factors :: Factor Records :: Digital Photos :: Links :: Downloads

Factors

>  Recent Factors, below 

• Msieve

See new Perl script, below:

Jason Papadopoulos wrote the factoring program Msieve which started life a few years ago using the Quadratic Sieve method.  It can now easily handle numbers up to 100 digits.

The current version is Msieve 1.43 and is available either as a Linux C++ source code package in a tar.gz file (400 KB) or as a Windows executable (about 600 KB).

The more advanced Number Field Sieve method is now being added into the program.  Both methods involve sieving followed by the solution of a large linear matrix.  The code has become so good that for very large numbers, the NFS sieving part can be done by GGNFS (see below), but the linear algebra, too large for GGNFS, can be handled by Msieve.

I recently came across a 183 digit composite number that caused a memory allocation error when GGNFS came to load the matrix into memory, saying that it wanted 721 MB.  The machine actually had 2 GB, so previous memory requests had probably fragmented the memory, causing the crash.

Msieve, however, loaded the GGNFS-format data and solved the 779,725 × 779,973 matrix, not only using less memory (250 MB vs. 721 MB), but in a shorter time (05:11:32 hrs compared to possibly 24 hrs for such a large number).  The prime factors turned out to be p48 • p48 • p87 showing that very large composites don't always have very large prime factors.

Here are the comparative matrix-solution times for a 166 digit number (with SNFS difficulty 167 digits) that succeeded using both GGNFS and Msieve:

• For GGNFS:

Initial matrix: 433802 x 491774 with sparse part having weight 54393195.
Pruned matrix : 412924 x 415157 with weight 43131647.
...
Matrix solve time: 5.82 hours.
Total square root time: 0.15 hours, sqrts: 1.

• For Msieve:

matrix is 543812 x 544059 with weight 35189856 (avg 64.68/col)
...
commencing square root phase
reading relations for dependency 1
...
elapsed time 02:03:21

• Msieve Perl Script

The parameter files for Msieve are slightly different from the GGNFS format and need conversion (only a matter of a few seconds) before running Msieve.  The makems Perl script to automate this process was posted to the XYYXF Yahoo! Group as message number 1185 in October, 2007.  See below for the script:


• SNFS

Most of the factors listed below were found using the Special Number Field Sieve method.  In the past, this has been only available to mathematical researchers at Universities with super-computers like the CWI (Centrum voor Wiskunde en Informatica, or the Center for Mathematics and Computer Science) in the Netherlands.

See a very interesting CWI report produced by Dr. Herman te Riele which covers several recent record factorisations on the topic: Factoring large integers with the Number Field Sieve.

• GGNFS

In 2005, an open-source C program called GGNFS was written by Chris Monico of the Texas Tech University to run on fast PCs with 1 or 2 GB of memory. The software is provided as a set of source modules along with a Makefile script to install and run on Linux. The program itself is then run via a Perl script which executes the various phases of the calculation (sieving, processing, matrix inversion and finally the sqrt phase).

It is by no means a set-and-forget method since it is still in development and being improved by contributions from many people around the world. There are still bugs present and when it crashes, it takes some ingenuity to resume the calculations without too much loss of data - a typical run generating several gigabytes.

For answers to typical questions, go to the GGNFS Yahoo! Group.

• Cygwin

The software can also be run on Windows based PCs under a program called Cygwin.  This gives a command line interface to a simulated Linux shell which allows the factoring program to run.  Quoting from the Cygwin web-site:

Cygwin is a Linux-like environment for Windows.  It consists of two parts:

• Recent Factors NEW

>  Top of page  ::  Bottom of page 

Nov 19, 2009
 
10229 - 7  [32281]c222p101: 3295629325­9679429768­6565973600­3877583284­8835783382­9639276935­7257146441­6807016576­7966020917­4393486286­1 •
p122: 2651222554­7078900430­9226933393­6334141793­6176675074­7912721883­2186677970­9375923927­3128311984­8850964306­9134973196­5134143422­43
Nov 14, 2009
 
67 • 10154 - 31  [741531]c148p38: 1977067087­2949815347­4851423941­52319553 •
p47: 7031113755­9137507052­7748316162­5083225937­7569867 •
p64: 1047541994­4644491554­8915984444­8139419478­7334507393­6552743460­8811
 
22 • 10178 - 7  [731771]c178p48: 2485476055­6048092562­2741006789­2385843558­39363443 •
p62: 5225650524­2291123397­5450879836­4508483536­9273482120­4007314618­29 •
p69: 3321257583­4561057560­0565424353­8484390163­9071567290­4492677915­743077469
Nov 9, 2009
 
59 • 10173 + 31  [651729]c173p64: 4177250313­3999039451­3825341726­6710121030­0879343033­3583337380­0887 •
p109: 9231453374­8593866541­9953678703­3338094395­4295978652­4682190400­1952487028­9539100421­4328817085­6206510706­346989121
Nov 6, 2009
 
10445 + 45104c144p71: 4331791696­1866936690­6414752833­2179020228­2532112405­1666673610­6757896861­7 •
p73: 7116409073­5338446660­5871245205­7103013631­8565951075­0383915646­0195700063­973
Nov 5, 2009
 
8 • 10220 + 7  [262199]c211p63: 6090797685­0083105282­8490055657­6905212441­5278916381­7285070668­259 •
p72: 7965666408­0866432854­8424906689­8155066135­0688001676­2451255084­8288760580­99 •
p76: 2345565144­7241889071­6508124489­7249978800­1136890943­8815507254­8075040871­134977
Nov 4, 2009
 
67 • 10118 + 41  [741179]c111p51: 3941214948­1896517445­2737614446­9266956668­4307953558­9 •
p60: 5284788626­1645150974­5863971040­0786850440­9340012247­8146340481
 
67 • 10115 - 31  [741141]c92p38: 1360610051­7264678251­7355347187­02197189 •
p55: 7061142524­5316613381­6574923226­3043327688­3086487361­84639
Nov 3, 2009
 
65 • 10146 - 11  [721451]c139p36: 2280103694­9874596647­0246714367­913773 •
p104: 1062135819­5754820181­7081816883­3138699883­8914009256­7629103596­1018720373­0566466660­8287605033­6166915988­3911
 
22 • 10146 + 17  [731459]c133p62: 2784223192­7103510676­9209594731­5052957273­4085970185­3111059058­03 •
p72: 2526677432­4405775598­7225257364­7277809516­1365944384­7192687667­0407673385­23
Nov 2, 2009
 
61 • 10170 - 43  [671693]c90p35: 3821161237­3060375875­8996117075­96153 •
p56: 2008706202­9305696571­3937779327­1971109535­3116697806­519111
 
61 • 10153 - 43  [671523]c90p32: 4569335995­1345274428­8644823100­57 •
p58: 5394919918­3158466616­5487344147­4430625034­4407511429­40650701

>  Top of page 

2009: October September August July June May April March February January
2008: December November October September August July June May April March February January
2007: December November October September August July June May April March February January
2006: December November October September August July June May April
2005: November October September August July June May April March February January
2004: December November October September August July June May April March
2003: December November



(New Tab) Built With NOF Spacer (New Tab) Valid XHTML 1.0 Transitional © 2009

email

Home :: Windows 7 :: Sydney PCUG :: PIC Club :: Web Design :: Factors :: Factor Records :: Digital Photos :: Links :: Downloads