OFFSET
1,1
COMMENTS
EXAMPLE
6 is a term because 6^2 = 1^3 + 2^3 + 3^3.
9 is a term because 9^2 = 3^3 + 3^3 + 3^3.
15 is a term because 15^2 = 1^3 + 2^3 + 6^3.
PROG
(PARI) list(lim) = my(v=List(), k, t); lim\=1; for(x=1, sqrtnint(lim-2, 3), for(y=1, min(sqrtnint(lim-x^3-1, 3), x), k=x^3+y^3; for(z=1, min(sqrtnint(lim-k, 3), y), if(issquare(k+z^3), listput(v, round(sqrt(k+z^3))))))); Set(v);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Apr 15 2016
STATUS
approved