document.write( "Question 618737: Find all solutions in positive integers for x an y in which both x and y are less than 20 and 5x - 3y = 31.
\n" ); document.write( "How would you do this using the diophantine equations?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #389074 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi,
\n" ); document.write( "Find all solutions in positive integers for x an y in which both x and y are less than 20:
\n" ); document.write( "5x - 3y = 31.
\n" ); document.write( "Diophantine Equation
\n" ); document.write( "x = xo + pt
\n" ); document.write( "y = yo - qt
\n" ); document.write( "By trial and error (8,3) is one solution
\n" ); document.write( "x = 8 + pt
\n" ); document.write( "y = 3 - qt
\n" ); document.write( "As GCD of 5 and 3 is 1, therefore:
\n" ); document.write( "x = 8 + -3t
\n" ); document.write( "y = 3 - 5t\r
\n" ); document.write( "\n" ); document.write( "x = 8 -3t
\n" ); document.write( "y = 3 - 5t
\n" ); document.write( "t x y
\n" ); document.write( "0 8 3
\n" ); document.write( "-1 11 8
\n" ); document.write( "-2 14 13
\n" ); document.write( "-3 17 18
\n" ); document.write( " \n" ); document.write( "
\n" );