Talk:Taxicab numbers

From Rosetta Code

Not how Wolfram defines Taxicab numbers

In http://mathworld.wolfram.com/TaxicabNumber.html it says a Taxicab number has to be defined n ways, not just 2 ways. So at minimum, this may be a bad title. --TimToady (talk) 05:45, 14 March 2014 (UTC)

Yes, I'm aware that Wolfram's MathWorld (TM) defines taxicab numbers differently than OEIS does   (well, only in part).   OEIS also used this alternative definition as A11541.   OEIS entry A1235 is the one that is used for a model:   Taxi-cab numbers: sums of 2 cubes in more than 1 way.   I specifically noted that this (more or less) is the definition used here in this task.   If OEIS defines it thusly, I saw no reason not to use that name --- albeit there are two different definitions, but that isn't unusual to have multiple (conflicting) definitions.   The major difference is that the OEIS A1235 sequence definition omits the (non-)usage of negative numbers (for the cubes), but from the context, he (or they) only used positive integers when generating that OEIS list.   Using the OEIS A11541 definition would be beyond the scope of most programs or computers for most, I would think, the numbers almost look rarer than hen's teeth. -- Gerard Schildberger (talk) 07:17, 14 March 2014 (UTC)

Extra credit discrepancy

Extra credit answers of Python and Rexx do not agree. If you swap the commented sumcubes line in and use it instead of the line above in the Python solution I can derive exactly the same Python result by explicitly counting the sets of different ways forming the sums of two cubes. --Paddy3118 (talk) 08:42, 14 March 2014 (UTC)