OFFSET
1,1
REFERENCES
H. Davenport, Sums of three positive cubes, J. London Math. Soc., 25 (1950), 339-343. Coll. Works III p. 999.
LINKS
EXAMPLE
An example of repetition: 251 shows twice, because 251 = 1^3+5^3+5^3 = 2^3+3^3+6^3. [Jean-François Alcover, Jul 31 2013]
MATHEMATICA
m = 8; Sort[Select[Flatten[Table[x^3 + y^3 + z^3, {x, 1, m}, {y, x, m}, {z, y, m}]], # <= m^3 + 2 &]] (* T. D. Noe, Jul 30 2013 *)
max = 500; pr = Table[ PowersRepresentations[n, 3, 3], {n, 1, max}] // Flatten[#, 1]& // Select[#, Times @@ # != 0 &]&; Total[#^3] & /@ pr (* Jean-François Alcover, Jul 31 2013 - replaced my previous incorrect code *)
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
EXTENSIONS
Corrected by David W. Wilson, May 15 1997
Inserted a second 251 from T. D. Noe, Jul 30 2013
STATUS
approved