q is an integer and r = 0