Primitive - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Primitive

test whether a polynomial is primitive mod p

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Primitive(a) mod p

Parameters

a

-

univariate polynomial

p

-

prime integer

Description

• 

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 fieldpx/a Thus, xi, for i=1..pk1 is the set of all non-zero elements in the field.

Examples

Primitivex4+x+1mod2

true

(1)

Primitivex4+x3+x2+x+1mod2

false

(2)

See Also

Irreduc

Powmod