Pell's equations