Ask Your Question

Revision history [back]

Actually 1 is a generator of the Field K if q is prime, since K is the smallest field containing 1.

If you want a generator of the multiplicative group K^*, you can do:

sage: K.multiplicative_generator()

Actually 1 is a generator of the Field K if q is prime, since K K is the smallest field containing 1.

If you want a generator of the multiplicative group K^*, you can do:

sage: K.multiplicative_generator()

Actually 1 is a generator of the Field kield K if q is prime, since K is the smallest field containing 1.

If you want a generator of the multiplicative group K^*, you can do:

sage: K.multiplicative_generator()