Processing math: 100%
 
+0  
 
+1
980
4
avatar+296 

Please Give Me a detailed solution for this Question .

Find all triples of positive integers (x,y,z) satisfying 99x+100y+101z = 2009 .

 Nov 8, 2018
 #1
avatar+6251 
+1

99x+100y+101z=2009mod both sides by 100zx=9z=x+999x+100y+101(x+9)=2009200x+100y+909=2009200x+100y=11002x+y=11y=112x

 

Now y>0 so 1x5thus we have the following 5 triplets(x,y,z)=(1,9,10), (2,7,11), (3,5,12), (4,3,13), (5,1,14)

.
 Nov 8, 2018
 #2
avatar+296 
+1

Can you please explain how did that modulus function worked .

PLEASE

Darkside  Nov 8, 2018
 #3
avatar+6251 
+1

x mod 100 is just the remainder of x divided by 100

 

(99x+100y+101z)=100xx+100y+100z+z100(x+y+z)x+zwhen we mod by 100 the first part goes away since it's a multiple of 100 which leaves100(x+y+z)x+z(mod100)=x+z

Rom  Nov 8, 2018
edited by Rom  Nov 8, 2018
 #4
avatar+296 
+1

How did you got the idea to divide it by 100 .

Darkside  Nov 8, 2018

3 Online Users