Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.5.5 (Equation $x^2 + 3y^2 + 5z^2 + 2xy + 4 yz + 6zx = 0$)
Exercise 5.5.5 (Equation $x^2 + 3y^2 + 5z^2 + 2xy + 4 yz + 6zx = 0$)
Determine whether the equation
has a nontrivial integral solution.
Answers
Proof. Put
Using formula (1) in Problem 3, we obtain
Put
Then has nontrivial integral solutions if and only if has nontrivial integral solutions.
Since every integer is a quadratic residue modulo or modulo , by Legendre’s theorem, has nontrivial integral solutions (for instance ).
Therefore, the equation has a nontrivial integral solution. □
Note: The solution of is corresponding to the solution of :
sage: A = matrix([[1,1,3],[0,2,-1],[0,0,3]]) sage: A^(-1) * matrix([[2],[1],[3]]) [-2] [ 1] [ 1]