The problem describes as:
When the even integer $n$ is divided by $7$,the remainder is $3$. What's is The remainder when $n$ is divided by $14$.
My simple solution is:
$n=7x+3$ where $x$ is odd, so, we can define $x = 2m+1$, then $n = 7(2m+1) + 3 = 14m + 7 +3= 14m + 10$. So reminder is: $10$
As I am learning the mod system and was trying to solve this problem with modulo arithmetic. But got stuck with "how to think this prob in modulo system" ie. if $$n \equiv 3 \pmod{7} $$ then $$n \equiv \ ? \pmod {14} $$
Any help regarding solving steps and learning reference would be appreciated.
Let us start with:
$$n=14m+r$$
Then, let us suppose three possibilities:
$r \lt 7$
$r = 7$
$7 \lt r \lt 14$ so we can define $r=7+r'$, where $r' \lt 7$
$$n=14m+r \pmod{7} \equiv 2\cdot 7m\pmod{7} + r \pmod{7} \equiv 0+r \equiv 3$$
Thus:
$$r=3$$
But that is not possible because it means that $n = 14m + 3$, but $14m+3$ is not even, and we know that $n$ is even, so that solution is not possible.
$$n=14m+7 \pmod{7} \equiv 2\cdot 7\pmod{7} + 7 \pmod{7} \equiv 0 \equiv 3$$
So it is impossible for the residue to be $r=7$ because $14m+7 \not \equiv 3 \pmod {7}$, the residue does not comply the premise, being $\equiv {3} \pmod{7}$, it is indeed $\equiv {0} \pmod {7}$.
$$n=14m+r \pmod{7} \equiv 2\cdot 7\pmod{7} + 7 + r' \pmod{7} \equiv 0+0+r' \equiv 3$$