\\ Pari/GP code for working with elliptic curve 3.3.316.1-16.1-a1 \\ (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(Polrev([2, -4, -1, 1])); \\ Define the curve: E = ellinit([Polrev([-2,0,1]),Polrev([-3,-1,1]),Polrev([-2,0,1]),Polrev([9,2,-3]),Polrev([2,3,-2])], K); \\ Compute the conductor: ellglobalred(E)[1] \\ Compute the norm of the conductor: idealnorm(ellglobalred(E)[1]) \\ 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[1] \\ Compute the generators of the torsion subgroup: T[3]