Let $n=10x+y$ where $n$, $x$ and $y$ are positive integers. Prove that $n$ is divisible by $13$ iff $x+4y$ is divisible by $13$.
I let $n=13k$, thereafter mutliplied $x+4y$ by $10$, to get $10x+40y$ and $n=10x+y$. Subtract the two to get $39y$ which is clearly divisible by $13$, but I don't know how to structure this proof.