The equation x
2 − dy2 = N, with given integers d and N, unknowns x and y, is
called as Pell equation. In the literature, there are several methods for finding the
integer solutions of Pell equation such as the Lagrange-Matthews-Mollin algorithm,
the cyclic method, Lagrange’s system of reductions, use of binary quadratic forms,
etc.