I hate having to correct myself... On Fri, 28 Dec 2007 02:31:50 +0000, Steven D'Aprano wrote:
> You seem to be treating n as the number to be split into the sum of > cubes, Not quite... in your code, n appears to be the largest number to test. That is, if n is twelve, you test up to 12 cubed. > but that's not what n is supposed to be. n is the number of > distinct sums. That remains true. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list