Talk:Taxicab numbers: Difference between revisions

→‎Extra credit discrepancy: answers by the b-file
m (formatting tweaking)
(→‎Extra credit discrepancy: answers by the b-file)
Line 8:
 
: I don't quite fully understand what you just wrote (two things). Did you say if you swap a Python statement around, it produces the same result as the REXX extra-credit solution? The other thing I don't understand is what ''sets'' Python is counting (''sets'' of two sums of cubes?). Are you saying something about '''1+3''' is the same ''set'' as '''3+1'''? Since the REXX solution has lower numbers than the Python solution (in the 2,000 range extra-credit thingy), I suspect one reason may be that the REXX version is computing more taxicab numbers, and since they are out of order, the more taxicab numbers are generated, the more likely chance that a lower taxicab number would be found. One method of resolving this would be for me to (re-)generate the list, but this time, list all 2,007 numbers (and look for mirror sums. There shouldn't be any, but I've been wrong before (once or twice ...). By the way, a nit ... The Python is one number short. … List the 2,000<sup>th</sup> plus a half-dozen more, that is, for a total of seven highish taxicab numbers. Not worthy of a flag. I thought I had asked for an index number, but I had forgotten to include it in the task requirement (so everyone could see what the 20th taxicab number is without counting from the top). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:07, 14 March 2014 (UTC)
 
The OEIS A001235 b-file gives the extra credit answers as
<pre>
2000 1671816384
2001 1672470592
2002 1673170856
2003 1675045225
2004 1675958167
2005 1676926719
2006 1677646971
2007 1680918365
</pre>
&mdash;[[User:Sonia|Sonia]] ([[User talk:Sonia|talk]]) 16:43, 14 March 2014 (UTC)
1,707

edits