Pell's equation solver

Pell's equation solver