Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
sage: P=127
sage: F = GF(P) 
sage: R.<x> = F[]
sage: K.<t> = GF(P^2, modulus = x^2 + 1) 
sage: a = K.random_element()
sage: a.polynomial().coeffs()
[5, 42]