Discrete Mathematics and Its Applications, Seventh Edition

The format of these answers is $a$ div $m$, $a$ mod $m$. a) 12, 0 b) 40, 89 c) -30, -111 d) -20, -2