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
|
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: Conversion to field element
- From: Josef Eschgfaeller <esg@unife.it>
- Date: Tue, 30 Dec 2014 00:11:12 +0100
- Delivery-date: Tue, 30 Dec 2014 00:11:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unife.it; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=b4n+2GROJZTpFbuG99Psxkc/6fqU5w+RGTCyi2W6QK0=; b=M7bFmoc7YP+2w0/tsqmaaiRZEtGykRXnkH2S3Xtroe1kfEm6Zxk5bT3vIm1AV1UMmq 4z8bZtyWeOd+cYPzyd3YAUkhYRgg3li4Gtgc4UjifEUorwBwp0FrI0pn3Ns1s0WJ+7/8 66842IQpHKzgzLgGIiWZkL3L/CBXcDIw1IN0Q=
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