Quotient and Remainder Computation