[GAP Forum] Help needed with function Factors

Jaco Versfeld Jaco.Versfeld at wits.ac.za
Thu Mar 18 20:49:28 GMT 2010


Hi There,

I want to factor a polynomial in GF(2^3).

After I started GAP, I type the following commands (with outputs):

gap> f := GF(8);
GF(2^3)
gap> y := Indeterminate(f);
x_1
gap> pol := y^7 + Z(2)^0;
x_1^7+Z(2)^0
gap> Factors(pol);
[ x_1+Z(2)^0, x_1^3+x_1+Z(2)^0, x_1^3+x_1^2+Z(2)^0 ]


However, I expect the result to be all the non-zero elements in GF(2^3).  What am I missing?
(How can I evaluate p for Z(2^3)^2, for instance?)


Your time, effort and suggestions will be greatly appreciated
Jaco


_______________________________
Jaco Versfeld
Lecturer
Centre for Telecommunications Access and Services
School of Electrical and Information Engineering
University of the Witwatersrand
Johannesburg

Tel:         +27-11-717-7212
Email:     jaco.versfeld at wits.ac.za
web:      http://dept.ee.wits.ac.za/~versfeld


<html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html>


More information about the Forum mailing list