Solving Pell's equation means to find integer solutions (x,y)
for the Diophantine equation $$x^2 - d\,y^2 = 1$$ for \(d\) a
non-square integer. These solutions are important in number theory and
for the theory of quadratic number fields.
The procedure goes as follows: First find the periodic continued
fraction for \(\sqrt{d}\), then determine the convergents of this
continued fraction. The last pair of convergents will provide the
solution for Pell's equation.
The solution found is the minimal or fundamental solution.
All other solutions can be derived from this one -- but the numbers
grow up very rapidly.