Solving the Pell Equation (CMS Books in Mathematics)