Fedora Packages

gap-pkg-factint

Advanced methods for factoring integers

FactInt provides implementations of the following methods for factoring integers: - Pollard's p-1 - Williams' p+1 - Elliptic Curves Method (ECM) - Continued Fraction Algorithm (CFRAC) - Multiple Polynomial Quadratic Sieve (MPQS) FactInt also makes use of Richard P. Brent's tables of known factors of integers of the form bk+/-1 for "small" b. The ECM method is suited best for finding factors which are neither too small (i.e. have less than about 12 decimal digits) nor too close to the square root of the number to be factored. The MPQS method is designed for factoring products of two primes of comparable orders of magnitude. CFRAC is the historical predecessor of the MPQS method. Pollard's p-1 and Williams' p+1 are useful for finding factors p such that all prime factors of p-1 (respectively p+1) are "small", e.g. smaller than 1000000. All factoring methods implemented in this package are probabilistic. In particular the time needed by the ECM method depends largely on luck. FactInt provides a general-purpose factorization routine which uses an appropriate combination of the methods mentioned above, the Pollard Rho routine which is implemented in the GAP Library and a variety of tricks for special cases to obtain a good average performance for "arbitrary" integers. At the user's option, FactInt provides detailed information about the progress of the factorization process.

Releases Overview

Release Stable Testing
Fedora Rawhide 1.6.3-20.fc41 -
Fedora 40 1.6.3-20.fc40 1.6.3-20.fc40
Fedora 39 1.6.3-11.fc39 -
Fedora 38 1.6.3-10.fc38 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at gap-pkg-factint dash maintainers at fedoraproject dot org.



Sources on Pagure