Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.8.8 (Least positive solution of $x^2 - 18y^2 = \pm 1$)
Exercise 7.8.8 (Least positive solution of $x^2 - 18y^2 = \pm 1$)
Given , find the least positive solution of (if any) and of .
Answers
Proof. Using (7.13), we obtain
where , , ,
Since , the algorithm is done, which gives
Since the length of the period is even, we know by Theorem 7.25 that is not solvable.
We find the convergents by 7.6:
| -2 | -1 | 0 | 1 | 2 | |
| 4 | 4 | 8 | |||
| 0 | 1 | 4 | 17 | ||
| 1 | 0 | 1 | 4 |
Since , by Theorem 7.25, the least positive solution of is :
(See Problem 9 for a Python program). □