Quote:
Originally Posted by fivemack
If you were stepping along the two sequences in perfect sequence, it's just a problem in quadratic equations; but the variable stepping rates make it much more difficult.
You're looking for a point on the conic Y^2N=X^2, and there are good ways to do this iff you know the factorisation of N :)

Thanks fivemack! This gives me an area for my next study...