(a) Let a0,a1,… be positive integers, and β>0 a positive real number. Show that for every n⩾0, if θn=[a0,…,an,β], then θn=(βpn+pn−1)/(βqn+qn−1), where (pn), (qn)(n⩾−1) are sequences of integers satisfying
p0=a0,q0=1,p−1=1,q−1=0 and (pnqnpn−1qn−1)=(pn−1qn−1pn−2qn−2)(an110)(n⩾1)
Show that pnqn−1−pn−1qn=(−1)n−1, and that θn lies between pn/qn and pn−1/qn−1.
(b) Show that if [a0,a1,…] is the continued fraction expansion of a positive irrational θ, then pn/qn→θ as n→∞.
(c) Let the convergents of the continued fraction [a0,a1,…,an] be pj/qj(0⩽ j⩽n). Using part (a) or otherwise, show that the n-th and (n−1)-th convergents of [an,an−1,…,a0] are pn/pn−1 and qn/qn−1 respectively.
(d) Show that if θ=[a0,a1,…,an] is a purely periodic continued fraction with convergents pj/qj, then f(θ)=0, where f(X)=qnX2+(qn−1−pn)X−pn−1. Deduce that if θ′ is the other root of f(X), then −1/θ′=[an,an−1,…,a0].