I am confused on how to go forward with solving this question. It is:
If a number x is divided by 5, it leaves a remainder of 3. If x is divided by 7, it leaves a remainder of 2. If x is divided by 3, it leaves a remainder of 1. What is x?
My method is that I check the units digits of each multiple, so in this case, the units digit of the number can only be equal to 8. It's because a multiple of 5 plus 3 either ends in 8 or 3, but a multiple of 3 plus 1 cannot end in 3. I then brute force using other values that the question give.
I have already solved it to 58 (I think it is right), but I am looking for a quicker method than my previous one.