Primitive
test whether a polynomial is primitive mod p
Calling Sequence
Parameters
Description
Examples
Primitive(a) mod p
a
-
univariate polynomial
p
prime integer
The Primitive(a) mod p command returns true if the univariate polynomial a over the integers mod p is "primitive", and false otherwise.
If a is an irreducible polynomial in ℤpx of degree k, then it is primitive if x is a primitive element in the finite fieldℤpx/a Thus, xi, for i=1..pk−1 is the set of all non-zero elements in the field.
Primitive⁡x4+x+1mod2
true
Primitive⁡x4+x3+x2+x+1mod2
false
See Also
Irreduc
Powmod
Download Help Document