Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find order of an Elliptic Curve over Gaussian Integer

I am new with Sagemath. I just find out that Sagemath has Elliptic Curve Library and I curious to find out how to find order of an elliptic curve over Gaussian Integer.

p = 107927
G = ZZ[I]
J = G.ideal(p)
Q = G.quotient(J,'x')
a = Q(I)

A = (95385+100114*a)
B = (18724+61222*a)
E = EllipticCurve(Q,[A, B])
E

it will show : Elliptic Curve defined by y^2 = x^3 + (-7813I-12542)x + (-46705I+18724) over Quotient of Gaussian Integers in Number Field in I with defining polynomial x^2 + 1 with I = 1I by the ideal (107927)

E.cardinality() AttributeError: 'EllipticCurve_field_with_category' object has no attribute 'cardinality'

why it shows an error ? I found the group order is 11648283482 (using python and the program that I made from scratch)

`