1

When I type this equation ($6x + 25 = 7y$) into WolframAlpha, it is able to tell me that the integer solution for this equation is:

$x = 7n + 4$, $y = 6n + 7$, where n in the set of all integers

How can I arrive at this solution on my own?

nonuser
  • 90,026

1 Answers1

1

Since $6\mid 6y-24$ and $6\mid 7y-25$ we have $$6\mid (7y-25)-(6y-24)=y-1$$

Thus $y-1 = 6t$ for some integer $t$, so $\boxed{y= 6t+1}$ and pluging in $6x+25=7y$ we get: $$6x+25 =42t+7\implies \boxed{x= 7t-3}$$


It looks on first sight that I got different solution, but that is not true.

Puting $n=t-1$ we get $$ y=6t+1= 6(t-1)+7=6n+7$$ and $$x= 7(t-1)+4=7n+4$$

nonuser
  • 90,026