[math-fun] Solving polynomial diophantine equations