Ask Your Question

ed's profile - activity

2021-03-08 18:39:11 +0200 received badge  Popular Question (source)
2020-02-07 21:03:21 +0200 commented answer Find order of an Elliptic Curve over Gaussian Integer

Wow, Thank you very much !

2020-02-07 19:13:42 +0200 received badge  Supporter (source)
2020-02-07 10:10:21 +0200 received badge  Student (source)
2020-02-07 08:18:05 +0200 asked a question 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)

`

2020-01-25 18:24:55 +0200 commented answer how to define Ring of gaussian integers modulo n?

Thank you !

2020-01-25 18:23:03 +0200 received badge  Scholar (source)
2020-01-21 22:03:34 +0200 asked a question how to define Ring of gaussian integers modulo n?

how to define Ring of gaussian integers modulo n? modulo operation defined as :

def modGI(x,n): 
    import math
    E=(x*n.conjugate())/(n*n.conjugate())
    return x-complex(math.floor(E.real),math.floor(E.imag))*n
2020-01-21 22:03:34 +0200 asked a question Ring of gaussian integers modulo n

how to define Ring of gaussian integers modulo n? modulo operation define as :

def modGI(x,n): import math E=(x*n.conjugate())/(n*n.conjugate()) return x-complex(math.floor(E.real),math.floor(E.imag))*n