Dear forum members,

I want to know if x is an algebraic integer by  inspecting the coefficients
of its minimal polynomial using tne command
PolynomialCoefficientsOfPolynomial.

gap> p:=a^3-8*a-6;
a^3-8*a-6
gap> cc:=PolynomialCoefficientsOfPolynomial(p,a);
[ -6, -8, 0, 1 ]
gap> ForAll(cc, c->c in Integers);
false

Is there a workaround for this ?

Thanks in advance,

Marc Bogaerts
_______________________________________________
Forum mailing list
Forum@mail.gap-system.org
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to