The number m yields a remainder p when divided by 10 and a remainder q when divided by 7. If p = q + 7, then which one of the following could be the value of m ? Choose the correct choice from the following choices:
A) 45
B) 57
C) 72
D) 85
E) 100
I solved this question in the following way:   Q&lt;7 so Q can be from 0 to 6 and P&lt;10 so P can be from 0 to 9, BUT the constraint is P=Q +7 so this will mean that P can be in the range from 7 to 9.   m=10k + P or m= 10k + 7 to 9 and look at the answer as, place different values for k, 57 will give 57 which is 10*5 + 7, the other answers are out of the range
<result>B</result>
The number m yields a remainder p when divided by 10 and a remainder q when divided by 7. If p = q + 7, then which one of the following could be the value of m ?