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 = 2^3 + 1^4.
a(2) = 302 since 2 + 302^2 = 45^3 + 3^4.
a(3) = 5 since 3 + 5^2 = 3^3 + 1^4.
a(38) = 1362 since 38 + 1362^2 = 121^3 + 17^4.
a(394) = 110307 since 394 + 110307^2 = 2283^3 + 128^4.
a(5546) = 945840 since 5546 + 945840^2 = 9625^3 + 233^4.
MATHEMATICA
CQ[n_]:=CQ[n]=IntegerQ[n^(1/3)]
Do[x=1; Label[bb]; Do[If[CQ[n+x^2-y^4], Print[n, " ", x]; Goto[aa]], {y, 1, (n+x^2-1)^(1/4)}]; x=x+1; Goto[bb]; Label[aa]; Continue, {n, 0, 60}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 28 2015
STATUS
approved