Diophantine Equation Algorithm

While individual equations show a kind of puzzle and have been considered throughout history, the formulation of general theory of Diophantine equations (beyond the theory of quadratic forms) was an accomplishment of the twentieth century. In mathematics, a Diophantine equation is a polynomial equation, normally in two or more unknowns, such that only the integer solutions are seek or study (an integer solution is such that all the unknowns take integer values).

Diophantine Equation source code, pseudocode and analysis