Pell's Equation Solver

This applet solves the Pell's Equation
X2 - N*Y2 = 1
for different values of N.

Just give the value of N and press "enter".