Factors and remainders