Lagrange used continued fractions to solve the thousand year old Pell's equation $\displaystyle x^{2}-ny^{2}=1$. square roots can be calculate without calculators with continued fractions sqrt(2+sqrt(-2+sqrt(20))) - sqrt(2-sqrt(-2+sqrt(20))) Generalized continued fraction - Wikipedia, the free encyclopedia