The general Taxicab equation is:
To eliminate duplicates and trivial solutions, the additional constraints
To solve this equation algorithmically, an upper bound
In Enumerating solutions to p(a) + q(b) = r(c) + s(d) Daniel J. Bernstein describes a solution to this problem. He proposes to replace the table with a minimal heap that is iteratively updated and therefore contains only
(c) Mia Müßig