First time here? Check out the FAQ!
answered 2013-01-15 15:53:54 +0100
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]