View Single Post
  #3  
Old January 2nd, 2009, 10:03 PM
icemanind icemanind is offline
Newbie
 
Join Date: Jan 2009
Posts: 3
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
icemanind is on a distinguished road
Default

Quote:
Originally Posted by Mush View Post
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!
Reply With Quote