Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.3.10 ($x^2 + y^2 = z^4$ has infinitely many solutions with $(x,y,z) = 1$)
Exercise 5.3.10 ($x^2 + y^2 = z^4$ has infinitely many solutions with $(x,y,z) = 1$)
Prove that has infinitely many solutions with .
Answers
Proof. We search only the solutions such that is odd. By Problem 7,
We obtain solutions of (where ) if , that is if
Note that , thus , a fortiori .
It remains to prove that (1) has infinitely many solutions such that is odd.
First is such a solution. If is a solution of the Pell-Fermat equation
then
This shows that is also a solution of (1), and is odd if and only if is odd.
Note that is a solution of (2). If is a solution of (2), with odd, we have similarly
so is a solution of (2), where is odd. Starting from the solution of (2), we obtain recursively the solutions given by
Note that by easy induction for all , thus for all . This prove that these solutions are distinct.
Finally, we obtain the solution of (1), given by
Since , these solutions are distinct. There are infinitely many solutions of (1) such that is odd, therefore the equation has infinitely many solutions with . □
Verification with Python:
def solution(n): (u, v) = (1, 0) for i in range(n): x = u + 2 * v y = (x * x - 1) // 2 z = u + v (u, v ) = (3 * u + 4 * v, 2 * u + 3 * v) yield (x, y, z) for sol in solution(10): (x, y, z) = sol print(sol, ’=>’, x ** 2 + y ** 2 - z ** 4) (1, 0, 1) => 0 (7, 24, 5) => 0 (41, 840, 29) => 0 (239, 28560, 169) => 0 (1393, 970224, 985) => 0 (8119, 32959080, 5741) => 0 (47321, 1119638520, 33461) => 0 (275807, 38034750624, 195025) => 0 (1607521, 1292061882720, 1136689) => 0 (9369319, 43892069261880, 6625109) => 0