Josef Eschgfaeller on Tue, 30 Dec 2014 00:11:23 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Conversion to field element


Trying to calculate sqrt(11) in GF(289),
is this the right way of conversion of
11 to an element of the field?

Thanks
Josef Eschgfaeller
--------------------------------------------------
p=17; p2=p^2
t=ffgen(p2,'t)
eleven=11+0*t \\ Correct conversion?
r=sqrt(eleven)
print(r) \\ 5*t+11
print(r^2) \\ 11