Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.5.2 (Find $c$ such that the equation $-7x^2 + 15y^2 + cz^2 = 0$ has a nontrivial integral solution)
Exercise 5.5.2 (Find $c$ such that the equation $-7x^2 + 15y^2 + cz^2 = 0$ has a nontrivial integral solution)
What is the least positive square-free integer such that , and such that the equation has a nontrivial integral solution.
Answers
Proof. Put . If , then , so , thus is square-free.
- ,
- ,
- ,
then Lagrange’s theorem shows that has a nontrivial integral solution (for instance ).
For no value of less that , has a nontrivial integral solution, as verified with this Sagemath program:
a, b = -7, 15 c = 0 not_found = True while not_found: c += 1 if gcd(c, 105) == 1 and c.is_squarefree(): (u, v, w) = (Mod(- b * c, a), Mod(- c * a, b), Mod(- a * b, c)) if u.is_square() and v.is_square() and w.is_square(): not_found = False c 13
(The next suitable value is .) □