login
Integers x > 0 such that x^3 + y^3 = z^2 for some y > 0, z > 0, and gcd(x,y) = 1.
3

%I #38 Sep 08 2022 08:45:16

%S 1,2,11,23,37,56,57,65,112,122,193,217,242,305,312,433,592,781,851,

%T 877,889,913,1001,1064,1177,1201,1346,1376,1617,1633,1706,1729,1801,

%U 1953,1960,1969,2137,2162,2184,2257,2345,2480,2543,2920,3071,3081,3482,3641,3889,4019

%N Integers x > 0 such that x^3 + y^3 = z^2 for some y > 0, z > 0, and gcd(x,y) = 1.

%H F. Beukers, <a href="http://dx.doi.org/10.1215/S0012-7094-98-09105-0">The Diophantine equation Ax^p+By^q=Cz^r</a>, Duke Math. J. 91 (1998), 61-88.

%H H. Darmon and A. Granville, <a href="http://www.dms.umontreal.ca/~andrew/PDF/superelliptic.pdf">On the equations z^m=F(x,y) and Ax^p+By^q=Cz^r</a>, Bull. Lond. Math. Soc., 27 (6) (1995) 513, Sect 7.2.

%e x=11, y=37, 11^3 + 37^3 = 228^2. 11 is the third entry in the list.

%e The pairs [x,y] = [a(n),a(?)] for the first few terms are [1, 2], [2, 1], [11, 37], [23, 1177], [37, 11], [56, 65], [57, 112], [65, 56], [112, 57], [122, 1201], [193, 3482], [217, 312], [242, 433]. [_Joerg Arndt_, Sep 30 2012]

%t (* This program uses z-values from A099426 b-file. To get 50 terms, the first 200 z-values suffice, the result being the same with the whole b-file of 300 z-values. *)

%t terms = 50;

%t zz = Import["https://oeis.org/A099426/b099426.txt", "Table"][[1 ;; 4 terms, 2]];

%t r[z_] := {x, y, z} /. ToRules[Reduce[GCD[x, y] == 1 && 0<x<y && x^3 + y^3 == z^2, {x, y}, Integers]];

%t xyz = r /@ zz;

%t Union[Flatten[xyz[[All, 1 ;; 2]]]][[1 ;; terms]] (* _Jean-François Alcover_, Jun 13 2019 *)

%o (Magma) [ k : k in [1..100] | exists{P : P in IntegralPoints(EllipticCurve([0,k^3])) | P[1] gt 0 and P[2] ne 0 and GCD(Integers()!P[1],k) eq 1} ]; // Geoff Bailey

%o (Sage) # apparently inefficient as of version 5.2

%o def is_A103255(n):

%o E = EllipticCurve([0, n^3])

%o E.gens(descent_second_limit=16);

%o for p in E.integral_points():

%o if p[0] > 0 and p[1] > 0 and gcd(p[1], n) == 1:

%o return true

%o return false

%o [n for n in (1..60) if is_A103255(n)]

%o # _Peter Luschny_, Sep 29 2012

%o (PARI)

%o is_A103255(x, lim)=

%o { /* Warning: just how big lim has to be is unclear */

%o my(x3=x^3);

%o for (y=1, lim,

%o if ( gcd(x,y) != 1, next() );

%o if ( issquare(x3+y^3), return(1) );

%o );

%o return(0);

%o }

%o /* Using lim=10^6 reproduces all terms <= 1000: */

%o for (n=1,1000, if( is_A103255(n, 10^6), print1(n,", ")) );

%o /* _Joerg Arndt_, Sep 30 2012 */

%Y Cf. A099426 (values of z).

%K nonn,more

%O 1,2

%A _Cino Hilliard_, Mar 20 2005

%E Recomputed and extended by Geoff Bailey (geoff(AT)maths.usyd.edu.au) using MAGMA, Jan 28 2007

%E a(9)-a(10) from _Jonathan Vos Post_, May 27 2007

%E a(11)-a(16) from _Vincenzo Librandi_, Dec 21 2010

%E a(17)-a(22) from _Joerg Arndt_, Sep 30 2012

%E a(23)-a(50) from _Jean-François Alcover_, Jun 12 2019