Ask Your Question

Implementing PARI/GP scripts

asked 2014-06-29 20:01:58 -0600

Blackadder gravatar image

updated 2015-01-14 07:04:53 -0600

FrédéricC gravatar image

Hello, I have the following gp script which I would like to use in SAGE.


This script is used to find cardinality of an elliptic curve over binary fields. I've also taken a look at

but was unable to implement either.

I thought that just copying and pasting the codes would enable me to call the functions used, but I was wrong. I'm using SAGE on VirtualBox on Windows. Any help will be appreciated!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-06-29 22:27:00 -0600

Peter Luschny gravatar image
def ecpc():''))
    return gp('ecpc(x^11+x^2+1, Mod(Mod(1,2)*(x^4+x^2+x), x^11+x^2+1))') 


Attempting to load remote file:
Loading: [..]
edit flag offensive delete link more


Thank you so much!

Blackadder gravatar imageBlackadder ( 2014-06-29 23:57:35 -0600 )edit

If it's correct, be sure to accept the answer!

kcrisman gravatar imagekcrisman ( 2014-06-30 07:58:49 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-06-29 20:01:58 -0600

Seen: 221 times

Last updated: Jun 29 '14