[back] [prev] [next] [index] [root]

 


IntegralPoints

Computes all integral points on an elliptic curve in normal form.

Syntax:

L := IntegralPoints(k);
L := IntegralPoints(a,b);

list
  L  
integer
  k  
integer
  a  
integer
  b  

Description:

The IntegralPoints function computes all integral points on an elliptic curve in normal form over the rational integers. The result is returned as a list of all x-y pairs solving the equation.\bigskip IntegralPoints(k) computes all integral points of Mordell's equation y^2 = x^3 + k, where k is a rational integer. In this case the {\tt IntegralPoints} function uses the algorithm described in Wi3. \medskip IntegralPoints(a,b) computes all integral points of an elliptic curve in short Weierstra\ssform y^2 = x^3 + ax + b with rational integers a,b. The computation of all integral points is reduced to another problem in which finitely many associated quartic Thue are solved Stroe1,TzWe1. \medskip


Example:

Compute all integral points of y^2 = x^3 + 17.

kash> IntegralPoints(17);
> [ [ -2, -3 ], [ -2, 3 ], [ -1, -4 ], [ -1, 4 ], [ 2, -5 ], [ 2, 5 ], 
  [ 4, -9 ], [ 4, 9 ], [ 8, -23 ], [ 8, 23 ], [ 43, -282 ], [ 43, 282 ], 
  [ 52, -375 ], [ 52, 375 ], [ 5234, -378661 ], [ 5234, 378661 ] ]


<- back[back] [prev] [next] [index] [root]