Ask Your Question

bonjour's profile - activity

2021-04-04 19:08:06 +0100 received badge  Student (source)
2019-06-02 12:01:38 +0100 received badge  Famous Question (source)
2017-04-29 15:25:28 +0100 received badge  Notable Question (source)
2015-06-07 22:12:00 +0100 received badge  Popular Question (source)
2013-01-15 15:13:00 +0100 asked a question Finite field extension

How can one recover the coefficients of the polynomial representation of a number field element when the number field is not prime?

In the following example,

F = GF(p)
R.<x> = F[]
K.<t>  = GF(p^2, modulus=x^2 + 1)
a = K.random_element()

say the value of a obtained is 364*t + 214.

How can I read from Sage the integer values (364, 214), I need them for manipulation, I do not want the t there.