|
|
A134105
|
|
Complete list of solutions to y^2 = x^3 + 297; sequence gives x values.
|
|
7
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For corresponding y values and examples see A134104.
|
|
LINKS
|
|
|
MATHEMATICA
|
sol[x_] := Solve[y > 0 && x^3 - y^2 == -297, y, Integers];
Reap[For[x = 1, x < 10^5, x++, sx = sol[x]; If[sx != {}, xy = {x, y} /. sx[[1]]; Print[xy]; Sow[xy]]; sx = sol[-x]; If[sx != {}, xy = {-x, y} /. sx[[1]]; Print[xy]; Sow[xy]]]][[2, 1]][[All, 1]] // Sort (* Jean-François Alcover, Feb 07 2020 *)
|
|
PROG
|
(Magma) Sort([ p[1] : p in IntegralPoints(EllipticCurve([0, 297])) ]); /* adapted from A029728 */
(SageMath) [i[0] for i in EllipticCurve([0, 297]).integral_points()] # Seiichi Manyama, Aug 26 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|