Solving Pell's equation

Find smallest solution of Pell's equation [math]x^2-dy^2=1[/math][br]Based on "Pell's equation without irrational numbers" by Norman Wildberger https://arxiv.org/abs/0806.2490[br]d=2..1000

Information: Solving Pell's equation