the domain is restricted to the set of positive integers, negative integers, and zero. Only one solution is asked for even if more exist.
________________________________ From: [EMAIL PROTECTED] on behalf of Stuart Bruff Sent: Thu 7/12/2007 2:46 PM To: 'Programming forum' Subject: RE: [Jprogramming] solution to a challenge problem Is the domain restricted to positive integers and zero? Stuart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howell, Leonard W. (MSFC-VP62) Sent: 12 July 2007 7:38 PM To: Programming forum Subject: [Jprogramming] solution to a challenge problem 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? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
