Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.8.2 (If $x^2 - dy^2 = N$ has one solution, then it has infinitely many)
Exercise 7.8.2 (If $x^2 - dy^2 = N$ has one solution, then it has infinitely many)
Suppose that is a nonzero integer. Prove that iIf has one solution, then it has infinitely many.
Answers
Proof. Here is a positive integer which is not a perfect square.
Suppose that has an integer solution (then ). Since , we may assume that and (but ).
By Theorem 7.25, there exist positive integers and such that and . We define the integers and by . Then , and . Therefore
So
is a solution of for every .
We must prove that there are infinitely many such solutions.
Since , we obtain
Here and , thus for every ,
so the sequences and are strictly increasing.
Let be two positive integers such that , and assume for the sake of contradiction that . By (1),
therefore
Moreover , so . Hence
that is
If , then the integer is the square of a rational number, hence is a perfect square, in contradiction with the hypothesis. Hence and , so
But the sequences and are strictly increasing thus and . This contradiction shows that
Therefore the solutions of are distinct.
If has one solution, then it has infinitely many. □