The solution must be a lookup table since the 6th taxicab number is already greater than 2^64. If anyone find an algorithm for this, DO NOT publish here, publish a scientific paper. Researchers published a paper just about the upper bounds for the 7th to12th number for instance.
The 6th taxicab number is not even a certainty apparently http://jucs.org/jucs_9_10/what_is_the_value/Calude_C_S.pdf
not a general solution
Considering that the proof of the 6th taxicab number produced over 8GB of data and consisted of an exhaustive search over the integers up to 1e21, a truly generic solution is not really possible.
:-)
The Goldbach Conjecture, Part 2
1300 Solvers
1998 Solvers
Project Euler: Problem 7, Nth prime
537 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
280 Solvers
Back to basics 25 - Valid variable names
293 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!