11 Solutions and convergents
The sequence of convergents \(s(n)/t(n)\): \(s(0) = t(0) = 1\), \(s(n+1) = s(n) + 2t(n)\), \(t(n+1) = s(n) + t(n)\). All solutions of \(x^2 - 2y^2 = \pm 1\) are exhausted by these.
CF2 …
\(\begin{cases} s ( 0 ) = 1 \\ t ( 0 ) = 1 \\ n \in \mathbb{M} \Longrightarrow s ( n + 1 ) = s ( n ) + 2 \cdot t ( n ) \\ n \in \mathbb{M} \Longrightarrow t ( n + 1 ) = s ( n ) + t ( n ) \end{cases}\) Lcg …
\(n \in \mathbb{M} \Longrightarrow s ( n ) \in \mathbb{M} , t ( n ) \in \mathbb{M} , t ( n ) \neq 0 , ( s ( n ) \cdot s ( n ) = 2 \cdot ( t ( n ) \cdot t ( n ) ) + 1 \mathbin{\rm o\!r} s ( n ) \cdot s ( n ) + 1 = 2 \cdot ( t ( n ) \cdot t ( n ) ) )\) \(\blacktriangleleft\) CF2 ,\(\mathbb{W}.\) ,Axℤ ,⋅0XConversely, a solution \((x, y)\) becomes a convergent by strong induction on \(y\), the \(n\)-th one: \((1, 1)\) is \(n = 0\); otherwise descend by Lsd to a smaller solution \((u, v)\), and \((x, y) = (u + 2v, u + v)\) is the next term.
Lsol …
\(x , y \in \mathbb{M} , y \neq 0 , ( x \cdot x = 2 \cdot ( y \cdot y ) + 1 \mathbin{\rm o\!r} x \cdot x + 1 = 2 \cdot ( y \cdot y ) ) \Longrightarrow \exists n \in \mathbb{M} . x = s ( n ) , y = t ( n )\) \(\blacktriangleleft\) CF2 ,\(\mathbb{W}.\) ,Axℤ ,⋅0XSummary: with \(y \ne 0\), for natural numbers \(x, y\), \(x^2 - 2y^2 = \pm 1\) holds if and only if \((x, y)\) is some convergent \((s(n), t(n))\).
Psol …
\(x , y \in \mathbb{M} , y \neq 0 \Longrightarrow ( ( x \cdot x = 2 \cdot ( y \cdot y ) + 1 \mathbin{\rm o\!r} x \cdot x + 1 = 2 \cdot ( y \cdot y ) ) \Longleftrightarrow \exists n \in \mathbb{M} . x = s ( n ) , y = t ( n ) )\) \(\blacktriangleleft\) CF2 ,\(\mathbb{W}.\) ,Axℤ ,⋅0X