If the $5$ digit number $538xy$ is divisible by $3,7$ and $11,$ find $x$ and $y$ .
How to solve this problem with the help of modulus operator ?
I was checking the divisibility for 11, 3:
$5-3+8-x+y = a ⋅ 11$ and $5+3+8+x+y = b⋅3$ and I am getting more unknowns ..
From modulus 11,
$$ 53800 + 10x + y \equiv 5 - 3 + 8 - x + y \equiv -1-x+y \equiv 0 \pmod {11}\\ \implies y\equiv 1+x \pmod {11} $$ but $y$ and $x$ are digits, so $0\le y\le 9$ and $1\le 1+x \le 10$, so it must hold that $y=1+x$.
From modulus 3, $$ 53800 + 10x + y \equiv 5 + 3 + 8 + x + (x+1) \equiv 2+2x \equiv 0 \pmod {3}\\ \implies x\equiv -1 \pmod {3} $$ so $x=2,5,8$.
Eventually, from modulus 7, $$ 53800 + 10x + y \equiv 5 + 3x + (x+1) = 6+4x \equiv 0 \pmod {7}\\ \implies x\equiv 2 \pmod {7} $$ so $x=2,9$.
The only choice is thus $x=2$, $y=3$.