On Finite Sums and Integral Representations