+0  
 
0
34
1
avatar

Find positive integers a, b, c, such that

\(\frac{a-1997}{b+6}=\frac{b+6}{c+5}=\frac{c+3}{a-2011}\)

 May 1, 2020
 #1
avatar
0

a=2012; b=1;c=1;d=(a-1997)/(b+6);e=(b+6)/(c+5) ;f=(c+3)/(a-2011);if(d==e and e==f, goto7, goto8);printd,e,f, a, b,c; a++;if(a<3000, goto3, 0);a=2012;b++;if(b<100, goto3, discard=0;a=2012;b=1;c++;if(c<100,goto 3, 0)

 

OUTPUT:  a = 2015,    b = 6,     c = 3

 May 1, 2020

36 Online Users

avatar
avatar
avatar
avatar
avatar