Search results
3 hours ago · For example, for positive integers p and q, and non-square n, it is true that if p 2 − nq 2 = ±1, then p / q is a convergent of the regular continued fraction for √ n. The converse holds if the period of the regular continued fraction for √ n is 1, and in general the period describes which convergents give solutions to Pell's ...