Solving the Pell equation | lit.salon