I'm a beginner in number theory, I was trying to prove the divisibility rule of 19, can someone help me to complete my proof
Let $n$ be $10a + b$ where b is the unit digit and 10a is the rest; 10 is coprime to 19,
$n \equiv 0 \pmod{19} \iff a+2b \equiv 0 \pmod {19} \iff x\cdot a + x\cdot 2b \equiv 0 \pmod{19} \iff 10a + b \equiv 0 \pmod{19}$
Where it holds that $10a + b - (x\cdot a + x\cdot 2b) = 19k \space or \\ 10a + b - (x\cdot a + x\cdot 2b) \equiv 0 \pmod{19}$
but I have a problem finding the $x$ multiplier.
I've visited A divisibility rule for 19, Didn't quite understand what has been done there; and the important factor is that I want the approach I'm taking completed.
If my proof is completely meaningless etc, I'd appreciate a proof like it.
Thanks