Richard Graham on Fri, 26 Mar 2004 18:11:15 +0100


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

Magma <-> Pari/GP syntax ???


Greetings,

I searched the archives and looked at the documentation,
however I'm a Pari/GP newbie and not a mathematician.
Can Pari/GP perform the following Magma code?
___________________________________________________________
F:=GF(2);
P<x>:=PolynomialRing(F);
g:=x^5+x^2+1;
IsPrimitive(g);
EF<alpha>:=ext<F|g>;
EP<X>:=PolynomialRing(EF);
G:=X^2 + alpha^2*X + alpha^16;
(X^16 + alpha^2*X^15 + alpha^16*X^14 + X^5 + alpha^2*X^4 + alpha^16*X^3
+ X^2 + alpha^2*X + alpha^16) mod (G);
___________________________________________________________

Is there a primer/tutorial for doing calculations in GF(2^n)
for Pari/GP?

Thanks!
Rick

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html