Factorization of polynomials over finite fields: Difference between revisions

Content deleted Content added
Line 268:
<math>h:=x^{q^{n_i}}-x \bmod f</math>;
''g'' := gcd(''f'', ''h'');
'''if''' ''g'' ≠ 1, '''then return''' '''f'' is reducible' '''and STOP''';
'''end for''';
<math>g:= x^{q^{n}}-x \bmod f</math>;
'''if''' ''g'' = 0, '''then return''' "''f'' is irreducible",
'''else return''' "''f'' is reducible"
'''end.'''