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?
This is the wrong place to ask and in future, you should ask on ask.sagemath.org.
To answer your question, you can find the cardinality by typing
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,
Hope this helped.