DeRhamComputation/sage/superelliptic/tests/a_number_test.sage

5 lines
145 B
Python

F = GF(67)
P.<x>= PolynomialRing(F)
X = HyperellipticCurve(x^7 + x^3 + x)
C = superelliptic(x^7 + x^3 + x, 2)
print(X.a_number() == C.a_number())