Looks a bit like Pell's equation, doesn't it? So the solution would be related to partials of the representation of sqrt(2) as a continued fraction?
Francois ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
