Paper 2, Section I, 1H1 \mathbf{H}

Number Theory | Part II, 2020

Let θ∈R\theta \in \mathbb{R}.

For each integer n⩾−1n \geqslant-1, define the convergents pn/qnp_{n} / q_{n} of the continued fraction expansion of θ\theta. Show that for all n⩾0,pnqn−1−pn−1qn=(−1)n−1n \geqslant 0, p_{n} q_{n-1}-p_{n-1} q_{n}=(-1)^{n-1}. Deduce that if q∈Nq \in \mathbb{N} and p∈Zp \in \mathbb{Z} satisfy

∣θ−pq∣<∣θ−pnqn∣\left|\theta-\frac{p}{q}\right|<\left|\theta-\frac{p_{n}}{q_{n}}\right|

then q>qnq>q_{n}.

Compute the continued fraction expansion of 12\sqrt{12}. Hence or otherwise find a solution in positive integers xx and yy to the equation x2−12y2=1x^{2}-12 y^{2}=1.

Typos? Please submit corrections to this page on GitHub.