I have a doubt about systems of linear congruences: if I have solved the congruences and I have found as answers (for example) $x \cong8 \ (mod \ 12) $ and $x \cong 6 \ (mod \ 14)$, how can I find ALL the $x \in \Bbb Z$ that satisfy both equations?
I know I have two equations: $ x=8+12k$ and $x=6+14l$ , $k,l \in \Bbb Z$, but I want to list all the integers that satisfy the equations.
Thank you very much.
I like this question....but let's use the low-key method to solve this and have some fun....along the way...
From where you left off...
Goal: Solve for $k$.
Then $8 + 12k - 6 = 14l \to 12k = 14l - 2 = 12l + (2l - 2) \to k = l + \dfrac{2l - 2}{12} = l + \dfrac{l - 1}{6}$
In order for $k$ to be an integer, $6|(l - 1)$. So: $l - 1 = 6m \to l = 6m + 1 \to k = 6m + 1 + m = 7m + 1$.
So: $x = 8 + 12k = 8 + 12(7m + 1) = 84m + 20$, $m \in \mathbb{Z}$