Search for Primitive Trinomials (mod 2)
See my
old trinomial page for an introduction
to trinomials over GF(2) and some history.
A summary of the primitive trinomials for known Mersenne exponents
is here.
Certificates
A certificate is simply a list of smallest irreducible factors for
trinomials of given degree r. In our certificates the factors are
encoded in hexadecimal.
Certificates are available for degrees
1279,
2281,
3217,
4423,
9689,
19937,
23209,
44497,
110503,
132049,
756839,
859433,
3021377,
6972593,
24036583,
25964951,
30402457,
32582657
More details are available
here,
How to check a certificate?
First download the certificate, uncompress it (gunzip ixxx.log-ext.gz),
download the check.magma program,
replace the value of r and the file name in the first lines,
then start Magma and type:
load "check.magma";
Alternatively, download the
check-ntl.c file,
compile it with NTL, and run check-ntl 32582657 < i32582657.log-ext
(for example). The check-ntl program is much faster for large exponents than
the check.magma program.
Status of new Mersenne exponents
Status of new Mersenne
exponents (those larger than 6972593):
Software
- Download the gf2x package.
gf2x is a C/C++ software package containing routines for fast
arithmetic in GF(2)[x] (multiplication, squaring, GCD)
and searching for irreducible/primitive trinomials.
- Download
irred-ntl-1.9.
This is a patch for NTL,
(version 5.3.1 or 5.3.2), which speeds up the multiplication
over GF(2)[x], in particular by implementing Toom-Cook's 3-way
algorithm.
With NTL 5.4, download
irred-ntl-1.9-5.4.
These files are distributed under the terms of the
GNU General Public
License.
Further Information
A paper is available here.
See my
old trinomial page for some history,
and also
Paul Zimmermann's page.
Richard Brent (in collaboration with Paul Zimmermann,
with CPU cycles contributed by Dan Bernstein and Tanja Lange)
Last revised 8 May 2009
Return to Richard Brent's index page