[Jprogramming] solution to a challenge problem

Howell, Leonard W. (MSFC-VP62) Leonard.W.Howell at nasa.gov
Fri Jul 13 02:37:35 HKT 2007


I'm at a Mathematica workshop and the class was given this challenge problem:
 
Find integers a,b,c,d such that a^3 + b^3 + c^3 +d^3 =31
 
and in general, write a program to give the solutions to a^3 + b^3 + c^3 +d^3 =k, k=1,..., 350.
 
Of course, some will be the empty set.
 
Anyone have an approach for this problem?


More information about the Programming mailing list