Basis of extension
Assume that q is a power of a prime number. Consider the field extension Fq⊂Fqn . Both fields can be thought as subfields of the algebraic closure of Fp, defined with
K=GF(p).algebraic_closure()
The question is: Is it possible to compute a basis of Fqn over Fq ? Or at least to have something in the spirit of
K.<x1,...,xn>=GF(q)[]
which can be done when q is prime?
What do you mean by a basis? Suppose you have
sage: K = GF(q,'a')
. Then you can typesage: (L,f) = K.extension(2,'b',map=True)
to get inL
the finite field with q^2 elements, defined as an extensionK
. Andf
gives you the embedding ofK
insideL
.I am interested in finding n elements of Fqn linear-independent over Fq, even when q is not prime.