Program mwrank: uses 2-descent (via 2-isogeny if possible) to
determine the rank of an elliptic curve E over Q, and list a
set of points that generate E(Q) modulo 2E(Q).
and finally saturate to obtain generating points on the curve.
For more details see the mwrank documentation.
For details of algorithms see the author's book.

Please acknowledge use of this program in published work, 
and send problems to john.cremona@gmail.com.

eclib version 20250627, using NTL bigints and NTL real and complex multiprecision floating point
Using multiprecision floating point with 50 bits precision.
Enter curve: Curve [0,-13,0,40,16] :	Working with minimal curve [0,-1,0,-16,32] via [u,r,s,t] = [1,4,0,0]
Basic pair: I=49, J=-718
disc=-44928
2-adic index bound = 2
After 2-adic refinement (case 2); 2-adic index = 2
2-adic index = 2
Two (I,J) pairs
Looking for quartics with I = 49, J = -718
Looking for Type 3 quartics:
Trying positive a from 1 up to 2 (square a first...)
(1,0,-1,4,4)	--trivial
(1,2,-1,0,4)	--trivial
Trying positive a from 1 up to 2 (...then non-square a)
(2,4,-1,-2,1)	--trivial
Finished looking for Type 3 quartics.
Looking for quartics with I = 784, J = -45952
Looking for Type 3 quartics:
Trying positive a from 1 up to 9 (square a first...)
(1,0,-22,32,25)	--nontrivial...(x:y:z) = (1 : 1 : 0)
Point = [4:4:1]
	height = 0.078785465696305
Doubling global 2-adic index to 2
global 2-adic index is equal to local index
so we abort the search for large quartics
Rank of B=im(eps) increases to 1
Exiting search for large quartics after finding enough globally soluble ones.
Mordell rank contribution from B=im(eps) = 1
Selmer  rank contribution from B=im(eps) = 1
Sha     rank contribution from B=im(eps) = 0
Mordell rank contribution from A=ker(eps) = 0
Selmer  rank contribution from A=ker(eps) = 0
Sha     rank contribution from A=ker(eps) = 0

Used full 2-descent via multiplication-by-2 map
Rank = 1
Rank of S^2(E)  = 1

Searching for points (bound = 8)...done:
  found points which generate a subgroup of rank 1
  and regulator 0.078785465696305
Processing points found during 2-descent...done:
  now regulator = 0.078785465696305
Saturating (with bound = 1000)...done:
  points were already saturated.
Transferring points from minimal curve [0,-1,0,-16,32] back to original curve [0,-13,0,40,16]

Generator 1 is [8:4:1]; height 0.078785465696305

Regulator = 0.078785465696305

The rank and full Mordell-Weil basis have been determined unconditionally.
 (0.35005 seconds)
Enter curve: 
