Quadratic and bilinear equations Diophantine equations mathematics