[email protected] wrote:When positive integer k is divided by 5, the remainder is 2. When k is divided by 6, the remainder is 5. If k is less than 40, what is the remainder when k is divided by 7?
I'd like to mention that theCodeToGMAT is demonstrating a nice rule that says,
If N divided by D, leaves remainder R, then the possible values of N are R, R+D, R+2D, R+3D,. . . etc.
For example, if k divided by 8 leaves a remainder of 1, then the possible values of k are: 1, 1+8, 1+(2)(8), 1+(3)(8), 1+(4)(8), . . . etc.
When positive integer k is divided by 5, the remainder is 2.
So, the possible values of k are: 2, 2+5, 2+(2)(5), 2+(3)(5), 2+(4)(5), . . . etc.
In other words, the possible values of k are: 2, 7, 12, 17, 22, etc.
See theCodeToGMAT's solution for the rest.
Cheers,
Brent