Previous Up Next

11.8.14  Factoring over ℤ/pℤ[x]

The factor command factors polynomials with coefficients in ℤ/pℤ. (See also Section 9.1.10.)

Example

factor((-3*x^3+5*x^2-5*x+4)%13)
     
⎛
⎝
⎛
⎝
−3⎞
⎠
%13⎞
⎠
⎛
⎝
⎛
⎝
1%13⎞
⎠
x+⎛
⎝
−6⎞
⎠
%13⎞
⎠
⎛
⎝
⎛
⎝
1%13⎞
⎠
x2+6%13⎞
⎠
          

Previous Up Next