Through many operations in an exercise I've reached this point
$17≡4a+19b(mod$ $27)$
$8≡11a(mod$ $27)$
I want to find both a and b to have the answer I need, I've been trying to use the Chinese rest theorem but found it doesn't work in my case, I'm starting converting the second one into
$11a+27a≡1(mod$ $27)$
Despite this I'm not sure if is correct and I still don't know how to clear this $a$ in the second equation in order to replace it in the first.
Any help will be really appreciated
There are a number of ways to go about this. We want to be able to "divide" by $11$, so we need $8 + 27x = 11y$. Solving this linear Diophantine equation (an elementary problem, feel free to Google) gives $x = 5$ and $y = 13$ as possible solutions. Then, \begin{align} 8 &\equiv 11a \mod{27}\\ 8 + 27\cdot 5 &\equiv 11a \mod{27}\\ 13(11) &\equiv 11a \mod{27}\\ 13 &\equiv a \mod{27} \end{align} Then $a = 13 + 27k$ for some $k \in \mathbb{Z}$. You can subtract $4$ times the last congruence above from $17 \equiv 4a + 19b \mod{27}$ to get \begin{align} 17 - 4(13) &\equiv 19b \mod{27}\\ -35 &\equiv 19b \mod{27}\\ -35 + 2(27) &\equiv 19b \mod{27}\\ 19 &\equiv 19b \mod{27}\\ b &\equiv 1 \mod{27} \end{align}