OFFSET
1,1
COMMENTS
If 12*h-75 is a square then some values of 5*h are in this sequence. It is easy to verify that h is of the form 3*m^2-3*m+7, and therefore 5*(3*m^2-3*m+7) = (3-m)^3+(m+2)^3.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
upto[n_] := Block[{t}, Union@ Reap[ Do[If[Mod[t = x^3 + y^3, 5] == 0, Sow@t], {x, n^(1/3)}, {y, Min[x, (n - x^3)^(1/3)]}]][[2, 1]]]; upto[10000] (* Giovanni Resta, Jun 12 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 10 2013
STATUS
approved