Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I would like to compute the cardinality of an elliptic curve group over the finite field $\mathbb{F}_{991}$. I'm trying to use sage but I still have an error in the syntax (I never used it before and I tryed to adapt a code). Here is what I have:

sage: E = EllipticCurve(GF(991))

sage: E

Elliptic Curve defined by y^2 = x^3 + 446*x + 471 over Finite Field of order 991

Does some one know how I should modify it?

share|cite|improve this question

2 Answers 2

up vote 2 down vote accepted

This is the wrong place to ask and in future, you should ask on

To answer your question, you can find the cardinality by typing

sage: E.cardinality()

But, you need to first input your curve, say you have an elliptic curve given by $$E: y^2+a_1xy+a_3y=x^3+a_2x^2+a_4x+a_6 \text{ over } GF(p)$$

Then, do this,

sage: E=EllipticCurve(GF(p),[a_1,a_2,a_3,a_4,a_6])
sage: E.cardinality()

Hope this helped.

share|cite|improve this answer
To be far, is only available to those with a certain rep there currently, due to spammers... but I would suggest as a more appropriate venue, yes. Is it possible to migrate a question there? – kcrisman May 22 '14 at 13:16
@kcrisman works the same way as, so I don't see why OP can't ask this question there. You only need to register and you should be able to ask a question with just $1$ rep, just like the way it is here. – BlackAdder May 23 '14 at 0:28
Unfortunately, we had to close off the 1 rep threshold due to very aggressive spammers. I think it's now 10, though the plan is to go back soon. – kcrisman May 23 '14 at 0:44
@kcrisman That's a pity, and I didn't know that. Thanks for the info! – BlackAdder May 23 '14 at 2:55
I think this forum is a fine place for this question. – Álvaro Lozano-Robledo May 23 '14 at 13:46

Alternatively, you can use MAGMA online. I usually do it like this:





and MAGMA returns 984.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.