Abstract
We derive midpoint criteria for solving Pell's equation x2-Dy2 = ±1, using the nearest square continued fraction expansion of √D. The period of the expansion is on average 70% that of the regular continued fraction. We derive similar criteria for the diophantine equation x2 - xy - (D-1) 4 y2 = ±1, where D ≡ 1 (mod 4). We also present some numerical results and conclude with a comparison of the computational performance of the regular, nearest square and nearest integer continued fraction algorithms.
Original language | English |
---|---|
Pages (from-to) | 485-499 |
Number of pages | 15 |
Journal | Mathematics of Computation |
Volume | 79 |
Issue number | 269 |
DOIs | |
Publication status | Published - 2010 |