Quote:
Originally Posted by Mush So you're asking us to solve an equation with 2 variables?
Well, if X and Y are restricted to integer values then your equation is a linear diophantine equation, and these can be solved using the Euclidean Algorithm. Do you know the algorithm? |
X and Y are both integer. And no, I don't know that algorithm. Please explain it!