franz711
If p and q are positive integers such that when they are divided by 5, the remainder is 3 for each; and when they are divided by 9, the remainder is 4 for each. If q>p, then which of the following must be a factor of q - p ?
A) 12
B) 20
C) 27
D) 36
E) 45
When p is divided by 5, the remainder is 3: p= 5m + 3, so it can be 3, 8,
13, 18, ...
When p is divided by 9, the remainder is 4: p= 9n + 4, so it can be 4,
13, 22, 31, ...
There is a way to derive general formula for p (of a type p = kx + r, where x is divisor and r is a remainder) based on above two statements:Divisor x would be the least common multiple of above two divisors 5 and 9, hence x=45.
Remainder r would be the first common integer in above two patterns, hence r = 13.
Therefore general formula based on both statements is p = 45x + 13. (check
HERE to know to to derive general formula from these two)
Similarly, general formula for q will be 45y + 13.
q - p = (45y + 13) - (45x + 13) = 45(y - x).
Answer: E.