P and Q are both positive integers.

P and Q are both positive integers. When P is divided by Q, the remainder is some positive integer D, and when P is divided by (Q + 5), the remainder is also D. If P/Q = 1020.75 and P/(Q + 5) = 816.6, then which of the following gives the correct set of {D, Q}?

Quiz

Answer/Solution

{15,20}

Steps/Work

p/q= d=p/q+5
d= .75 q
d= .6(q+5)
we get d = 15 and q = 20. Answer = C.