Answer:
Explanation:
From the information given we know that
And we know as well that
Remember what that the Chinese reminder theorem states.
Theorem:
Let p,q be coprimes, then the system of equations
has a unique solution .
Now, if you read the proof of the theorem you will notice that if
the the solution looks like this.
Now. you can easily generalize what I just stated for multiple equations and you will see that if you apply the theorem for this case it is straightforward that
Therefore, Alice is in room 51.
(b)
Using the Chinese reminder theorem you need less than 2 erasures. The process is very similar.
Explanation: