Pell's equation (simple solutions)
Pell's equation is any Diophantine equation of the form where
is a given positive nonsquare integer, and integer solutions are sought for
and
Denote the sequence of solutions
It is clear that
During the solution we need:
a) to construct a recurrent sequence or two sequences
b) to prove that the equation has no other integer solutions.