\\ Pari/GP code for working with elliptic curve 2.2.21.1-2100.1-d6
\\ (Note that not all these functions may be available, and some may take a long time to execute.)
\\ Define the base number field:
K = nfinit(a^2 - a - 5);
\\ Define the curve:
E = ellinit([1, 0, 0, -361, 2585],K)
\\ Compute the discriminant:
E.disc
\\ Compute the norm of the discriminant:
norm(E.disc)
\\ Compute the j-invariant:
E.j
\\ Compute the torsion subgroup:
T = elltors(E); T[2]
\\ Compute the order of the torsion subgroup:
T[3]
\\ Compute the generators of the torsion subgroup:
T[3]