What is the best way to go about solving an equation like this, where D is a known value, and x and y are variables?
Thanks,
Patrick
Google "Pell's equation" to learn a little about these equations, which in general have no trivial solution and require some thorough knowledge of some rather nice quadratic number fields and their integer rings.