Fraction division and remainder