OFFSET
0,1
COMMENTS
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 0..10000
EXAMPLE
a(0) = 3 since 0 + 3^2 = 1^3 + 2^3.
a(2) = 3703 since 2 + 3703^2 = 107^3 + 232^3.
a(3) = 5 since 3 + 5^2 = 1^3 + 3^3.
a(4) = 43 since 4 + 43^2 = 5^3 + 12^3.
a(37) = 2373 since 37 + 2373^2 = 93^3 + 169^3.
a(1227) = 132316 since 1227 + 132316^2 = 1874^3 + 2219^3.
MATHEMATICA
CQ[n_]:=CQ[n]=IntegerQ[n^(1/3)]
Do[x=1; Label[bb]; Do[If[CQ[n+x^2-y^3], Print[n, " ", x]; Goto[aa]], {y, 1, ((n+x^2)/2)^(1/3)}]; x=x+1; Goto[bb]; Label[aa]; Continue, {n, 0, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 24 2015
STATUS
approved