Integral representations of remainders