A number when divided by a divisor leaves $27$ remainder. Twice the number when divided by the same divisor leaves a remainder $3$. Find the divisor.
My attempt: Let, the number be=$n$ and the divisor be=$d$.
Thus, we have $n\equiv 27\pmod d$ and $2n\equiv 3\pmod d$.
Thus we have two congruence equations. Can we, by any chance, apply the Chinese Remainder theorem to find $d$?
Hint: We have $2n\equiv 54\pmod{d}$.