System of three linear congruences with three variables
I have the following system
I'm still fairly new to this so I would like anyone so verify my solution.
First, I multiplied equations 2 and 3 by 5, it's a regular transformation because 5 and 34 are coprime. After that, the coefficient next to x in the second equation is 80, and the coefficient of x in the third equation is 70, both of which are a multiply of 5 so we can eliminate them using the first equation.
Hence we get
Next, I multiplied the third equation by 55. It is a regular transformation because 55 and 34 are coprime. The coefficient of y in the third equation is -13475, which is a multiple of -275, so we can eliminate it by multiplying the second equation by -49 and adding it to the third equation.
Now we are left with . If we multiply this equation by -1 and reduce the coefficients (because they are larger than the modulus) we get
We have two typical solutions, , .
Now, I proceeded to plug in both values of z gradually and I got two solutions:
, ,
and , ,
NOTE: I omitted the process of plugging both values of z one by one into the equations because I'm fairly sure I know how to proceed from there. I'm interested in knowing if my method of reducing the system to one equation with one variable is correct or not.
EDIT: After plugging in both sets of solutions, I get that both sets satisfy equations (1) and (2), but in both cases of solutions I get that the third equation ends up being which is false. Where did I go wrong?