Ask Your Question

Implementing PARI/GP scripts

asked 2014-06-30 03:01:58 +0200

Blackadder gravatar image

updated 2015-01-14 14:04:53 +0200

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-30 05:27:00 +0200

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-30 06:57:35 +0200 )edit

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

kcrisman gravatar imagekcrisman ( 2014-06-30 14:58:49 +0200 )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-30 03:01:58 +0200

Seen: 357 times

Last updated: Jun 30 '14