magma求解极小多项式
R<x> := PolynomialRing(Integers()); g := x^6+x^4+x^3+x+1; F<f> :=PolynomialRing(GF(2)); g := F ! g; theta := RootsInSplittingField(g); theta := theta[1][1]; beta := 1+theta+theta^5; MinimalPolynomial(beta);