Thread: Equation in N2
View Single Post
  #3  
Old July 3rd, 2009, 03:06 AM
malaygoel's Avatar
malaygoel malaygoel is offline
Super Member
 
Join Date: May 2006
Location: India
Posts: 640
Country:
Thanks: 38
Thanked 136 Times in 126 Posts
malaygoel has a spectacular aura aboutmalaygoel has a spectacular aura about
Send a message via Yahoo to malaygoel
Default

Quote:
Originally Posted by Prove It View Post

y = \frac{1000 - 19x}{13}.


You need to substitute an integer x in order to get an integer y.

y = \frac{1001-1 - 13x-6x}{13}

y = 77-x-\frac{1+ 6x}{13}.

The smallest value of x that will satisfy is 2. Since gcd(6,13)=1, the next next value will be 2+13=15, the next 28 and so on.

The largest value of x is less than or equal to [\frac{1000}{19}](Why?)
__________________
Keep Smiling
Malay


raah pakad tu ek chala chal, paa jayega madhushala
Reply With Quote