OFFSET
1,1
COMMENTS
EXAMPLE
81 is a term because 81 = 3^4 = 3^3 + 3^3 + 3^3.
MATHEMATICA
Select[Range[10^6], And[! PrimeQ@ #, PrimePowerQ@ #, Length[PowersRepresentations[#, 3, 3] /. {0, __} -> Nothing] > 0] &] (* Michael De Vlieger, Apr 17 2016 *)
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(isprimepower(k+z^3) && !isprime(k+z^3), listput(v, k+z^3))))); Set(v);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Apr 15 2016
STATUS
approved