OFFSET
1,1
COMMENTS
If n is square there are at least two solutions, corresponding to x = 0 and x = -n. If n = 2^(2k) there are at least three solutions, corresponding to x = 0, x = -2^(2k), and x = 2^(6k-2) + 2^(2k). If n = 2k^2 + 2k, there is at least one solution, corresponding to x = 1.
PROG
(Sage)
for i in range(1, 31):
E=EllipticCurve([0, i, 0, 0, i])
print(len(E.integral_points()))
CROSSREFS
KEYWORD
nonn
AUTHOR
Morris Neene, Jun 20 2015
STATUS
approved