Primitive Diophantine solution (source code)

= Primitive Diophantine solution

A primitive Diophantine solution is an integer tuple satisfying the equation whose coordinates have <greatest common divisor> one. For homogeneous equations, this removes common integer scale factors.