Exercise · ZW-PELL-S-EQUATION-007 · ★★☆ Intermediate
Compute the convergent \(p/q\) of the continued fraction of \(\sqrt{2}\) that gives the solution of \(x^2-2y^2=1\).
Choose one option.
Show answer
- C. \(3/2\)
Exercise · ZW-PELL-S-EQUATION-007 · ★★☆ Intermediate
Choose one option.
The continued fraction of \(\sqrt{2}\) is \([1;\overline{2}]\), with convergents \(1, 3/2, 7/5,\dots\). The convergent \(3/2\) gives \(3^2-2\cdot 2^2=1\). The \(1/1\) is just the first term.
Pell's equation is the quadratic Diophantine equation in integers \(x\), \(y\) that sets equal to 1 the difference between \(x^2\) and \(d\) times \(y^2\), where \(d\) is a positive integer that is not a perfect square.