I am trying to remember a formula from high school about nested square roots. It goes something like this:
$\sqrt{\frac{a+\sqrt{b}}{c}} = \sqrt{\frac{?}{?}} \pm \sqrt{\frac{?}{?}} $
This formula is supposed to eliminate nested squares, so there are only a,b,c inside squares on right side. I also remember calling it Lagrange formula (not sure).