? e=ellinit([0,0,0,Mod(1,101),Mod(1,101)]) %1 = [Mod(0, 101), Mod(0, 101), Mod(0, 101), Mod(1, 101), Mod(1, 101), Mod(0, 101), Mod(2, 101), Mod(4, 101), Mod(100, 101), Mod(53, 101), Mod(45, 101), Mod(9, 101), Mod(34, 101), Vecsmall([3]), [101, [84, 95, [6, 0, 0, 0]]], [0, 0, 0, 0]] ? ? Help topics: for a list of relevant subtopics, type ?n for n in 0: user-defined functions (aliases, installed and user functions) 1: Standard monadic or dyadic OPERATORS 2: CONVERSIONS and similar elementary functions 3: TRANSCENDENTAL functions 4: NUMBER THEORETICAL functions 5: Functions related to ELLIPTIC CURVES 6: Functions related to general NUMBER FIELDS 7: POLYNOMIALS and power series 8: Vectors, matrices, LINEAR ALGEBRA and sets 9: SUMS, products, integrals and similar functions 10: GRAPHIC functions 11: PROGRAMMING under GP 12: The PARI community Also: ? functionname (short on-line help) ?\ (keyboard shortcuts) ?. (member functions) Extended help (if available): ?? (opens the full user's manual in a dvi previewer) ?? tutorial / refcard / libpari (tutorial/reference card/libpari manual) ?? keyword (long help text about "keyword" from the user's manual) ??? keyword (a propos: list of related functions). ? ?5 ellL1 elladd ellak ellan ellanalyticrank ellap ellbil ellcard ellchangecurve ellchangepoint ellchangepointinv ellconvertname elldivpol elleisnum elleta ellfromj ellgenerators ellglobalred ellgroup ellheegner ellheight ellheightmatrix ellidentify ellinit ellisoncurve ellj elllocalred elllog elllseries ellminimalmodel ellmodulareqn ellmul ellneg ellorder ellordinate ellperiods ellpointtoz ellpow ellrootno ellsearch ellsigma ellsub elltaniyama elltatepairing elltors ellweilpairing ellwp ellzeta ellztopoint genus2red ? ellcard(e) %2 = 105 ? for(n=1,10,if(issquare(Mod(n,101)^3+Mod(n,101)+Mod(1,101)),print(n))) 3 5 6 8 10 *** user interrupt after 0 ms ? P=[Mod(3,101),sqrt(Mod(3,101)^3+Mod(3,101)+Mod(1,101))] %4 = [Mod(3, 101), Mod(43, 101)] ? ellisoncurve(e,P) %5 = 1 ? ellpow(e,P,2) %6 = [Mod(72, 101), Mod(5, 101)] ? ellpow(e,P,3) %7 = [Mod(57, 101), Mod(57, 101)] ? elladd(e,P,%6) %8 = [Mod(57, 101), Mod(57, 101)] ? ellpow(e,P,100) %9 = [Mod(72, 101), Mod(5, 101)] ? for(n=1,105,if(ellpow(e,P,n)==[0],print(n))) 7 14 21 28 35 42 49 56 63 70 77 84 91 98 105 ? Q=[Mod(5,101),sqrt(Mod(5,101)^3+Mod(5,101)+Mod(1,101))] %11 = [Mod(5, 101), Mod(38, 101)] ? for(n=1,105,if(ellpow(e,Q,n)==[0],print(n))) 21 42 63 84 105 ? elladd(e,P,Q) %13 = [Mod(74, 101), Mod(84, 101)] ? \q