1

Find all integers $x,y,z$ such that $6x+10y+15z=-1$.

I did this-

$6x+5(2y+3z)=-1$

$6(x+1)+5a=5$ ($a=2y+3z$)

One solution to above equation is $x+1=5,a=-5$.

General solution would be $x+1=5+5k,$ $a=-5-6k$ where $k$ is an integer.

Now $2y+3z=-5-6k$. I don't how to go ahead from here. Any hint?

Source- Challenges and thrills of pre-college mathematics.

Matteo
  • 6,581

1 Answers1

3

You can generate all solutions to this equation in the way explained below:

Clearly, $z$ is an odd integer. So assume $z=2k+1$, in which $k$ is an integer as well.

After re-writing the equation, $3x+5y+15k=-8$ therefore $3|8+15k+5y$. So, $3|2y+2$. It means that $y=3m+2$, in which $m$ is an integer too.

At the end of the computation, $3x=-8-15k-15m-10$, and $x=-5m-5k-6$. So,

$$(x,y,z)=(-5m-5k-6,3m+2,2k+1)$$

Reza Rajaei
  • 5,183