$ x ≡ 5 (mod 11) $
$x ≡ 6 (mod 9) $
Which integers $x$ is between $0-300$ that fulfills this two congruences?
I think I got this right but I am not quit sure how to find all x's.
This is my solution:
$x ≡ a(mod m1): m1=11$
$x ≡ b(mod m2): m2=9$
$11u+9v=1$
$gcd(11,9)$
| u | v | | | u | v |
| 1 | 0 | 11 | 9 | 0 | 1 |
| 1 | -1 | 2 | 9 | 0 | 1 |
| 1 | -1 | 2 | 7 | -1 | 2 |
| 1 | -1 | 2 | 5 | -2 | 3 |
| 1 | -1 | 2 | 3 | -3 | 4 |
| 1 | -1 | 2 | 1 | -4 | 5 |
$u=-4, v=5$
$x=a*m2*v+b*m1*u$
$x=5*9*5+6*11*(-4) =-39$
And here is where I'm not certain if I am doing it right.
$m1*m2 = 11*9 = 99$
And to find more x's:
$k=$constant just number of times I add $m1*m2$
$-39+k*(99)$
So the x's are:
$-39+1*99=60$
$-39+2*99=159$
$-39+3*99=258$
Answer: The integers x, between $0-300$ are $60, 159, 258$.
Is this a valid answer? Is this a anwer that should work universally?